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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1132 views
  • 0 likes
  • 2 in conversation