BookmarkSubscribeRSS Feed
sandrawang
Calcite | Level 5
I used the following output options but only missing values are generated for the fields "peares" and "devres". Could any experience programmer tell what is wrong with that? Thanks very much.


proc logistic data = myDATA descending;


model y = xbeta1-xbeta5 /lackfit rsq;


output out = MODEL_OUTDATA p=prob_def reschi=peares resdev=devres xbeta=xbeta dfbetas=_ALL_ difdev = diff_dev difchisq = diff_chisq;

ods select ModelInfo ResponseProfile ConvergenceStatus FitStatistics RSquare
GlobalTests ParameterEstimates OddsRatios Association LackFitPartition LackFitChiSq;

run;
1 REPLY 1
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
I think these residuals (and other measures of Influence) are only calculated for a response variable with two levels (binary variable). Try putting the INFLUENCE option on the model statement, and in the Log you will get a message about certain statistics only be determined for binary responses. But for a binary variable, you will get the two kinds of residual directly in the Output (and in the Output file you create).
LVM

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1519 views
  • 0 likes
  • 2 in conversation