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
matrix var nov with zeros for base dummy levelDear friends from the State community : I estimated a model with dummy variables but when I take a l…
2SLS with an instrumented variable as an instrumentHello, I am studying the effect of Foreign Direct Investment (FDI) presence in an industry on the p…
Network Meta analysis Dear All, I am trying to run a network meta analysis for weight loss for intervention method for e…
List of institutesHiii, I have data of various institutes month wise. There is a column named institute code and anoth…
4-year interval and retardation variableDear all: I use fixed-effect threshold model to study the effect of aid on FDI. The data is yearly …
Subscribe to:
Post Comments (Atom)
0 Response to Counterfactual decomposition in Stata
Post a Comment