Re: [R] Testing equality of regression model on multiple groups

2009-12-18 Thread Clara Yuan
for everyone's help, Clara From: Daniel Malter [dan...@umd.edu] Sent: Friday, December 18, 2009 4:22 AM To: Clara Yuan; 'r-h...@lists.r-project.org' Subject: RE: [R] Testing equality of regression model on multiple groups Hi, your question is unclear. It is not clear w

Re: [R] Testing equality of regression model on multiple groups

2009-12-18 Thread David Winsemius
On Dec 17, 2009, at 5:14 PM, Clara Yuan wrote: Hello, (Also, why are the coefficients renamed to t.L, t.Q, etc instead of t.1, t.2?) You have coded your t variable as an ordered factor. ?ordered if you do not want the linear, quadratic, cubic coefficients for the polynomial contra

Re: [R] Testing equality of regression model on multiple groups

2009-12-18 Thread Daniel Malter
- cuncta stricte discussurus - -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Clara Yuan Sent: Thursday, December 17, 2009 5:15 PM To: r-h...@lists.r-project.org Subject: [R] Testing equality of regressi

[R] Testing equality of regression model on multiple groups

2009-12-17 Thread Clara Yuan
Hello, I'm trying to test for the joint equality of coefficients of the same model across different subsets of the data (ie, is it necessary to estimate the same model on these different populations, or can I just estimate the model once on the whole dataset?). My plan is to use the F-test on