I don't think so, but you can easily write a function for that: vec=c(1,2) pop.sd=function(x)(sqrt(var(x)*(length(x)-1)/length(x))) pop.sd(vec) ##as compared to sd(vec)
Best, Daniel ------------------------- cuncta stricte discussurus ------------------------- -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Wednesday, July 09, 2008 5:35 AM An: R-help@r-project.org Betreff: [R] "non-sample" standard-deviation Hi, R seems to use the "1/n-1"-factor calculating the standard-deviation sd(). If i wat to get the "non-sample" standard-deviation i use sqrt(sd(x)^2*((n-1)/n)) Is there a parameter to get the sd()-function using the "1/n" factor directly? Or is there any other function to do so? Thank you in advance :-) Best, Eli ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.