cimean.sim: Simulate the Confidence Interval for a Mean

Description Usage Arguments Value Examples

View source: R/cimean.sim.R

Description

Simulate the Confidence Interval for a Population Mean

Usage

1
cimean.sim(n, mu = 0, sig = 1, alp = 0.05, N = 100, seed = 9857, dig = 4, plot = TRUE)

Arguments

n

Sample size, Default: 100

mu

Population mean value, Default: 0

sig

Population standard deviation, Default: 1

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
cimean.sim(n = 16, mu = 10, sig = 2)
cimean.sim(n = 16, mu = 10, sig = 2, N = 10000, plot = FALSE)

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