I will like to perform the following on sas.
I want to run a regression model of A with B, adjusted for C. A is a continous variable, B is a risk factor e.g. BP, BMI etc. C is age.
I tried this but didnt quite get it;
proc logistic data = DATASET outmodel=test1;
model A = C|B;
run;
proc glm data=dataset;
model a = c|b;
run; quit;
It's not clear to me what you are trying to do with OUTMODEL= in your original code.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.