Re: [R] Re gression by groups questions

2009-06-18 Thread Chris Friedl
ier > > > > - Mail Original - > De: "Chris Friedl" > À: r-help@r-project.org > Envoyé: Mercredi 17 Juin 2009 12h07:08 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: [R] Re gression by groups questions > > > I

Re: [R] Re gression by groups questions

2009-06-18 Thread Chris Friedl
pasting reply by Xavier into this thread for the sake of others who might come across it in their R travels. Thanks Xavier Hi, It seems like your multivariate regression works for groups A and B. For group C, values are calculated using an interaction between x1 and x2. Try to include it in the

Re: [R] Re gression by groups questions

2009-06-18 Thread xavier . chardon
in / Berne / Rome / Stockholm / Vienne Objet: [R] Re gression by groups questions I have a large dataset grouped by a factor and I want to perform a regression on each data subset based on this factor. There are many ways to do this, posted here and elsewhere. I have tried several. However I

[R] Re gression by groups questions

2009-06-17 Thread Chris Friedl
I have a large dataset grouped by a factor and I want to perform a regression on each data subset based on this factor. There are many ways to do this, posted here and elsewhere. I have tried several. However I found one method posted on the R wiki which works exactly as I want, and I like the ele