ciprob.sim: Simulate the Confidence Interval for a Ratio

Description Usage Arguments Value Examples

View source: R/ciprob.sim.R

Description

Simulate the Confidence Interval for a Ratio

Usage

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

Arguments

n

Sample size, Default: 100

p

Population ratio value, Default: 0

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

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)

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