Learn R Programming

tigerstats (version 0.1.6)

SampDistMean: Distribution of the Sample Mean

Description

An app to explore the Central Limit Theorem.

Usage

SampDistMean(pop,max.samp.size=50,sim.reps=1000)

Arguments

pop
A data frame representing the population from which samples are taken.
max.samp.size
Largest sample size shown on the slider.
sim.reps
Number of simulation repetitions to construct empirical distribution of the sample mean.

Value

  • Graphical and numerical output.

Examples

Run this code
data(imagpop)
if (require(manipulate)) SampDistMean(imagpop)

Run the code above in your browser using DataLab