[R] linear models with factors
Ista Zahn
izahn at psych.rochester.edu
Sat Feb 12 17:16:36 CET 2011
Well, I may have been too hasty there. Actually the question was
slightly improved. I think you are looking for ?contr.sum
Best,
Ista
On Sat, Feb 12, 2011 at 3:55 PM, Ista Zahn <izahn at psych.rochester.edu> wrote:
> I already responded to your identical post yesterday, asking you to
> actually ask a question. "can you please help me?" is not enough.
>
> Best,
> Ista
>
>
> On Sat, Feb 12, 2011 at 5:57 AM, ATANU <ata.sonu at gmail.com> wrote:
>>
>> i am trying to fit a linear model with both continuous covariates and
>> factors. When fitted with the intercept
>> term the first level of the factor is treated by R as intercept and the
>> estimate of the effects of remaining levels(say i th level) are given as
>> true estimate of i th level - estimate of 1st level. i want the estimates of
>> coefficients of each level along with the intercept term(general
>> effect).can anyone please help me?
>> thanks in advance.....
>> --
>> View this message in context: http://r.789695.n4.nabble.com/linear-models-with-factors-tp3302404p3302404.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> 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.
>>
>
>
>
> --
> Ista Zahn
> Graduate student
> University of Rochester
> Department of Clinical and Social Psychology
> http://yourpsyche.org
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
More information about the R-help
mailing list