prop.sig: Proportion Hypothesis Test

View source: R/prop.sig.R

prop.sigR Documentation

Proportion Hypothesis Test

Description

This function returns the Z value of the sampled proportion. Input values refer to percents.

Usage

prop.sig(p, N, x)

Arguments

p

Percents of success in population.

N

Sample size.

x

Percents of success in sample.

Value

p is the success rate in population.

q is the opposite probability of p (1-p).

sd is the SD estimation.

Z is the Z value, genreated given the data.

binom2norm answers whether the assumption of normality is met.

Note

Calculates the binomal to normal assumption: p&q * n > 5

See Also

prop.ci for proportion confidence interval.

Examples

prop.sig(p=46,N=36,x=38)
# 46% success in pop, while in a 36 people sample, 38% success.

bgupsych/bgupsych documentation built on Nov. 1, 2023, 9:41 a.m.