mycisVar: Simulate normal distributions for the purpose of illustrating...

View source: R/mycisVar.R

mycisVarR Documentation

Simulate normal distributions for the purpose of illustrating desirable properties of estimators

Description

Simulate normal distributions for the purpose of illustrating desirable properties of estimators

Usage

mycisVar(N = 5, R = 10, mean = 100, std = 15)

Arguments

N

Number of samples

R

Number of replications

mean

Mean of population

std

Standard deviation of population

Examples

p1 <- mycisVar(N = 10, R = 10)
g1 <- p1$g + ggplot2::scale_x_continuous(limits = c(0, 1700))
p2 <- mycisVar(N = 50, R = 10)
g2 <- p2$g + ggplot2::scale_x_continuous(limits = c(0, 1700))
p3 <- mycisVar(N = 500, R = 10)
g3 <- p3$g + ggplot2::scale_x_continuous(limits = c(0, 1700))
gridExtra::grid.arrange(g1, g2, g3, nrow = 3)

prox9974/soc429Code documentation built on June 16, 2022, 3:41 a.m.