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
option 'nomeans' in multigroup analysesHello I am currently working on a multi-group SEM. I've always fitted models with the option 'nomea…
Merge annual data & daily dataHello Statalist members, I'm trying to use Compustat Global annual data and daily data to calcula…
SEM Problems of convergenceHi, I am trying to run a simple SEM model. When I replace a variable of my model for another I do n…
Plotting between-individual variance from multilevel growth curve model with splinesDear Statalist, *this is my first post, I hope I haven't gotten it all wrong I am estimating growth …
Turn categorical variables into separate columnsDear members, I'm stuck on a data reshaping problem. I'm including an example data to ease your und…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a dummy variable
Post a Comment