Skip to content

MANE 6313

Week 3, Module E

Student Learning Outcome

Analyze simple comparative experiments and experiments with a single factor.

Module Learning Outcome

Analyze a one-sample chi-squared test.


Example: One-Sample Chi-squared Test1

Chi-squared problem


Classical Approach

R Descriptive Statistics


Rejection Region & Conclusion2

Table of Chi-squared quantiles


Chi-squared Test using R

  • Requires the installation of EnvStatistics package
  • Uses varTest() function not to be confused with var.test() function

varTest Documentation


R Output

varTest Output


Teaching Moment

  • Why the difference in results between classical approach (by hand) and varTest results
  • Numbers matter!

R Statistics output



  1. Ostle, Turner, Hicks and McElrath (1996). Engineering Statistics: The Industrial Experience. Duxbury Press. 

  2. Montgomery and Runger (2014). Applied Statistics and Probability for Engineers, 6th edition. John Wiley & Sons.