Re: [R] loops over regression models

2012-01-13 Thread Petr PIKAL
Hi > > Dear R help listers, > > I am trying to replicate results in Gelman and Hill's book (Chapter 3 > in regressions and multilevel models). Below I estimated two models > (chp3.1 and chp3.3 in R codes) with the same data and dependent > variable but different independent variables. I have been

[R] loops over regression models

2012-01-13 Thread Xu Jun
Dear R help listers, I am trying to replicate results in Gelman and Hill's book (Chapter 3 in regressions and multilevel models). Below I estimated two models (chp3.1 and chp3.3 in R codes) with the same data and dependent variable but different independent variables. I have been using Stata for q