Re: [R] About the covariant

2011-06-28 Thread David Winsemius
On Jun 28, 2011, at 12:57 AM, Lao Meng wrote: Thanks David for your reply. You said "a single slope and intercept are estimated for each variable".Actually I can only get one intercept no matter how many Sorry. You are right. You get individual slopes (and differences for factors) referen

Re: [R] About the covariant

2011-06-27 Thread Lao Meng
Thanks David for your reply. You said "a single slope and intercept are estimated for each variable".Actually I can only get one intercept no matter how many variables exist,but a slope for each variable. Since the regression is done via:lm(CD4 ~ time + gender + income) It seems that the explanat

Re: [R] About the covariant

2011-06-27 Thread David Winsemius
On Jun 27, 2011, at 10:02 PM, Lao Meng wrote: Hi all,I have some questions about the covariants of regression. My target: To explore the trend of CD4 level through a period of time. Response variable: CD4 count Explanatory variable:time Also, the demology information is available,such as g