Learn R Programming

Rita (version 1.2.0)

popSD: 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

Run this code
# NOT RUN {
values <- rnorm(100)
x <- popSD(s = sd(values),n = 100)
# }

Run the code above in your browser using DataLab