I am trying to analyse the change in wage differentials between men and women in the Netherlands, using OSA 1990 and 2010.
Based on the model proposed by Chernozhukov, V., I. Fernández-Val, and B. Melly (2013), I want to do a counterfactual analysis based on a distribution regression.
I converted the variables gender (female=1), marital status(married or living together =1), country of origin (dutch = 1), education (high education=1) and age (older than 38=1) into dummy variables.
However, when executing the counterfactual command in Stata 17 as follows:
counterfactual log_income marital origin education old group(gen) method(logit)
I get the following error:
factor-variable and time-series operators not allowed (101)
Can somebody help me solving this problem or proposing a different approach?
Thanks in advance!
0 Response to Counterfactual decomposition in Stata
Post a Comment