estimate_classic: Estimate proportion using classic estimator

Description Usage Arguments Value Examples

View source: R/04-estimate_classic.R

Description

Estimate proportion using classic estimator

Usage

1
estimate_classic(x, n, z = 1.96)

Arguments

x

Total number of successes

n

Total number of tests

z

z-value. Default is 1.96 for 95% confidence interval

Value

A list containing the following components:

estimate

A vector with the sample proportions

conf.int

A confidence interval for the true proportion

Examples

1
estimate_classic(x = 50, n = 200)

validmeasures/liberiaData documentation built on Dec. 2, 2020, 3:32 a.m.