I have an age catagory variable that codes individuals age into the following categories: 20-40,40-60,60-80,80+. The data is panel data so individuals can change age categories and since were dealing with age, the categories have an ordinal meaning and not just a nominal one (meaning that 40-60 catagory is "above" 20-40). if I run something like:
xtreg y i.age_group
Stata decomposes age_group into dummies - which doesn't take into account that the difference between the age groups has meaning. how can I estimate something like that?
xtreg y i.age_group
Stata decomposes age_group into dummies - which doesn't take into account that the difference between the age groups has meaning. how can I estimate something like that?
Comment