CIMean {tigerstats} | R Documentation |
Confidence Intervals (for one population mean)
Description
An app to investigate how sample size and confidence level affect the width of a confidence interval. A sample is drawn from the input population and a confidence interval for the population mean is calculated. The kernel density plot for the population and the histogram for each new sample are plotted, along with the confidence interval. Summary information is output to the console to tally the number of times the computed confidence interval covers the true population mean and how many times it misses. There is an option to draw 100 or 1000 samples at a time.
Usage
CIMean(form,data)
Arguments
form |
a formula of the form ~var. |
data |
A data frame from which var is drawn. |
Value
Graphical and numerical output
Author(s)
Rebekah Robinson rebekah_robinson@georgetowncollege.edu
Examples
## Not run:
if (require(manipulate)) CIMean(~height,data=imagpop)
## End(Not run)
[Package tigerstats version 0.3.2 Index]