SampDist2Props function

Difference of Two Sample Proportions

Difference of Two Sample Proportions

An app to explore the sampling distribution of the difference of two sample proportions.

SampDist2Props(form,data,max.sample.sizes=100,sim.reps=1000)

Arguments

  • form: An object of class formula, of the form ~x+y where x and y are factors supplied by:
  • data: A dataframe, representing the imaginary population. In the formula, both factors should have exactly two levels. The variable x represents the explanatory variable.
  • max.sample.sizes: Maximum sample sizes allowed on the sliders.
  • sim.reps: Number of samples to construct the empirical distribution.

Returns

Graphical and numerical output.

Examples

## Not run: data(imagpop) SampDist2Props(~sex+cappun,data=imagpop) ## End(Not run)

Author(s)

Homer White hwhite0@georgetowncollege.edu

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

Useful links