| inflogis | Influence plots for logistic regression | inflogis |
The arguments may be listed within parentheses in any order, separated by commas. For example:
%include data(arthrit);
%inflogis(data=arthrit,
y=better,
x=_sex_ _treat_ age,
id=case,
);
Specifies the name of the input data set to be analyzed.
[Default: DATA=_LAST_]
Name of the response variable
Name of trials variable (for event/trials syntax)
Names of predictors
Names of class variables among predictors (V8)
Name of observation ID variable (char)
Name of the output data set [Default: OUT=_DIAG_]
Ordinate for plot: DIFDEV or DIFCHISQ [Default: GY=DIFDEV]
Abscissa for plot: PRED or HAT [Default: GX=PRED]
Bubble proportional to: C or CBAR [Default: BUBBLE=C]
Points to label: ALL, NONE, or INFL [Default: LABEL=INFL]
DIFDEV/DIFCHISQ criterion for infl pts [Default: DEV=4]
Specifies the criterion used to determine which observations
are influential (when used with LABEL=INFL).
[Default: INFL=%STR(DIFCHISQ > &DEV OR &BUBBLE > 1)]
Observation label size. The height of other text is controlled
by the HTEXT= goption. [Default: LSIZE=1.5]
Observation label color [Default: LCOLOR=BLACK]
Observation label position [Default: LPOS=5]
Font used for observation labels.
Bubble size scale factor [Default: BSIZE=10]
Bubble size proportional to AREA or RADIUS [Default: BSCALE=AREA]
Bubble color [Default: BCOLOR=BLACK]
Bubble fill? Options are BFILL=SOLID | GRADIENT, where the
latter uses a gradient version of BCOLOR
Color of reference lines [Default: REFCOL=BLACK]
Line style for reference lines; 0->NONE [Default: REFLIN=33]
Options for PROC LOGISTIC [Default: LOPTIONS=NOPRINT]
Name of the graph in the graphic catalog [Default: NAME=INFLOGIS]
Name of the graphics catalog
The plots display the Chi-square difference when the observation is deleted vs. both thepredicted probability of succesful outcome and the leverage with the bubble size proportional to the Cook's D measure of influence.
%include macros(inflogis); *-- or include in an autocall library;
%include data(arthrit);
%inflogis(data=arthrit,
y=better,
x=_sex_ _treat_ age,
id=case,
gy=DIFCHISQ,
gx=PRED HAT,
lcolor=RED, bsize=14
);