![]() Chapter Contents |
![]() Previous |
![]() Next |
HISTOGRAM Statement |
The following tables list the HISTOGRAM statement options by function. For detailed descriptions, see "Dictionary of Options".
Table 4.1 lists options that display a parametric density estimate on the histogram.
Table 4.1: Parametric Distribution OptionsBETA(beta-options) | fits beta distribution with
threshold parameter ![]() ![]() ![]() ![]() |
EXPONENTIAL(exponential-options) | fits exponential distribution
with threshold parameter ![]() ![]() |
GAMMA(gamma-options) | fits gamma distribution
with
threshold parameter ![]() ![]() ![]() |
LOGNORMAL(lognormal-options) | fits lognormal distribution
with
threshold parameter ![]() ![]() ![]() |
NORMAL(normal-options) | fits normal distribution
with mean ![]() ![]() |
SB(SB-options) | fits Johnson SB distribution
with
threshold parameter ![]() ![]() ![]() ![]() |
SU(SU-options) | fits Johnson SU distribution
with
location parameter ![]() ![]() ![]() ![]() |
WEIBULL(Weibull-options) | fits Weibull distribution
with
threshold parameter ![]() ![]() |
Table 4.2 through Table 4.10 list options that specify parameters for fitted parametric distributions and that control the display of fitted curves. Specify these options in parentheses after the distribution keyword. For example, the following statements fit a normal curve with the keyword NORMAL:
proc capability; histogram / normal(color=red mu=10 sigma=0.5); run;The COLOR= normal-option draws the curve in red, and the MU= and SIGMA= normal-options specify the parameters
COLOR=color | specifies color of fitted density curve |
FILL | fills area under fitted density curve |
INDICES | calculates capability indices based on fitted distribution |
L=linetype | specifies line type of fitted curve |
MIDPERCENTS | prints table of midpoints of histogram intervals |
NOPRINT | suppresses printed output summarizing fitted curve |
PERCENTS=value-list | lists percents for which quantiles calculated from data and quantiles estimated from fitted curve are tabulated |
SYMBOL='character' | specifies character used to plot fitted density curve if histogram is produced on a line printer |
W=n | specifies width of fitted density curve |
Table 4.3: Beta-Options
ALPHA=value | specifies first shape parameter ![]() |
BETA=value | specifies second shape parameter ![]() |
SIGMA=value|EST | specifies scale parameter ![]() |
THETA=value|EST | specifies lower threshold parameter ![]() |
Table 4.4: Exponential-Options
SIGMA=value | specifies scale parameter ![]() |
THETA=value|EST | specifies threshold parameter ![]() |
Table 4.5: Gamma-Options
ALPHADELTA=value | specifies change in successive estimates of ![]() ![]() |
ALPHAINITIAL=value | specifies initial value for ![]() ![]() |
MAXITER=n | specifies maximum number of iterations in Newton-Raphson
approximation of ![]() |
SIGMA=value | specifies scale parameter ![]() |
ALPHA=value | specifies shape parameter ![]() |
THETA=value|EST | specifies threshold parameter ![]() |
Table 4.6: Lognormal-Options
ZETA=value | specifies scale parameter ![]() |
SIGMA=value | specifies shape parameter ![]() |
THETA=value|EST | specifies threshold parameter ![]() |
Table 4.7: Normal-Options
MU=value | specifies mean ![]() |
SIGMA=value | specifies standard deviation ![]() |
Table 4.8: SB-Options
DELTA=value | specifies first shape parameter ![]() |
FITINTERVAL=value | specifies z-value for method of percentiles |
FITMETHOD=MLE| PERCENTILE| MOMENTS | specifies method of parameter estimation |
GAMMA=value | specifies second shape parameter ![]() |
SIGMA=value|EST | specifies scale parameter ![]() |
THETA=value|EST | specifies lower threshold parameter ![]() |
FITTOLERANCE=value | specifies tolerance for method of percentiles |
DELTA=value | specifies first shape parameter ![]() |
FITINTERVAL=value | specifies z-value for method of percentiles |
FITMETHOD=MLE| PERCENTILE| MOMENTS | specifies method of parameter estimation |
GAMMA=value | specifies second shape parameter ![]() |
SIGMA=value|EST | specifies scale parameter ![]() |
THETA=value|EST | specifies lower threshold parameter ![]() |
FITTOLERANCE=value | specifies tolerance for method of percentiles |
C=value | specifies shape parameter c for fitted Weibull curve |
CDELTA=value | specifies change in successive estimates of c
at which the Newton-Raphson approximation of ![]() |
CINITIAL=value | specifies initial value for c in Newton-Raphson
approximation of ![]() |
MAXITER=n | specifies maximum number of iterations in Newton-Raphson
approximation of ![]() |
SIGMA=value | specifies scale parameter ![]() |
THETA=value|EST | specifies threshold parameter ![]() |
KERNEL(kernel-options) | fits kernel density estimates |
Specify the options listed in Table 4.12 in parentheses after the keyword KERNEL to control features of kernel density estimates requested with the KERNEL option.
Table 4.12: Kernel-OptionsC=value | MISE | specifies standardized bandwidth parameter c for fitted kernel density estimate |
COLOR=color | specifies color of the fitted kernel density curve |
FILL | fills area under fitted kernel density curve |
K=NORMAL | QUADRATIC | TRIANGULAR | specifies type of kernel function |
L=linetype | specifies line type used for fitted kernel density curve |
SYMBOL='character' | specifies character used to plot fitted kernel density curve if the histogram is produced on a line printer |
W=n | specifies line width for fitted kernel density curve |
CURVELEGEND=name | NONE | specifies LEGEND statement for curves |
FORCEHIST | forces creation of histogram |
HANGING | constructs hanging histogram |
HREF=value-list | specifies reference lines perpendicular to the horizontal axis |
HREFLABELS='label1' ... 'labeln' | specifies labels for HREF=lines |
MIDPERCENTS | prints table of histogram intervals |
MIDPOINTS=value-list | lists midpoints for histogram intervals |
NOBARS | suppresses histogram bars |
NOCURVELEGEND | suppresses legend for curves |
NOFRAME | suppresses frame around plotting area |
NOLEGEND | suppresses legend |
NOPLOT | suppresses plot |
NOSPECLEGEND | suppresses specifications legend |
RTINCLUDE | includes right endpoint in interval |
SPECLEGEND=name | NONE | specifies LEGEND statement for specification limits |
VREF=value-list | specifies reference lines perpendicular to the vertical axis |
VREFLABELS='label1' ... 'labeln' | specifies labels for VREF= lines |
VSCALE=COUNT | PERCENT | PROPORTION | specifies scale for vertical axis |
Table 4.14: Options to Create Output Data Sets
OUTFIT=SAS-data-set | specifies information on fitted curves |
OUTHISTOGRAM=SAS-data-set | specifies information on histogram intervals |
Table 4.15: Options to Enhance Histograms Produced on Line Printers
HREFCHAR='character' | specifies line character for HREF=lines |
VREFCHAR='character' | specifies line character for VREF= lines |
ANNOTATE=SAS-data-set | specifies annotate data set |
CAXIS=color | specifies color for axis |
CBARLINE=color | specifies color of outlines of histogram bars |
CFILL=color | specifies color for filling under curve |
CFRAME=color | specifies color for frame |
CHREF=color | specifies color for HREF=lines |
CTEXT=color | specifies color for text |
CVREF=color | specifies color for VREF= lines |
DESCRIPTION='string' | specifies description for plot in graphics catalog |
FONT=font | specifies software font for text |
HAXIS=name | specifies AXIS statement for horizontal axis |
HMINOR=n | specifies number of horizontal minor tick marks |
LEGEND=name | NONE | identifies LEGEND statement |
LHREF=linetype | specifies line style for HREF=lines |
LVREF=linetype | specifies line style for VREF= lines |
MIDPTAXIS=name | specifies name of AXIS statement for horizontal axis |
NAME='string' | specifies name for plot in graphics catalog |
PCTAXIS=name|value-list | specifies AXIS statement or values for vertical axis |
PFILL=pattern | specifies pattern for filling under curve |
VAXIS=name|value-list | specifies AXIS statement or values for vertical axis |
VMINOR=n | specifies number of vertical minor tick marks |
WBARLINE=n | specifies line thickness for bar outlines |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.