se_of_percentage: Standard Error (SE) of a percentage

View source: R/se_of_percentage.R

se_of_percentageR Documentation

Standard Error (SE) of a percentage

Description

Calculate the standard error of a percentage. See Fowler, Jr. (2014, p. 34, ISBN: 978-1-4833-1240-8)

Usage

se_of_percentage(percent = NULL, n = NULL)

Arguments

percent

a vector of percentages; each of the percentage values must be between 0 and 100

n

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

Examples

se_of_percentage(percent = 40, n = 50)
se_of_percentage(percent = 50, n = 10)

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