Skip to content
Prev 16993 / 398503 Next

Help with replicating an old SPSS GLM analysis

John,

Thanks for responding. After I wrote my message, I figured out that lm
would have been the better model than glm. I reran the following code:

lm(formula = N.DIFFPT ~ AGE.I + INC.I + JOIN.I + WORK.I + EDUC.I + 
    GIVE.I + CS.I + EFF.I + AGE.A + INC.A + JOIN.A + WORK.A + 
    EDUC.A + GIVE.A + CS.A + EFF.A + AGE.I * AGE.A + INC.I * 
    INC.A + JOIN.I * JOIN.A + WORK.I * WORK.A + EDUC.I * EDUC.A + 
    GIVE.I * GIVE.A + CS.I * CS.A + EFF.I * EFF.A, data = acps.df, 
    weights = WT2517)

and, while the results were not exactly the same (perhaps the result of
the difference in interaction terms treatment in your point (3) below),
they're in the same direction and of the same orders of magnitude and
significance. That's enough for my needs for now -- I mainly wanted to be
sure I hadn't forgotten some key step of the process, since it's now been
a few years since I worked with these data.

Thanks again for your detailed response.

----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin at unc.edu - http://www.unc.edu/~aperrin
 Assistant Professor of Sociology, U of North Carolina, Chapel Hill
      269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA
On Thu, 7 Feb 2002, John Fox wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._