Displaying 1 result from an estimated 1 matches for "temploy".
Did you mean:
employ
2002 Nov 15
2
What's going on? (strange standard deviation)
I have probably misunderstood something (again :-():
> CEMPLOY<-TEMPLOY[!is.na(TEMPLOY)]
> sum(CEMPLOY^2/length(CEMPLOY))-mean(CEMPLOY)^2
[1] 30877.28
> var(TEMPLOY,na.rm=TRUE)
[1] 30981.25
Could anybody tell me, what's going on? I suppose that
var=sum(x^2/N)-xbar^2
or what did I enter wrong?
Thanks
Matej
--
Matej Cepl, matej at ceplovi.cz,
Fin...