by school: reg y x1 x2This works on small datasets:
by school: predict y_predicted
reg y i.school_id##(c.x1 c.x2)but gets very slow if the number of schools is large. Any other ideas? I'm wondering if one of the fixed-effects commands would do the trick. Many thanks!
predict y_predicted
Paul
0 Response to Predicted values after reg by group
Post a Comment