[R] compute adjusted mean

From: Steven Lu <lukelu1983_at_yahoo.com>
Date: Thu 31 Mar 2005 - 04:56:40 EST


Dear Sir/Madam:
I have a question about computing adjusted mean using R. I am really new to this area.  

Suppose I have a response Y, and covariate: treat (binary), sex (binary) race (catogorical ) and age (continuous). the model: Y~treat+sex+race+age;
I am asked to compute the adjusted mean of Y for treat=1.  

would you please tell me (in detail) how I can do this? I searched the R homepage and got some information, but not quite helpful.  

thanks a lot,  

Steven L. Lu                       


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 31 05:07:25 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:57 EST