Hi there,
I'd like to age/sex/education match 3 groups (genetic status: Apoe4 Homozygote, Apoe4 heterozygote, non carriers). Currently, I am able to match two groups (i.e., Apoe4 Homozygote and Apoe4 heterozygote) on two demographic variables (sex and age), but I am having trouble extending this to match the three genetic status groups on age (continuous), sex (male/female/prefer not to disclose) and years of education (positive integer). Any syntax suggestions or guidance would be greatly appreciated!
Currently, my dataset comprises the following variable columns:
id
education (in yrs, integer)
sex (female, male, prefer not to disclose)
age (continuous)
geneticStatus ( response options: 1 = Apoe4 Homozygote, 2 = Apoe4 heterozygote, 3 = non carrier)
https://www.statalist.org/forums/for...d-gender/page3
This discussion was helpful, but is only addresses 2 group levels (i.e., controls vs treatment), not 3.
Cheers,
Alex
Related Posts with Age/sex/education match 3 groups (Apoe4 Homozygote, Apoe4 Heterozygote, non carriers)
odbc load throwing error for long SQL queryI am trying to download data from a read-only database using odbc load, exec(). My SQL query is gene…
Define value label tand conver it to from a string variable to a numeric oneHello, My name is Christian and I am just beginning as a user of STATA. My question might be a bit …
dataset structure for cluster samplingi want to select 800 clusters from a listing of 2000 enumeration areas. my sampling strategy is syst…
Allocating monthly observation to daily dataHello, I am trying to allocate an observation which is recorded at the last day of a month to a dat…
Recoding into another variableI am at a loss here and would be grateful for any help: I have a string variable "Other-specify." S…
Subscribe to:
Post Comments (Atom)
0 Response to Age/sex/education match 3 groups (Apoe4 Homozygote, Apoe4 Heterozygote, non carriers)
Post a Comment