Hello Guys,
I need to create a dummy variable which is equal to one if an individual is hit by a crisis at age a and that stays one thereafter.
In my Data I already have a variable which shows whether an individual is hit by a crisis(==1) or not(==0).
But I can't figure our how to create an indicator which stays one after an indivdual is hit by a crises earlier.
Thanks in advance.
Oliver
Related Posts with create an indicator
Generalized Difference-in-Differences with a moderator variable - repeated time values within panelHello Statalists! I'm currently calculating a generalized DiD model and I'm unsure if my approach is…
Multinomnial logit latent class model in panel dataHi all: I want to apply multinominal logit latent class model in my panel data. I know gsem, lc() o…
R squared after fixed effects estimation with mi estimate, post:Dear all, I’m using a multiple imputation with the command mi estimate, post: xtreg wage $xlist , fe…
Hausman Endogenity TestHi, I have a reverse causation system. Y1 = f(Y2, X) and Y2 =g(Y1, Z). Using IV both reverse casuat…
Parameter constraints in MLE estimation for SFAHello, I'm using the following commands after which I would like to set up constraints for the param…
Subscribe to:
Post Comments (Atom)
0 Response to create an indicator
Post a Comment