[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ANOVA versus ANCOVA

From   Robert A Yaffee <>
Subject   Re: st: ANOVA versus ANCOVA
Date   Fri, 25 Jul 2008 20:22:14 -0400

   The answer is yes, you can obtain the same ANCOVA results in SPSS and Stata.
For example, in Stata, on the command line, type:   

sysuse systolic
anova systolic drug disease age disease*age, continuous(age) partial

When you run the SPSS command suppress the intercept and build the same model as a univariate GLM
and you will get the same results.

  Bob Yaffee

Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University
Senior Research Scientist,
NSF/DRU Prop# 0826983



----- Original Message -----
From: John Magill <>
Date: Friday, July 25, 2008 11:45 am
Subject: st: ANOVA versus ANCOVA

> SPPS has a procedure called ANCOVA, while Stata's manual indicates 
> that ANOVA produces both ANOVA and ANCOVA results.  Will Stat produce 
> the same results as SPSS on a given dataset?  I am working on a 
> project with two colleagues who will be using SPSS, and I want to be 
> sure my results will be identical to theirs.
> Thanks,
> John
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index