Skip to content

SPSS -> R

7 messages · Kristi Shoemaker, Frank E Harrell Jr, michael.weylandt at gmail.com (R. Michael Weylandt +2 more

#
If you know SPSS already why not learn R modeling syntax and do this
yourself?

If ALPHA(.05) implies that you are using stepwise variable selection note
that this is an invalid statistical technique.

Frank

Kristi Shoemaker wrote
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/SPSS-R-tp4110995p4111006.html
Sent from the R help mailing list archive at Nabble.com.
Perhaps this website and the associated book will be of help: http://r4stats.com/

Michael
On Nov 26, 2011, at 11:08 AM, Kristi Shoemaker <kristi.shoemaker at yahoo.com> wrote:

            
#
Dear Kristi,

I assume that this is a repeated-measures ANOVA with one within-subjects
factor (Time) and two between-subjects factors (Age and Sex, which are
crossed). If Age is numeric, and not a factor, then the "type-III" tests
that you requested don't test sensible hypotheses. In any event, if my guess
is right about the design, then you can use the Anova() function in the car
package for an equivalent analysis. See the repeated-measures example in
?Anova (for the O'Brien and Kaiser data). 

You've already had an answer to the more general question.

I hope this helps,
 John

--------------------------------
John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox
2 days later
#
At 16:41 27/11/2011, Kristi Shoemaker wrote:
I am by no means an expert in this but my reading of the 
documentation suggests that the idata and idesign parameters are for 
multivariate models and that is not what you specified.
Michael Dewey
info at aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html
#
Dear Michael,

The original poster and I ended up pursuing this question off-list and, I
think, resolving the issue, discovering in the process that SPSS apparently
reports "type-II" tests that are really "type-III" tests. (Yes, one fits a
multivariate linear model prior to calling Anova() with the idata and
idesign arguments.)

Best,
 John

--------------------------------
John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox