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
xtreg fe, drop estimated constant in stored results?Hi, I have panel data (firmid, timeid) and want a table in latex (using esttab) with two model spec…
Problem with distplotHi, I'm trying to plot a distribution with distplot. I'm using this command: Code: distplot var1 …
Solution to the small sample size?Hi All, I have tried searching for a similar case but haven't found it yet! I need to run a regress…
MergingHi I ran the following mixlogit (with 409 individuals expanded 12 = 4908 observations) mixlogit choi…
Panel data - DV continuous variable with many true zerosI am new to this forum and know only basic econometrics(self-studied). As a part of my research, I a…
Subscribe to:
Post Comments (Atom)
0 Response to Creating age-range variable
Post a Comment