Having trouble with creating a fully adjusted logistic model using proc gampl at this stage:
We were trying to get a smoothed out spline figure for the adjusted model...
This is the error message:
title "Age as covariate";
proc data = forgampl3;
id Ind_DBP1 Vent__240;
model Vent__240(reference ='0') = spline(Ind_DBP1) spline(age)
Sex_num Redo1 NIDDM1 COPD Hyperlip CHF Afib CM CAD MI AICD DDRF PVD BB Steroids Amio AA1 Statin1 Nitrates1 Diurectics1 IABP_ever1
Age pre_Na pre_BUN pre_Cr pre_Gluc pre_PTT pre_Neutr o pre_Lymph pre_Hgb
/ dist=binary;
output out = spline3age upper = u lower = l predicted = fit;
run;
The only thing I just tried was adding param ( ) to the covariates in the proc gampl statement.
Any thoughts?
param (
Redo1 NIDDM1 COPD Hyperlip CHF Afib CM CAD MI AICD DDRF PVD BB Steroids Amio AA1 Statin1 Nitrates1 Diurectics1 IABP_ever1
/* Age pre_Na pre_BUN pre_Cr pre_Gluc pre_PTT pre_Neutro pre_Lymph pre_Hgb */
)
Thanks Steve.
Yes it does. I had uploaded the code I had used in my original question but do not see it there now.
That happens alot when I start a new thread. It takes several attempts to get it to actually post.
Much appreciated.
Christos
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.