Learning SAS? Welcome to the exclusive online community for all SAS learners.

Population sd and variance

New Contributor
Posts: 2

Population sd and variance

Hi all,


I am learning descriptive statistics using SAS. If we consider the dataset that we are working on as a population then how to know the population sd and variance through proc univariate or proc means. well what i can see is both procedures show the sd and variance of bessels correction. (not the population) if i am correct. Thanks in advance.


Sachin K

Trusted Advisor
Posts: 1,246

Re: Population sd and variance

Hi @ksachin,


Both the PROC UNIVARIATE and the PROC MEANS (and the PROC SUMMARY) statement have a VARDEF= option, whose default value is DF (or df, "degrees of freedom," i.e. denominator n-1 in the definition of variance and related statistics such as standard deviation). Another valid value of this option is N (not case-sensitive either), which requests denominator n, as needed for calculating population variance, standard deviation, etc.



proc means vardef=n data=sashelp.class;
var age;
New Contributor
Posts: 2

Re: Population sd and variance

Posted in reply to FreelanceReinhard

hi freelancereinhard



Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation