Skip to contents

Computes SE for proportions using the old-school \(\sqrt{\frac{p - (1 - p)}{n}}\) formula.

Usage

se_prop(p, n)

Arguments

p

proportion

n

sample size

Value

numeric value representing SE for proportions

Examples

p = 0.3
n = 200
se_prop(p = p, n = n)