On Tue, Jul 19, 2011 at 4:19 PM, J. <seoulseoulse...@gmail.com> wrote: > @Dimitri: I tried to enter it as numeric and still got the same outcome. I > still wonder if there is any way to get the same result from both programs.
There is. ?C ?contrasts But of course you must do your homework to understand how to use these. (See the quote in my signature). -- Bert > @David, Bert: Yes, I found that the gender coefficient is R is exactly twice > that of the one from SPSS. Need to study on parametrization. > Thanks, > > Jay > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- "Men by nature long to get on to the ultimate truths, and will often be impatient with elementary studies or fight shy of them. If it were possible to reach the ultimate truths without the elementary studies usually prefixed to them, these would not be preparatory studies but superfluous diversions." -- Maimonides (1135-1204) Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.