prob2.ci: Confidence Interval for the Difference of Proportions

Description Usage Arguments Value Examples

Description

Confidence Interval for the Difference of Population Proportions

Usage

1
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

1
2
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)

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.