Hi there,
I have a date variable formatted as 1980m1 etc. I want to create a dummy variable which is equal to 1 if an individual was born between say 1981m12 to 1983m2 and 0 otherwise.
Your assistance is kindly needed.
Prince
Related Posts with Creating a dummy variable
Panel data anaysisI have panel data for 34 countries and four independent variables to determine their impacts on Expo…
DV DifferencesHi all, In my regression, I should enter Y(t1)-Y(t0) as a dependent variable where t1 and t0 are 10…
Rearranging data using stata codeDear Stata Users, I would like to rearrange the following data sets using a specific "stata-code" r…
Ologit: conditional marginal effect and semi-elastictyDear All, After estimating an ordered logit model, I want to to calculate and draw the plot of cond…
Meta-analysis of individual patient data (one-step) - time to event in the presence of competing-risksHi, I am wondering whether anyone can help with a problem I am having synthesizing data for a meta-…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a dummy variable
Post a Comment