This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I am trying to create a table just showing the preferred ethnic nomenclature by age group
My code
****Age
gen age = 2024 - q106_1
egen generation = cut(age), at(0 18 28 43 59 78) label label define age_group_labels 1 "Gen Z (18-27)" 2 "Millennial (28-42)" 3 "Gen X (43-58)" 4 "Baby Boomer (59-77)" 5 "Silent Generation (78-95)"
label values generation age_group_labels
label variable age "Age"
label variable generation "Generation"
*** Ethnic Nomenclature recode q53 (1=1 "Tribal Name") (2=2 "Native American") (3=3 "American Indian") (4=4 "Indigenous") (5=5 "Alaskan Native") (6=6 "Native Hawaiian") (7=7 "First Nations") (8=8 "Other"), gen(prefethnicnom)
label variable prefethnicnom "Preferred Ethnic Nomenclature"
Ideally I would like something that looks like this
Generation | Preferred Ethnic Nomenclature |
---|---|
Gen Z | Native American |
Millennial | Native American |
Gen X | American Indian |
Boomer | Your Mom |
Subreddit
Post Details
- Posted
- 11 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/stata/comme...