SampDist2Props: Difference of Two Sample Proportions

Description Usage Arguments Value Author(s) Examples

View source: R/SampDist2Props.R

Description

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

Usage

1
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.

Value

Graphical and numerical output.

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
3
4
5
## Not run: 
data(imagpop)
SampDist2Props(~sex+cappun,data=imagpop)

## End(Not run)

tigerstats documentation built on July 2, 2020, 2:32 a.m.