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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.