prob2.ci: Confidence Interval for the Difference of Ratios

Description Usage Arguments Value Examples

View source: R/prob2.ci.R

Description

Confidence Interval for the Difference of Population Ratios

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)

jhk0530/Rstat documentation built on Dec. 20, 2021, 11:11 p.m.