prob2.ci: Confidence Interval for the Difference of Proportions

prob2.ciR Documentation

Confidence Interval for the Difference of Proportions

Description

Confidence Interval for the Difference of Population Proportions

Usage

prob2.ci(n1, x1, n2, x2, alp = 0.05, dig = 4)

Arguments

n1

Sample size of population1

x1

Number of successes in samples from population1

n2

Sample size of population2

x2

Number of successes in samples from population2

alp

Level of significance, Default: 0.05

dig

Number of digits below the decimal point, Default: 4

Value

None.

Examples

prob2.ci(n1=160, x1=12, n2=200, x2=13, alp=0.1)
prob2.ci(n1=160, x1=12, n2=200, x2=13, alp=0.05)

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.