[R] Random and fixed effect in linear model

Bert Gunter gunter.berton at gene.com
Mon Mar 5 15:44:02 CET 2012


Homework? We don't do homework here.

Otherwise, I suggest that you continue to use SPSS, as you do not seem
willing to make the effort to learn R.

-- Bert

On Mon, Mar 5, 2012 at 3:23 AM, Fernando Pistón <fpiston at gmail.com> wrote:
> Hello everybody,
>
>
>  This is my firth question in this mailing list. The question is about the
> how to deal with a model with both random and fixed factors. I know to do
> the analysis using SPSS. The command line wit be as follows:
>
>
>  UNIANOVA alpha.ug.mg BY Line Year Rep
>
> /RANDOM=Year Rep
>
> /METHOD=SSTYPE(4)
>
> /INTERCEPT=EXCLUDE
>
> /PRINT=HOMOGENEITY
>
> /CRITERIA=ALPHA(0.05)
>
> /DESIGN= Year Rep*Year Line Line*Year
>
>
>  Could anyone give me a translation of above SPSS command line to R?
>
>
>
>  Thanks very much
>
>
> --
> Fernando Piston Piston
> fpiston at gmail.com
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list