Draft Version


Statistical Inference

\(R\) commands for statistical inference procedures

t.test()

Testing procedure for means.

  • One sample
  • Two sample
  • Paired

prop.test()

Testing procedure for proportions.

  • One sample
  • Two sample

var.test()

Testing procedure for variances.


Single sample inference

If we have a single sample we might want to answer several questions:

To ensure that our analysis is correct we need to check for outliers in the data (i.e. boxplots) and we also need to check whether the data are normally distributed or not.