se_of_proportion: Standard Error (SE) of a proportion

View source: R/se_of_proportion.R

se_of_proportionR Documentation

Standard Error (SE) of a proportion

Description

Calculate the standard error of a proportion. See Anderson and Finn (1996, p. 364, ISBN: 978-1-4612-8466-6)

Usage

se_of_proportion(p = NULL, n = NULL)

Arguments

p

a vector of proportions; each of the proportion values must be between 0 and 1

n

a vector of sample sizes; number of observations used to calculate each of the percentage values

Examples

se_of_proportion(p = 0.56, n = 400)
se_of_proportion(p = 0.5, n = 10)

kim documentation built on Oct. 9, 2023, 5:08 p.m.