SampDist2Means function

Distribution of the Difference of Sample Means

Distribution of the Difference of Sample Means

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

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.

Returns

Graphical and numerical output.

Note

Uses manipulate in R Studio. Also requires package lattice.

Examples

## Not run: data(imagpop) if (require(manipulate)) SampDist2Means(imagpop) ## End(Not run)

Author(s)

Homer White hwhite0@georgetowncollege.edu

  • Maintainer: Homer White
  • License: GPL (>= 3)
  • Last published: 2020-06-15

Useful links