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
MlogitHi I am stuch with simple Mlogit. I appreciate help I am trying to see which regions are attracted b…
Regress data with multiple imputation using micombineDear stata-community, we are working on a regression model using SCF-data (https://www.federalreser…
format date variableHello, i have a date variable in my dataset which is type "long" and formated in the following way:…
generate a new variable (average over every two years)Dear StataList-ers! Help! I need somebody! My question is very basic. Panel data (countries, years…
Recognizing Texts ObservationsDear All, I have an issue with making STATA to recognize txt observations. I have a table that loo…
Subscribe to:
Post Comments (Atom)
0 Response to Counterfactual decomposition in Stata
Post a Comment