Indiana University
UITS Research Technologies
Stat/Math Center
       
Systems
  Big Red
  AVIDD-B
  AVIDD-I
  AVIDD-T
  AVIDD-N
  AVIDD-O
  GRAPEs
  Libra
  Research Database Complex
  Steel
Systems
  Big Red
  AVIDD-B
  AVIDD-I
  AVIDD-T
  AVIDD-N
  AVIDD-O
  GRAPEs
  Libra
  Research Database Complex
  Steel
Bioinformatics

HPC Support

  Services
  Systems
  Activities
 
  Programming Resources:
    Numerics
    Parallelism
 

Research Technologies

Stat/Math
  Software Support
  Software Consulting
  Software Availability
  Purchasing Software
  Software Price
  Contact

User Support
  Documentation
  Knowledge Base
  Education
  Consulting
  Podcasts

Systems & Services
  Cyberinfrastructure
  Supercomputers
  Grid Computing
  Storage
  Visualization
  Digital Libraries & Data

Results & Impact
  Publications
  Grants & Grant Info
  Events & Outreach
  Economic Impact
  Survey Results

About RT
  Leadership
  Vision & Planning
  News & Features

UITS Quick Links
  • Ask for Help
  • Knowledge Base
  • Services Directory
  • Staff List
  • IT News and Events
  • Notices and Alerts

Comparing Group Means: T-tests and One-way ANOVA

Hun Myoung Park
Fall 2007

Table of Contents

  • Introduction
    • 1.1 Background of T-tests: Key Assumptions
    • 1.2 Independent Sample T-test and One-way ANOVA
    • 1.3 T-test in Stata, SAS, and SPSS
    • 1.4 Data Arrangement
  • One Sample T-test
    • 2.1 One Sample T-test in STATA
    • 2.2 One Sample T-test Using the SAS TTEST Procedure
    • 2.3 One Sample T-test Using the SAS UNIVARIATE and MEANS Procedures
    • 2.4 One Sample T-test in SPSS
  • 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 SPSS
  • Comparing Independent Samples with Equal Variances
    • 4.1 F test for Equal Variances
    • 4.2 Overview of the Independent Sample T-test
    • 4.3 Independent Sample T-test in STATA
    • 4.4 Independent Sample T-test in SAS
    • 4.5 Independent Sample T-test in SPSS
  • 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 SPSS
  • Comparison Using the One-way ANOVA, GLM, and Regression
    • 6.1 One-way ANOVA
    • 6.2 Generalized Linear Model (GLM)
    • 6.3 Linear Regression (Ordinary Least Squares)
  • Comparing the Proportions of Binary Variables
    • 7.1 Comparing a Proportion with a Hypothesized Proportion
    • 7.2 Comparing Two Proportions
    • 7.3 Comparing Means versus Comparing Proportions
  • 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 10, SAS 9.1, and SPSS 15.

IU
  • About UITS
  • Contact UITS
  • Job Opportunities
  • Press Room
  • Site Map
  • Comments

Copyright 2006, The Trustees of Indiana University

IU's involvement in the TeraGrid, and the presentation of this material is based upon work supported by the National Science Foundation under Grants No. 0833618, SCI451237, SCI535258, and SCI504075. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.