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

st: estimating reg coefficients for subgroups

From   Shehzad Ali <>
To   Stata List <>
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,


*   For searches and help try:

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