Hi All,
I am using proc logistic procedure to consider to get Independent Predictors "Estimate, StdErr and ProbChiSq". Could you please guide me from procedure output which value we consider as Estimate value and other for statistical analysis.
/****************************************/
Proc logistic data=source;
class mref(ref='0')/param=glm;
model cancer(Event='1')= mref /firth;
ods output ParameterEstimates=parm;
run;
From the below table observation 1 or 2 which needs to considered to get "Estimate, StdErr and ProbChiSq".
ods output PARM dataset values:
OBS | VARIABLE | CLASSVAL0 | DF | ESTIMATE | STDERR | WALDCHISQ | PROBCHISQ | _ESTTYPE_ |
1 | INTERCEPT | 1 | 1.9513 | 0.3426 | 25.5141 | <.0001 | PMLE | |
2 | MREF | 1 | 1 | -1.1261 | 1.1296 | 0.96 | 0.3112 | PMLE |
3 | MREF | 0 | 0 | 0 | . | . | PMLE |
Thanks
Hello,
"Independent predictors"?
All candidate predictors are independent variables.
I have never heard about "independent predictors", that's a tautology.
Concerning your question:
mref is a class variable to which glm-coding is applied.
class mref(ref='0')/param=glm;
You have to learn about the coding schemes for class-effects : glm , effect coding (=deviation-from-the-mean coding), reference cell coding , ...
See here:
When interpreting coefficients from a class effect, you must know how it was coded (mandatory for proper interpretation)!
If you only have 0 and 1 values for your mref and mref is a variable having the numeric data type, then you might consider to include it as a "continuous" covariate in your linear predictor. Just get rid of the class statement.
Cheers,
Koen
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.