[R] fix variance parameter values for lmer estimation

From: Wilfried Cools <Wilfried.Cools_at_ped.kuleuven.be>
Date: Fri, 25 Apr 2008 17:26:52 +0200


Dear list-members,

a model is fit with lmer, but I want to force the variance parameter values to be as defined by me

I thought, use 'start' to specify initial values and only allow for one iteration ?
my question is how to do that ?

to specify the 2x2 matrix of variance parameter values: start=list(groups=array(2,-0.5,1),dim=c(2,2))

now I need to make sure the mean structure is estimated, while the variance parameter values are kept constant ??
e.g. lmer(resp~pred1+pred2+(1 +
pred1|groups),start=list(groups=array(2,-0.5,1),dim=c(2,2)),....)

cheers,  

Wilfried  

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



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. Received on Fri 25 Apr 2008 - 15:42:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Apr 2008 - 17:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive