# Standard Deviation in Excel

I don't understand why the value of cell B9 is not equal the value in C8 in the attached spreadsheet. I think they both should be 3.741657.
standardDeviation.xlsx
LVL 1
###### Who is Participating?

Commented:
if you want biased variance over the entire population  use VARP  instead of VAR

stddevp = sqrt(varp)
0

Commented:
they are two different functions

B9 = stddevp(B2:B7)  deviation over entire population N
C8=B10 = stddev(B2:B7) deviation over "almost" entire population N-1

0

Author Commented:
Yes, but cell C8 is over the entire population, hence I would expect it to be the same as B9, which is also over the entire population.
0

Commented:
VAR is also non-biased   i.e.  N-1  (not the entire population)

stddev = sqrt(var)  because both are non biased

stddevp <> sqrt(var)  because stddevp is biased
0

Author Commented:
Oh. Is there VAR for N? I don't see a VARP function.
0

Author Commented:
oh yes I do ...
0

Commented:
allelopath,

Your entire population has 7 members?  Really?

Sarcasm aside, you will nearly always want the sample stdev and sample variance; in actual practice, you will almost never have statistics for the entire population, and once your sample gets to a sufficient size, the difference between the sample and population versions of stdev and variance rapidly approaches zero.

Patrick
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.