civar2.sim: Simulate the Confidence Interval for a the ratio of Variances

Description Usage Arguments Value Examples

View source: R/civar2.sim.R

Description

Simulate the Confidence Interval for a the ratio of Variances

Usage

1
civar2.sim(n1, n2, sig1, sig2, alp = 0.05, N = 100, seed = 9857, dig = 4, plot = TRUE)

Arguments

n1

Sample size of population1

n2

Sample size of population2

sig1

Standard deviation of population1

sig2

Standard deviation of population2

alp

Level of significance, Default: 0.05

N

Number of iterations, Default: 100

seed

Seed value for generating random numbers, Default: 9857

dig

Number of digits below the decimal point, Default: 4

plot

Logical value for plot, Default: TRUE

Value

None.

Examples

1
2
civar2.sim(n1 = 25, n2 = 16, sig1 = sqrt(8), sig2 = 2)
civar2.sim(n1 = 25, n2 = 16, sig1 = sqrt(8), sig2 = 2, N = 10000, plot = F)

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