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
Hi, your question is unclear. It is not clear whether you want to compare a.) whether two subsets of data have the same coefficients for an identical model or b.) whether a couple of coefficients are different once you include additional regressors. The reason for this confusion is that your lm.sep