Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: estimating reg coefficients for subgroups


From   Shehzad Ali <[email protected]>
To   Stata List <[email protected]>
Subject   st: estimating reg coefficients for subgroups
Date   Sat, 25 Apr 2009 01:37:17 -0700 (PDT)

Hi listers,

I am running the following regression model:

reg y x1 x2 x3

The model is run for the whole sample and then I want to predict the regression coefficients for each subgroup defined using the variable -subgroup-.

Can someone suggest the best way to estimate regression coefficients for subgroups after running the model for the whole sample?

Thank you,
Shehzad


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index