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!
Related Posts with Counterfactual decomposition in Stata
Logistic RegressionI am fairly new to Statistics. I have a large datatset where N=50,000. I have a dichotomous outcome …
Direct effect switches sign when moderator is added - what does this mean?Hello! I have examined a panel and performed various analyses in STATA, whose results you can see …
short term and long term analysisHello everyone, I want to test the short-term and long-term impact of a certain independent variabl…
Error r(603) has suddenly started to occur in Mac OSRunning Stata 17 on Mac OS 11.6.6. Until two days ago (1/6/22) I was able to run the following comm…
A Solution for Publication Quality Regression Tables (from STATA to .DOC)Dear friends, I often use Latex to generate publication-quality tables and figures and the STATA-La…
Subscribe to:
Post Comments (Atom)
0 Response to Counterfactual decomposition in Stata
Post a Comment