Hi All,
I am trying to find a command in Stata that can estimate different measures of the deviation between two covariates, e.g. x1 and x2.
The empirical model I would like to run is on a panel data set and takes the following form: Yit=const+b1L.X1+b2L.X2+b3(L.X1-L.X2). That is I would like to measure the impact of the deviation of variable X1 from variable X2 on Yit ( for each panel in every time period).
X1 is a specific characteristic for panel i, X2 is a composite measure of the same specific characteristic but for all other panels (excluding panel i). In sense, I try to model the deviation of X1 from this composite measure.
I am looking for a Stata command that could automatically estimate alternative measures of the X1-X2 difference (or deviation of X1 from X2). Also, as a robustness check.
Have checked the manuals and the forum, but I could not find much information on the subject.
Dave
I am trying to find a command in Stata that can estimate different measures of the deviation between two covariates, e.g. x1 and x2.
The empirical model I would like to run is on a panel data set and takes the following form: Yit=const+b1L.X1+b2L.X2+b3(L.X1-L.X2). That is I would like to measure the impact of the deviation of variable X1 from variable X2 on Yit ( for each panel in every time period).
X1 is a specific characteristic for panel i, X2 is a composite measure of the same specific characteristic but for all other panels (excluding panel i). In sense, I try to model the deviation of X1 from this composite measure.
I am looking for a Stata command that could automatically estimate alternative measures of the X1-X2 difference (or deviation of X1 from X2). Also, as a robustness check.
Have checked the manuals and the forum, but I could not find much information on the subject.
Dave
Comment