Hello,
I would like to apply the Shang and Lee model (2007), derived from the Manski-Brock-Durlauf model (2001). This model allows to identify group effects
in a binary choice model of decision. The data set that I use contains both individual-level and country-level data.
The idea of this model is to run a first regression, which is a probit. The latent variable equation can be written:
Y= Xri d + Kr + Vri (1)
with Xri the individual characteristics of individual i in group r, Kr the group dummy variable, and Vri the error term.
A second regression (OLS) has to be made, using the following equation:
Kr = Zr b + er (2)
with er the error term.
My concern is to keep the estimations of Kr from the equation (1) as variables, before running estimation on (2).
I have tried the user-written package parmest, but it does not help me to achieve what I want. Indeed, it saves the coefficients of (1) by erasing the former dataset. This prevents me to do the second regression.
Could you please help me?
Best regards,
Maïva Ropaul
I would like to apply the Shang and Lee model (2007), derived from the Manski-Brock-Durlauf model (2001). This model allows to identify group effects
in a binary choice model of decision. The data set that I use contains both individual-level and country-level data.
The idea of this model is to run a first regression, which is a probit. The latent variable equation can be written:
Y= Xri d + Kr + Vri (1)
with Xri the individual characteristics of individual i in group r, Kr the group dummy variable, and Vri the error term.
A second regression (OLS) has to be made, using the following equation:
Kr = Zr b + er (2)
with er the error term.
My concern is to keep the estimations of Kr from the equation (1) as variables, before running estimation on (2).
I have tried the user-written package parmest, but it does not help me to achieve what I want. Indeed, it saves the coefficients of (1) by erasing the former dataset. This prevents me to do the second regression.
Could you please help me?
Best regards,
Maïva Ropaul
Comment