I am working on a medical project and need help with coding. Here is my problem:
- My dependent variable is continuous ('Y').
- My independent variables include a mixture of about 10 continuous and categorical variables, with 'X' being the main variable of interest.
- My goal is to determine the relative risk for 'X' while controlling for covariates (A, B, C, D).
I tried using PROC GLM
, but it does not provide relative risk. I understand that PROC GENMOD
is typically used for categorical dependent variables.
Could someone provide an example of SAS code to calculate the relative risk for my variable 'X'?