popSD: Converts Sample Standard Deviations into Population...

Description Usage Arguments Value References Examples

View source: R/moments.R

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

1
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

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

Rita documentation built on Jan. 20, 2022, 1:06 a.m.

Related to popSD in Rita...