Hello,
I am working with a short individual level panel dataset from a single country in which I merged a number of macro level variables that are grouped at different levels. For example, I have the unemployment level by sex and age, the unemployment level at the time of labour market entry and the percentage change in the supply of labour by occupation.
I am using a panel probit model to find the effect of a number of micro and the above mentioned macro variables on the likelihood of a person being in a job matching their skills versus being mismatched.
Here is the code I used without including the macro variables :
Now, in addition to the above micro level variables, I want to examine the effect of the macro variables on the mismatched dummy. However, I haven't been able to find a solution to the problem of multiway clustering of my standard errors.
I am aware of the cgmreg ado file used in “Robust Inference with multi-way clustering” by Cameron, Gelbach, and Miller (2006, NBER TWP 327), found on: http://gelbach.law.upenn.edu/~gelbach/ado/cgmreg.ado, however I am not clear as to whether this can be used with probit specifications.
Moreover, given that my aggregate variables are grouped by different combinations of variables, for example "age and sex" for the unemployment level; "year of labour market entry" for the unemployment at labour market entry variable and "occupation" for the percentage change in labour supply variable, I am not clear as to how to choose the variables I need to cluster for.
The 2010 presentation by Baum, Nichols, Schaffer titled: Evaluating one-way and two-way cluster-robust covariance matrix estimates (http://www.stata.com/meeting/boston10/boston10_baum.pdf) also discusses this issue, however I am not clear as how to apply the formula provided in slide 27 in Stata.
Any insight will be greatly appreciated.
I am working with a short individual level panel dataset from a single country in which I merged a number of macro level variables that are grouped at different levels. For example, I have the unemployment level by sex and age, the unemployment level at the time of labour market entry and the percentage change in the supply of labour by occupation.
I am using a panel probit model to find the effect of a number of micro and the above mentioned macro variables on the likelihood of a person being in a job matching their skills versus being mismatched.
Here is the code I used without including the macro variables :
Code:
xtprobit mismatched age experience gender disabled married, vce(cluster id)
I am aware of the cgmreg ado file used in “Robust Inference with multi-way clustering” by Cameron, Gelbach, and Miller (2006, NBER TWP 327), found on: http://gelbach.law.upenn.edu/~gelbach/ado/cgmreg.ado, however I am not clear as to whether this can be used with probit specifications.
Moreover, given that my aggregate variables are grouped by different combinations of variables, for example "age and sex" for the unemployment level; "year of labour market entry" for the unemployment at labour market entry variable and "occupation" for the percentage change in labour supply variable, I am not clear as to how to choose the variables I need to cluster for.
The 2010 presentation by Baum, Nichols, Schaffer titled: Evaluating one-way and two-way cluster-robust covariance matrix estimates (http://www.stata.com/meeting/boston10/boston10_baum.pdf) also discusses this issue, however I am not clear as how to apply the formula provided in slide 27 in Stata.
Any insight will be greatly appreciated.
Comment