var_of_percentage {kim}R Documentation

Variance of a percentage

Description

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

Usage

var_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

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

[Package kim version 0.5.422 Index]