ciprob.sim: Simulate the Confidence Interval for a Proportion

Description Usage Arguments Value Examples

Description

Simulate the Confidence Interval for a Population Proportion

Usage

1
2
ciprob.sim(n, p = 0.5, alp = 0.05, N = 100, seed = 9857, dig = 4,
  plot = TRUE)

Arguments

n

Sample size

p

Population proportion value, Default: 0.5

alp

Level of significance, Default: 0.05

seed

Seed value for generating random numbers, Default: 9857

dig

Number of digits below the decimal point, Default: 4

plot

Plot confidence intervals? Default: TRUE

n

Sample size, Default: 100

Value

None.

Examples

1
2
ciprob.sim(n=16, p=0.6, alp=0.05, N=100)
ciprob.sim(n=16, p=0.6, alp=0.05, N=10000, plot=FALSE)

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