popSD: Converts Sample Standard Deviations into Population...

View source: R/moments.R

popSDR Documentation

Converts Sample Standard Deviations into Population Equivalents

Description

This function converts a sample standard deviation (SD) input into the population equivalent. This code is vectorized to convert several sample standard deviations for univariate distributions of identical sample-sizes, if desired.

Usage

popSD(s, n)

Arguments

s

The sample SD(s) (vector)

n

The sample-size for each SD to be converted (vector)

Value

The population SD(s) (vector)

References

Ruscio, J. (2021). Fundamentals of research design and statistical analysis. Ewing, NJ: The College of New Jersey, Psychology Department.

Examples

values <- rnorm(100)
x <- popSD(s = sd(values),n = 100)

Rita documentation built on March 18, 2022, 6:36 p.m.

Related to popSD in Rita...