Hello!
I would like to create a new age-range variable, which will be a breakdown of already existing age-range variable: at the moment I have age ranges of 0 to 24, 25 to 39, 40 to 49, and 50 to 59 for every country in the world. I would like to keep this one and also create a new variable which will have following age-ranges: <1, 1 to 4, 5 to 9, 10 to 14, 15 to 19... etc (with 4 year intervals) for every country. I understand there will need to be duplicates for already existing age ranges. I am having a hard time with coming up with a code, and would appreciate some help! Thank you!
Related Posts with Creating age-range variable
unifying the names of companies?Dear All, I have this data set. Code: * Example generated by -dataex-. For more info, type help dat…
help w r(103) error for reshaping dataHi, I'm trying to reshape a data set from wide to long but keep getting an error that there are too …
Cross Section Data --> PanelI've been trying to aggregate my current data set into a panel format. Currently the data is a cross…
profit efficiencyI am using a stochastic frontier approach to estimate the profit efficiency. But I am not sure how t…
Can asdoc output be exported as HTML?I would like to export asdoc (from SSC) or asdocx output as a HTML table? I searched the help files,…
Subscribe to:
Post Comments (Atom)
0 Response to Creating age-range variable
Post a Comment