SampDist2Means: Distribution of the Difference of Sample Means

Description Usage Arguments Value Note Author(s) Examples

View source: R/SampDist2Means.R

Description

An app to explore the Central Limit Theorem in the context of the difference of sample means.

Usage

1
SampDist2Means(pop,max.samp.sizes=50,sim.reps=1000)

Arguments

pop

A data frame representing the population from which samples are taken.

max.samp.sizes

Largest sample sizes shown on the sliders.

sim.reps

Number of simulation repetitions to construct empirical distribution of difference of sample means.

Value

Graphical and numerical output.

Note

Uses manipulate in R Studio. Also requires package lattice.

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
3
4
5
## Not run: 
data(imagpop)
if (require(manipulate)) SampDist2Means(imagpop)

## End(Not run)

homerhanumat/tigerstats documentation built on Sept. 27, 2020, 3:21 a.m.