Skip to content

[nlme] BLUPs for a new subject in a fitted lme model?

6 messages · Wilhelm B. Kloke, Brian Ripley, Ulises M. Alvarez +1 more

#
I am seeking for a method to calculate, given a fitted lme model
and some data for a subject, the random effects predictors
for this subject. I can only find predictors for the subjects used in
creating the fit. Of course I could just add the subject and redo the fit.
But I want to avoid just this refitting. 

Thanks for help
wbk
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 16 Aug 2002, Wilhelm B. Kloke wrote:

            
Once you've a lme model, you don't need to stimate new random effects for 
new subjects.

As stated by Pinheiro & Bates:
"Fixed affects are parameters associated with an entire population, or 
with repeatable levels of experimental factors.
Random effects are instead associated with experimental units drawn at 
random from a population."

Maybe you'd like to see Pinheiro & Bates' book for further details.
#
That's not the whole story.  What (as I understand it) Wilhelm has are not
just new subjects, but new observations on new subjects.  Then there are
BLUPs associated with those new subjects.  Think of an enlarged data set
with the old and the new subjects: you can apply the lme at a given set of
parameter values and find the BLUPs for all the subjects.

It is equally true that new observations on the old subjects will change
the BLUPs.

I don't know how to do this with lme without refitting, although the
pieces needed must be in the package.
On Fri, 16 Aug 2002, Ulises Mora Alvarez wrote:

            

  
    
#
Prof. Ripley:

Thank you for your comment. I've missed the fact that Mr. Wilhelm is 
trying to include new observations on new subjects.

However, after the inclusion of the new observations Mr. Wilhelm maybe 
should ask to him self this question: Does the inclusion of new 
observations modify the significance of model?s parameters and random 
effects?

If your model is sound and has good foundations, I bet it would not.
On Fri, 16 Aug 2002 ripley at stats.ox.ac.uk wrote:

            

  
    
2 days later
#
In the simple model Y = mu + U + e, where U and e have variances Vu and
Ve, the BLUP for a subject with observation Y is

E(U|Y) = Vu  * (Y - mu)
        ----
       (Vu+Ve)

Similarly for more complicated models, i.e. the BLUP is a simple function
of the variance components. I'm not sure whether this answers the original
question, but it must be relevant and nobody has mentioned it so far.
On Fri, 16 Aug 2002 ripley at stats.ox.ac.uk wrote:

            
======================================
I.White
ICAPB, University of Edinburgh
Ashworth Laboratories, West Mains Road
Edinburgh EH9 3JT
Fax: 0131 667 3210  Tel: 0131 650 5490
E-mail: iwhite at staffmail.ed.ac.uk
======================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 19 Aug 2002 iwhite at staffmail.ed.ac.uk wrote:

            
Yes, it is relevant.

In general the BLUP is not a simple function like that, not with
hierarchical designs and e.g. random effects on slopes as well as
intercepts.  Which is why I'd like my software to do it for me.