I want to simulate to generate a case-control data, case: with Alzheimer's disease, control: without Alzheimer's disease. The variables included in both groups are: age <50,99 in the case group and 101 in the control group, 50 ≥ age ≤ 54, 273 in the case group and 274 in the control group, 55 ≤ age ≤ 59 679 in the case group and 678 in the control group; Exposure: whether or not estradiol was used, there were 372 patients using estradiol, and 374 patients who did not use estradiol. patients had 374. exposure x vs. y, no significant difference, OR = 1.09, (1.05 to 1.14). But I don't know how to generate such data in one go, please guide me.
... View more