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

prob2test.plotR Documentation

Test for the Difference of Proportions (Large Sample)

Description

Test for the Difference of Population Proportions (Large Sample)

Usage

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

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)

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