popsd: Calculate the population standard deviation of x Usage...

Description Usage Arguments Note Author(s)

View source: R/SimpleStats.R

Description

Calculate the population standard deviation of x Usage popsd(x)

Usage

1
  popsd(x, nomiss = 0.8)

Arguments

x

A numeric vector

nomiss

A numeric vector specifying the proporiton of valid cases in x (i.e. data that must not be NA) for the sd to be returned

Note

R's built-in sd function divides the sum of the squared deviations from the mean by the number of observations minus 1 (N-1). However, there are times where one would prefer to use the formula with N in the denominator (e.g. if one is working with the entire population of scores). This function does just that.

Author(s)

Borrowed from Ryne Sherman on 2012/09/06


russmisc documentation built on May 21, 2017, 12:25 a.m.

Search within the russmisc package
Search all R packages, documentation and source code