Divides by N rather than N - 1, which is what a schedule of potential
outcomes calls for: the seven villages in Table 2.1 are the population, not a
sample drawn from one. stats::var() divides by N - 1.
Arguments
- x
a numeric vector
- na.rm
logical. Should missing values be removed? When
FALSE(the default) a single missing value makes the resultNA, as instats::var(). WhenTRUEmissing values are dropped and the divisor is the number of values that remain.