Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2007, 06:44 AM
VarlosZ VarlosZ is offline
Senior Member
 
Join Date: Mar 2004
Location: Manhattan
Posts: 1,694
Default Simple variance question (Microsoft Excel)

When using Excel to measure variance, what's the effective difference between the VAR function, which estimates variance based on a sample, and the VARP function, which calculates variance based on the entire population? Why would someone prefer to use one rather than the other?

Thanks.
Reply With Quote
  #2  
Old 02-15-2007, 12:16 PM
djames djames is offline
Senior Member
 
Join Date: Aug 2005
Location: $$$
Posts: 779
Default Re: Simple variance question (Microsoft Excel)

When the full population of values is known, the true variance of the population is the sum of squared deviations from the mean, divided by the size of the population, VARP.

When only a sample from the full population is known, then the unbiased estimator of the population variance is the sum of squared deviations from the sample mean, divided by the size of the sample minus one, VAR.
Reply With Quote
  #3  
Old 02-15-2007, 06:12 PM
arahant arahant is offline
Senior Member
 
Join Date: Jul 2006
Posts: 991
Default Re: Simple variance question (Microsoft Excel)

Just to add....you usually want to use VAR (at least for everything I've ever done). If you have a series and you want to guess at the variance for future observations, the series isn't the entire 'population'. It's kind of academic though, because if the sample is small enough that the two give significantly different answers, the variance estimate won't be very significant either.
Reply With Quote
  #4  
Old 02-16-2007, 09:34 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: Simple variance question (Microsoft Excel)

[ QUOTE ]
Just to add....you usually want to use VAR (at least for everything I've ever done). If you have a series and you want to guess at the variance for future observations, the series isn't the entire 'population'. It's kind of academic though, because if the sample is small enough that the two give significantly different answers, the variance estimate won't be very significant either.

[/ QUOTE ]

On the other hand, VARP, which divides by n, is the maximum likelihood estimator of the variance of a normal distribution. That is, it is the value of the variance that maximizes the likelihood of the observed data.

VAR, which divides by n-1, is the unbiased estimator of the variance for a normal distribution, meaning that the expected value of this estimator is equal to the true variance.

There is a third estimator (not necessarily in Excel) which divides by n+1, and this estimator minimizes the mean squared error of the estimate of the variance for a normal distribution.

These issues are largely theoretical since the difference is usually insignificant when a reasonable number of samples is used, and they converge to the same value as the number of samples goes to infinity.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.