Learn R Programming

tigerstats (version 0.3.2)

SampDist2Means: Distribution of the Difference of Sample Means

Description

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

Usage

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.

Examples

Run this code
# NOT RUN {
data(imagpop)
if (require(manipulate)) SampDist2Means(imagpop)
# }

Run the code above in your browser using DataLab