powered by
An app to explore the distribution of the t-statistic. The user takes one sample at a time from a given population. Graphical output updates the empirical distribution of the sample mean.
tSampler(form,data,max.sample.size=30,show.sample=FALSE)
An object of class formula, of the form ~x, where x is a numeric variable from the data frame supplied by:
A dataframe, representing the imaginary population.
Maximum sample size on the slider.
If TRUE, the complete sample will be output to the console, in addition to the summary information.
Graphical and numerical output.
# NOT RUN { data(imagpop) if (require(manipulate)) tSampler(~income,data=imagpop) # }
Run the code above in your browser using DataLab