Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the new dataset (Demog_ae) and IF THEN DO statements, create two variables as follows: 1) Among males only (sex_cod=M), create a new variable called
Using the new dataset (Demog_ae) and IF THEN DO statements, create two variables as follows: 1) Among males only (sex_cod="M"), create a new variable called cardio if PT="Cardiomyopathy" or "Myopathy". Set the value of cardio to 1 if these events are present or 0 if they're not 2) Among females only (sex_cod=F), create a new variable called osteo if PT=Osteoarthritis. Set the value of Osteo to 1 if arthritis is present or 0 if absent. Paste your SAS code in the box
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started