Hi. I am also having a standard deviation problem. When I try to calculate the sandard deviation of the numbers below with the suggested algorithm, I run into square root of a negative number. The algorithm does work for some data sets, but neither this one or 8 others. Does anybody have any suggestions?
Thanks.
ROI_z_cur-100.72-100.72-100.75-100.73-100.73-100.7-100.69-100.72-100.71-100.73-100.71-100.72-100.72-100.72-100.73-100.7-100.73-100.72-100.7-100.73-100.74-100.74-100.72-100.71-100.73-100.74-100.75-100.74-100.77-100.72-100.74-100.72-100.74-100.72-100.73-100.69-100.73-100.73-100.75-100.72-100.71-100.73-100.71-100.73-100.71-100.72-100.7-100.72-100.71-100.73-100.71-100.73-100.71-100.72-100.72-100.74-100.73-100.75-100.73-100.72-100.69-100.73-100.7-100.72-100.74-100.73-100.72-100.73-100.71-100.72-100.72-100.72-100.72-100.73-100.73-100.73-100.75-100.73-100.74-100.73-100.72-100.74-100.73-100.72-100.72-100.74-100.74-100.73-100.73-100.74-100.71-100.72-100.71-100.72-100.72-100.74-100.72-100.74-100.71-100.74-100.74-100.73-100.73-100.73-100.73-100.72-100.74-100.73-100.71-100.72-100.72-100.72-100.73-100.72-100.71-100.71-100.7-100.73-100.73-100.73-100.72-100.72-100.74-100.74-100.73-100.74-100.73-100.71-100.71-100.73-100.72-100.73-100.74-100.72-100.73-100.72-100.71-100.73-100.73-100.74-100.74-100.73-100.73-100.73-100.73-100.73-100.74-100.73-100.71-100.73-100.74-100.73-100.74-100.72-100.71-100.73-100.7-100.73-100.75-100.72-100.74-100.75-100.74-100.69-100.72-100.7-100.72-100.7-100.72-100.73-100.71-100.73-100.71-100.72-100.72-100.73-100.73-100.72-100.74-100.73-100.72-100.72-100.73-100.72-100.74-100.73-100.71-100.74-100.76-100.74-100.74-100.72-100.73-100.74-100.7-100.71-100.75-100.73-100.74-100.73-100.73-100.73-100.72-100.72-100.72-100.72-100.71-100.73-100.72-100.73-100.72-100.73-100.72-100.73-100.73-100.74-100.72-100.72-100.72-100.73-100.72-100.71-100.73-100.73-100.72-100.72-100.72-100.72-100.72-100.74-100.7-100.73-100.71-100.74-100.73-100.74-100.73-100.72-100.72-100.71-100.71-100.73-100.73-100.74-100.74-100.72-100.74-100.7-100.73-100.73-100.71-100.71-100.74-100.73-100.74-100.73-100.74-100.74-100.73-100.72-100.73-100.74-100.73-100.73-100.73-100.73-100.73-100.72-100.73-100.72-100.72-100.72-100.72-100.7-100.75-100.74-100.71-100.74-100.73-100.72-100.73-100.74-100.72-100.74-100.73-100.73-100.71-100.73-100.74-100.71-100.73-100.71-100.72-100.73-100.73-100.7-100.72-100.7-100.74-100.74-100.73-100.74-100.74-100.73-100.71-100.72-100.71-100.73-100.73-100.71-100.7-100.72-100.72-100.75-100.74-100.74-100.72-100.73-100.73-100.73-100.71-100.73-100.74-100.74-100.73-100.71-100.73-100.72-100.71-100.72-100.73-100.74-100.7-100.7-100.72-100.73-100.72-100.74-100.69-100.73-100.73-100.72-100.72-100.7-100.73-100.72-100.74-100.71-100.74-100.71-100.72-100.74-100.73-100.71-100.73-100.73-100.71-100.72-100.73-100.73-100.74-100.72-100.75-100.73-100.74-100.73-100.73-100.71-100.72-100.73-100.73-100.73-100.74-100.74-100.74-100.72-100.72-100.71-100.73-100.72-100.74-100.72-100.72-100.74-100.73-100.72-100.74-100.73-100.71-100.73-100.73-100.73-100.73-100.72-100.73-100.73-100.71-100.72-100.73-100.74-100.74-100.71-100.73-100.74-100.74-100.74-100.73-100.74-100.75-100.74-100.74-100.72-100.73-100.72-100.71-100.71-100.71-100.7-100.72-100.69-100.74-100.72-100.73-100.72-100.71-100.74-100.71-100.72-100.7-100.72-100.72-100.72-100.71-100.72-100.72-100.72-100.71-100.73-100.73-100.71-100.73-100.7-100.74-100.73-100.74-100.75-100.75-100.71-100.72-100.7-100.71-100.71-100.7-100.74-100.74-100.73-100.74-100.73-100.72-100.73-100.72-100.74-100.74-100.71-100.73-100.72-100.72-100.73-100.72-100.74-100.74-100.72-100.72-100.73-100.72-100.73-100.73-100.72-100.74-100.73-100.71-100.73-100.73-100.72-100.73-100.72-100.73-100.73-100.73-100.72-100.72-100.72-100.74-100.74-100.74-100.71-100.73-100.73-100.7-100.72-100.72-100.73-100.72-100.72-100.73-100.7-100.72-100.71-100.71-100.73-100.73-100.73-100.73-100.73-100.74-100.72-100.74-100.72-100.73-100.74-100.73-100.72-100.71-100.75-100.73-100.72-100.73-100.72-100.74-100.73-100.74-100.73-100.73-100.73-100.73-100.73-100.73-100.74-100.73-100.71-100.75-100.74-100.74-100.74-100.72-100.73-100.72-100.73-100.71-100.72-100.73-100.74-100.74-100.75-100.72-100.73-100.73-100.74-100.71-100.74-100.72-100.71-100.72-100.74-100.73-100.73-100.74-100.75-100.73-100.72-100.72-100.71-100.72-100.74-100.71-100.72-100.73-100.72-100.71-100.72-100.73-100.74-100.72-100.74-100.73-100.72-100.74-100.72-100.74-100.72-100.72-100.68-100.71-100.71-100.72-100.74-100.7-100.73-100.73-100.73-100.7-100.75-100.74-100.74-100.72-100.75-100.72-100.72-100.73-100.72-100.73-100.75-100.71-100.71-100.73-100.71-100.71-100.73-100.74-100.74-100.73-100.72-100.7-100.73-100.69-100.73-100.69-100.74-100.74-100.71-100.72-100.72-100.73-100.74-100.72-100.72-100.71-100.72-100.72-100.7-100.72-100.73-100.73-100.73-100.73-100.73-100.71-100.74-100.71-100.72-100.74-100.72-100.73-100.74-100.69-100.73-100.74-100.72-100.72-100.73-100.73-100.72-100.73-100.72-100.72-100.73-100.72-100.74-100.73-100.75-100.72-100.74-100.72-100.71-100.72-100.73-100.72-100.74-100.74-100.7-100.73-100.73-100.7-100.73-100.72-100.73-100.72-100.71-100.73-100.71-100.69-100.72-100.72-100.73-100.73-100.73-100.72-100.74-100.74-100.72-100.71-100.72-100.72-100.72-100.73-100.72-100.73-100.72-100.72-100.72-100.73-100.72-100.73-100.72-100.72-100.7-100.73-100.73-100.72-100.7-100.74-100.73-100.74-100.74-100.73-100.72-100.7-100.72-100.71-100.73-100.71-100.75-100.74-100.74-100.72-100.73-100.72-100.73-100.71-100.72-100.74-100.73-100.72-100.72-100.72-100.75-100.73-100.7-100.73-100.72-100.71-100.74-100.74-100.75-100.72-100.74-100.74-100.74-100.75-100.73-100.73-100.73-100.72-100.7-100.72-100.74-100.71-100.73-100.71-100.74-100.73-100.71-100.72-100.74-100.74-100.73-100.72-100.74-100.7-100.74-100.74-100.74-100.72-100.72-100.72-100.73-100.74-100.74-100.71-100.73-100.72-100.73-100.7-100.72-100.73-100.7-100.74-100.74-100.74-100.73-100.73-100.72-100.72-100.7-100.74-100.73-100.72-100.73-100.73-100.74-100.74-100.7-100.73-100.72-100.74-100.73-100.74-100.73-100.73-100.73-100.72-100.7-100.73-100.73-100.72-100.72-100.75-100.72-100.71-100.74-100.73-100.73-100.73-100.72-100.74-100.72-100.73-100.72-100.74-100.74-100.74-100.72-100.73-100.7-100.74-100.71-100.74-100.72-100.73-100.73-100.73-100.72-100.72-100.73-100.69-100.72-100.73-100.7-100.74-100.71-100.73-100.71-100.7-100.73-100.76-100.72-100.73-100.72-100.73-100.72-100.74-100.72-100.73-100.72-100.68-100.72-100.71-100.73-100.75-100.72-100.74-100.72-100.73-100.7-100.73-100.71-100.7-100.74-100.73-100.72-100.72-100.71-100.73-100.72-100.73-100.73-100.72-100.71-100.73-100.72-100.71-100.73-100.72-100.73-100.73-100.7-100.74-100.72-100.73-100.74-100.73-100.73-100.7-100.72-100.73-100.74-100.7-100.72-100.72-100.71-100.72-100.72-100.74-100.73-100.72-100.74-100.73-100.71-100.71-100.73-100.73-100.72-100.7-100.72-100.72