getPSampleSize: getPSampleSize

Description Usage Arguments Value Author(s) See Also

View source: R/analysis.R

Description

getPSampleSize Computes the required sample size for a proportion, such that the population proportion is within a designated margin of error of the sample proportion with a designated level of confidence.

Usage

1
getPSampleSize(p, conf = 0.95, me = 0.05)

Arguments

p

Numeric proportion between 0 and 1

conf

Numeric confidence level between 0 and 1

me

Numeric margin of error between 0 and 1

Value

sampleSize Minimum required sample size

Author(s)

John James, [email protected]

See Also

Other analysis functions: getSummaryStats


DataScienceSalon/movies documentation built on May 28, 2019, 12:24 p.m.