Solved

Standard Deviation in Excel

Posted on 2011-09-21
7
300 Views
Last Modified: 2012-08-13
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
0
Comment
Question by:allelopath
  • 3
  • 3
7 Comments
 
LVL 73

Expert Comment

by:sdstuber
ID: 36574974
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
 
LVL 1

Author Comment

by:allelopath
ID: 36575005
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
 
LVL 73

Expert Comment

by:sdstuber
ID: 36575023
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 36575046
if you want biased variance over the entire population  use VARP  instead of VAR

stddevp = sqrt(varp)
0
 
LVL 1

Author Comment

by:allelopath
ID: 36575053
Oh. Is there VAR for N? I don't see a VARP function.
0
 
LVL 1

Author Comment

by:allelopath
ID: 36575055
oh yes I do ...
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36581075
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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now