Why use n-1 when calculating the standard deviation when using GraphPad Prism 8 for Mac?

GraphPad Prism 8 for Mac is a set of biostatistics, curve fitting and biomedical science and technology in one drawing drawing tools, is a natural partner medical workers. There are many friends do not know why the use of the use of n-1 when calculating the standard deviation GraphPad Prism 8 for Mac time now for everyone to answer why using GraphPad Prism 8 for Mac (drawing statistical analysis) using n-1 when calculating the standard deviation, hoping to help you!

graphpad prism 8 for Mac (medical statistical graphics analysis software)

How does it calculate the standard deviation

1. Calculate the square of each difference value of the sample mean.

2. Add these values.

3. dividing the sum by n-1. This is called variance.

4. Take the square root to obtain a standard deviation.

Why n-1?

Why is divided by n-1 instead of n in the third step above? In Step 1, you calculate the difference between the average values ​​of ?? each of these values. You do not know the true meaning of the population; you know that the average value of your samples. In addition to rare cases the sample mean exactly equal to the population mean, the data will be closer to the sample mean rather than the real population mean. Therefore, you calculated in step 2 value may be less than the value of using real population mean in step 1. Some (and not more). To compensate for this, rather than n-1 dividing ratio nv This is called Bessel correction.

But why n-1? If you know the sample mean, and all values ​​except one value, you can calculate the final value of what must be yes. Statistician has said n-1 degrees of freedom.

When should I use to calculate SD denominator of n?

Statistics show two books are usually computed SD equation, using a n, the other using n-1, in the denominator. Some computers have two buttons.

n-1 equations for analyzing sample data and desired results more general case of a common conclusion. SD calculated in this manner (using n-1 in the denominator) is the best guess for the overall population SD values.

If you want to quantify the changes in specific sets of data, and does not intend to infer a broader conclusion to draw, then you can use to calculate the SD denominator n. SD SD is get those particular values. SD If you want to estimate the population from which the extraction of these points, then the SD calculated in this way does not make sense. N Use only makes sense in the denominator in the absence of population sample of cases, we do not want to draw general conclusions.

The scientific goal is always to summarize, should not be used in the denominator of the equation with the n. The only possible example I can think of is to quantify the differences between the test scores. Better approach is a fraction of each frequency distribution histogram or scatterplot.

And GraphPad Prism InStat always calculated using the n-1 SD denominator.

 

Guess you like

Origin blog.csdn.net/a12121abc/article/details/93391900