prob2test.plot: Test for the Difference of Ratios (Large Sample)

Description Usage Arguments Value Examples

View source: R/prob2test.plot.R

Description

Test for the Difference of Population Ratios (Large Sample)

Usage

1
prob2test.plot(n1, x1, n2, x2, prng, side = "two", mt, 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

prng

Range of x-axis, Default: (d0-4se, d0+4se)

side

Type of the alternative hypothesis, Default: 'two'

mt

Graph title

dig

Number of digits below the decimal point, Default: 4

Value

None.

Examples

1
2
prob2test.plot(n1 = 150, x1 = 12, n2 = 250, x2 = 10, side = "up", dig = 4)
prob2test.plot(n1 = 150, x1 = 12, n2 = 250, x2 = 10, side = "two", dig = 4)

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