Comparing Group Means: T-tests and One-way ANOVA
Summer 2009
Table of Contents (PDF)
- Introduction
- One Sample T-test
- Paired T-test: Dependent Samples
- 3.1 Paired T-test in Stata
- 3.2 Paired T-test in SAS
- 3.3 Paired T-test in R
- 3.4 Paired T-test in SPSS
- Comparing Independent Samples with Equal Variances
- Comparing Independent Samples with Unequal Variances
- 5.1 Independent Sample T-test in Stata
- 5.2 Independent Sample T-test in SAS
- 5.3 Independent Sample T-test in R
- 5.4 Independent Sample T-test in SPSS
- Comparison Using the One-way ANOVA, GLM, and Regression
- Comparing the Proportions of Binary Variables
- Conclusion
- Appendix
- References
This document summarizes the methods of comparing group means and illustrates how to conduct t-tests and one-way ANOVA using Stata 11, SAS
9.2, R, and SPSS 17.
The citation of this document should read: "Park, Hun Myoung. 2009. Comparing
Group Means: T-tests and One-way ANOVA Using Stata, SAS, R, and SPSS. Working Paper. The University Information
Technology Services (UITS) Center for Statistical and Mathematical Computing, Indiana University."



