The PROBIT Procedure |
IPPPLOT Statement |
The IPPPLOT statement plots the inverse of the predicted probability against a single continuous variable (dose variable) in the MODEL statement for the binomial model. You can only use this statement after a binomial model statement. The confidence limits for the predicted values of the dose variable are the computed fiducial limits, not the inverse of the confidence limits of the predicted probabilities. Refer to the section Inverse Confidence Limits for more details.
specifies a single continuous variable (dose variable) in the independent variable list of the MODEL statement. If a VAR= variable is not specified, the first single continuous variable in the independent variable list of the MODEL statement is used. If such a variable does not exist in the independent variable list of the MODEL statement, an error is reported.
For the binomial model, the response variable is a probability. An estimate of the dose level needed for a response of is given by
where is the cumulative distribution function used to model the probability, is the vector of the rest of the covariates, is the vector of the estimated parameters corresponding to , and is the estimated parameter for the dose variable of interest.
To plot as a function of , must be specified. You can use the XDATA= option to provide the values of (see the XDATA= option in the PROC PROBIT statement for details), or use the default values that follow the rules:
If the effect contains a continuous variable (or variables), the overall mean of this effect is used.
If the effect is a single classification variable, the highest level of the variable is used.
You can use options in the IPPPLOT statement to do the following:
superimpose specification limits
suppress or add the observed data points on the plot
suppress or add the fiducial limits on the plot
specify graphical enhancements (such as color or text height)
Table 71.12 through Table 71.18 list all options by function. The Dictionary of Options describes each option in detail.
NOCONF |
suppresses fiducial limits |
NODATA |
suppresses observed data points on the plot |
NOTHRESH |
suppresses the threshold line |
THRESHLABPOS=value |
specifies the position for the label of the threshold line |
CAXIS=color |
specifies color for axis |
CFIT=color |
specifies color for fitted curves |
CFRAME=color |
specifies color for frame |
CGRID=color |
specifies color for grid lines |
CHREF=color |
specifies color for HREF= lines |
CTEXT=color |
specifies color for text |
CVREF=color |
specifies color for VREF= lines |
ANNOTATE=SAS-data-set |
specifies an Annotate data set |
INBORDER |
requests a border around plot |
LFIT=linetype |
specifies line style for fitted curves and confidence limits |
LGRID=linetype |
specifies line style for grid lines |
NOFRAME |
suppresses the frame around plotting areas |
NOGRID |
suppresses grid lines |
NOFIT |
suppresses fitted curves |
NOHLABEL |
suppresses horizontal labels |
NOHTICK |
suppresses horizontal ticks |
NOVTICK |
suppresses vertical ticks |
TURNVLABELS |
vertically strings out characters in vertical labels |
WFIT=n |
specifies thickness for fitted curves |
WGRID=n |
specifies thickness for grids |
WREFL=n |
specifies thickness for reference lines |
HAXIS=value1 to value2 <by value3> |
specifies tick mark values for horizontal axis |
HOFFSET=value |
specifies offset for horizontal axis |
HLOWER=value |
specifies lower limit on horizontal axis scale |
HUPPER=value |
specifies upper limit on horizontal axis scale |
NHTICK=n |
specifies number of ticks for horizontal axis |
NVTICK=n |
specifies number of ticks for vertical axis |
VAXIS=value1 to value2 <by value3> |
specifies tick mark values for vertical axis |
VAXISLABEL=’label’ |
specifies label for vertical axis |
VOFFSET=value |
specifies offset for vertical axis |
VLOWER=value |
specifies lower limit on vertical axis scale |
VUPPER=value |
specifies upper limit on vertical axis scale |
WAXIS=n |
specifies thickness for axis |
HREF<(INTERSECT)>=value-list |
requests horizontal reference line |
HREFLABELS=(’label1’,...,’labeln’) |
specifies labels for HREF= lines |
HREFLABPOS= |
specifies vertical position of labels for HREF= lines |
LHREF=linetype |
specifies line style for HREF= lines |
LVREF=linetype |
specifies line style for VREF= lines |
VREF<(INTERSECT)>=value-list |
requests vertical reference line |
VREFLABELS=(’label1’,...,’labeln’) |
specifies labels for VREF= lines |
VREFLABPOS= |
specifies horizontal position of labels for VREF= lines |
DESCRIPTION=’string’ |
specifies description for graphics catalog member |
NAME=’string’ |
specifies name for plot in graphics catalog |
FONT=font |
specifies software font for text |
HEIGHT=value |
specifies height of text used outside framed areas |
INFONT=font |
specifies software font for text inside framed areas |
INHEIGHT=value |
specifies height of text inside framed areas |
The following entries provide detailed descriptions of the options in the IPPPLOT statement.
specifies an Annotate data set, as described in SAS/GRAPH Software: Reference, that enables you to add features to the ipp plot. The ANNOTATE= data set you specify in the IPPPLOT statement is used for all plots created by the statement.
specifies the color used for the axes and tick marks. This option overrides any COLOR= specifications in an AXIS statement. The default is the first color in the device color list.
specifies the color for the fitted ipp curves. The default is the first color in the device color list.
specifies the color for the area enclosed by the axes and frame. This area is not shaded by default.
specifies the color for grid lines. The default is the first color in the device color list.
specifies the color for lines requested by the HREF= option. The default is the first color in the device color list.
specifies the color for tick mark values and axis labels. The default is the color specified for the CTEXT= option in the most recent GOPTIONS statement.
specifies the color for lines requested by the VREF= option. The default is the first color in the device color list.
specifies a description, up to 40 characters, that appears in the PROC GREPLAY master menu. The default is the variable name.
specifies a software font for reference line and axis labels. You can also specify fonts for axis labels in an AXIS statement. The FONT= font takes precedence over the FTEXT= font specified in the most recent GOPTIONS statement. Hardware characters are used by default.
specifies tick mark values for the horizontal axis; value1, value2, and value3 must be numeric, and value1 must be less than value2. The lower tick mark is value1. Tick marks are drawn at increments of value3. The last tick mark is the greatest value that does not exceed value2. If value3 is omitted, a value of 1 is used.
Examples of HAXIS= lists follow:
haxis = 0 to 10 haxis = 2 to 10 by 2 haxis = 0 to 200 by 10
specifies the height of text used outside framed areas. The default value is 3.846 (in percentage).
specifies the lower limit on the horizontal axis scale. The HLOWER= option specifies value as the lower horizontal axis tick mark. The tick mark interval and the upper axis limit are determined automatically. This option has no effect if the HAXIS= option is used.
specifies offset for horizontal axis. The default value is 1.
specifies value as the upper horizontal axis tick mark. The tick mark interval and the lower axis limit are determined automatically. This option has no effect if the HAXIS= option is used.
requests reference lines perpendicular to the horizontal axis. If (INTERSECT) is specified, a second reference line perpendicular to the vertical axis is drawn that intersects the fit line at the same point as the horizontal axis reference line. If a horizontal axis reference line label is specified, the intersecting vertical axis reference line is labeled with the vertical axis value. See also the CHREF=, HREFLABELS=, and LHREF= options.
specifies labels for the lines requested by the HREF= option. The number of labels must equal the number of lines. Enclose each label in quotes. Labels can be up to 16 characters.
specifies the vertical position of labels for HREF= lines. The following table shows valid values for n and the corresponding label placements.
n |
label placement |
1 |
top |
2 |
staggered from top |
3 |
bottom |
4 |
staggered from bottom |
5 |
alternating from top |
6 |
alternating from bottom |
specifies a line style for fitted curves and confidence limits. By default, fitted curves are drawn by connecting solid lines (linetype = 1) and confidence limits are drawn by connecting dashed lines (linetype = 3).
specifies a line style for all grid lines. The value for linetype must be between 1 and 46. The default is 35.
specifies the line type for lines requested by the HREF= option. The default is 2, which produces a dashed line.
specifies the line type for lines requested by the VREF= option. The default is 2, which produces a dashed line.
specifies a name for the plot, up to eight characters, that appears in the PROC GREPLAY master menu. The default is ’PROBIT’.
specifies the vertical position of labels for the threshold line. The following table shows valid values for n and the corresponding label placements.
n |
label placement |
1 |
top |
2 |
bottom |
specifies tick mark values for the vertical axis; value1, value2, and value3 must be numeric, and value1 must be less than value2. The lower tick mark is value1. Tick marks are drawn at increments of value3. The last tick mark is the greatest value that does not exceed value2. This method of specification of tick marks is not valid for logarithmic axes. If value3 is omitted, a value of 1 is used.
Examples of VAXIS= lists follow:
vaxis = 0 to 10 vaxis = 0 to 2 by .1
specifies the lower limit on the vertical axis scale. The VLOWER= option specifies value as the lower vertical axis tick mark. The tick mark interval and the upper axis limit are determined automatically. This option has no effect if the VAXIS= option is used.
requests reference lines perpendicular to the vertical axis. If (INTERSECT) is specified, a second reference line perpendicular to the horizontal axis is drawn that intersects the fit line at the same point as the vertical axis reference line. If a vertical axis reference line label is specified, the intersecting horizontal axis reference line is labeled with the horizontal axis value. See also the CVREF=, LVREF=, and VREFLABELS= options.
specifies labels for the lines requested by the VREF= option. The number of labels must equal the number of lines. Enclose each label in quotes. Labels can be up to 16 characters.
specifies the horizontal position of labels for VREF= lines. The following table shows valid values for n and the corresponding label placements.
n |
label placement |
1 |
left |
2 |
right |
specifies the upper limit on the vertical axis scale. The VUPPER= option specifies value as the upper vertical axis tick mark. The tick mark interval and the lower axis limit are determined automatically. This option has no effect if the VAXIS= option is used.
specifies line thickness for axes and frame. The default value is 1.
specifies line thickness for fitted curves. The default value is 1.
specifies line thickness for reference lines. The default value is 1.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.