An R Introduction to Statistics

Interval Estimation

fractal-01h It is a common requirement to efficiently estimate population parameters based on simple random sample data. In the R tutorials of this section, we demonstrate how to compute the estimates. The steps are to be illustrated with a built-in data frame named survey. It is the outcome of a Statistics student survey in an Australian university.

The data set belongs to the MASS package, which has to be pre-loaded into the R workspace prior to use.

> library(MASS)      # load the MASS package 
> head(survey) 
     Sex Wr.Hnd NW.Hnd  ... 
1 Female   18.5   18.0  ... 
2   Male   19.5   20.5  ... 
3   Male   18.0   13.3  ... 
       .................

For further details of the survey data set, please consult the R documentation.

> help(survey)