<label:>ANALYZE
variable <
censor-variable(values)> <=group-variables> </ options> ;
<label:>ANALYZE
(variable1 variable2) <=group-variables> </ options> ;
<label:>ANALYZE
variable1(variable2) <=group-variables> </ options> ;
You use the ANALYZE statement to estimate the parameters of the probability distribution specified in the DISTRIBUTION statement without producing any graphical output. The ANALYZE statement performs the same analysis as the PROBPLOT statement, but it does not produce any plots. In addition, you can use the ANALYZE statement to analyze data with the binomial and Poisson distributions. The third format for the preceding ANALYZE statement applies only to Poisson and binomial data. You can use any number of ANALYZE statements after a PROC RELIABILITY statement; each ANALYZE statement produces a separate analysis. You can specify an optional label to distinguish between multiple ANALYZE statements in the output.
You must specify one variable. If your data are right censored, you must specify a censor-variable and, in parentheses, the values of the censor-variable that correspond to censored data values.
If you are using the binomial or Poisson distributions, you must specify variable1 to represent a binomial or Poisson count and variable2 to provide an exposure measure for the Poisson distribution or the binomial sample size for the binomial distribution.
You can optionally specify one or two group-variables. The ANALYZE statement produces an analysis for each level combination of the group-variable values. The observations in a given level are referred to as a cell.
The elements of the ANALYZE statement are described as follows.
The following tables summarize the options available in the ANALYZE statement. You can specify one or more of these options to control the parameter estimation and provide optional analyses.
Table 16.4: Analysis Options for Distributions Other Than Poisson or Binomial
Option |
Option Description |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CONFIDENCE=number |
Specifies the confidence coefficient for all confidence intervals. Specify a number between 0 and 1. The default value is 0.95. |
||||||||||||||||
CONVERGE=number |
Specifies the convergence criterion for maximum likelihood fit. See the section Maximum Likelihood Estimation for details. |
||||||||||||||||
CONVH=number |
Specifies the convergence criterion for the relative Hessian convergence criterion. See the section Maximum Likelihood Estimation for details. |
||||||||||||||||
CORRB |
Requests the parameter correlation matrix. |
||||||||||||||||
COVB |
Requests the parameter covariance matrix. |
||||||||||||||||
FITTYPE | FIT= fit-specification |
Specifies the method of estimating distribution parameters. The available fit-specifications and their meanings are shown in the following table. |
||||||||||||||||
|
|||||||||||||||||
INEST | IN=SAS-data-set |
Specifies a SAS data set that can contain initial values, equality constraints, upper bounds, or lower bounds for the scale, shape, and threshold parameters in a three-parameter Weibull model for lifetime data. Applies only to three-parameter Weibull models. See the section INEST Data Set for the Three-Parameter Weibull for details. |
||||||||||||||||
ITPRINT |
Requests the iteration history for maximum likelihood fit. |
||||||||||||||||
ITPRINTEM |
Requests the iteration history for the Turnbull algorithm. |
||||||||||||||||
LRCL |
Requests likelihood ratio confidence intervals for distribution parameters. |
||||||||||||||||
LRCLPER |
Requests likelihood ratio confidence intervals for distribution percentiles. |
||||||||||||||||
Requests likelihood ratio confidence intervals for survival and cumulative distribution functions at times specified with the SURVTIME=number-list option. |
|||||||||||||||||
LOCATION=number <LINIT> |
Specifies fixed or initial value of location parameter. |
||||||||||||||||
MAXIT=number |
Specifies the maximum number of iterations allowed for maximum likelihood fit. |
||||||||||||||||
MAXITEREM | |
|||||||||||||||||
MAXITEM=number1 <,number2> |
number1 specifies the maximum number of iterations allowed for Turnbull algorithm. Iteration history is printed in increments of number2 if requested with ITPRINTEM. See the section Interval-Censored Data for details. |
||||||||||||||||
NOPCTILES |
Suppresses computation of percentiles. |
||||||||||||||||
NOPOLISH |
Suppresses the setting of small interval probabilities to 0 in the Turnbull algorithm. See the section Interval-Censored Data for details. |
||||||||||||||||
PCTLIST=number-list |
Specifies a list of percentages for which to compute percentile estimates. number-list must be a list of numbers separated by blanks or commas. Each number in the list must be between 0 and 100. If this option is not specified, percentiles are computed for a standard list of percentages. |
||||||||||||||||
PPOS=plotting-position |
Specifies the plotting-position type used to compute nonparametric estimates of the probability distribution function. See the section Probability Plotting for details. The available plotting-position types are shown in the following table. |
||||||||||||||||
|
|||||||||||||||||
PPOUT |
Requests a table of cumulative probabilities. |
||||||||||||||||
PRINTPROBS |
Print intervals and associated probabilities for the Turnbull algorithm. |
||||||||||||||||
PROBLIST=number-list |
Specifies a list of initial values for Turnbull algorithm. See the section Interval-Censored Data for details. |
||||||||||||||||
PSTABLE=number |
Specifies stable parameterization. The number must be between 0 and 1. See the section Stable Parameters for further information. |
||||||||||||||||
READOUT |
Analyzes readout data. |
||||||||||||||||
SCALE=number <SCINIT> |
Specifies the fixed or initial value of scale parameter. |
||||||||||||||||
SHAPE=number <SHINIT> |
Specifies the fixed or initial value of shape parameter. |
||||||||||||||||
SINGULAR=number |
Specifies the singularity criterion for matrix inversion. |
||||||||||||||||
Requests that the survival function, cumulative distribution function, and confidence limits be computed for values in number-list. See the section Reliability Function for details. |
|||||||||||||||||
THRESHOLD=number |
Specifies a fixed threshold parameter. See Table 16.57 for the distributions with a threshold parameter. |
||||||||||||||||
TOLLIKE=number |
Specifies the criterion for convergence in the Turnbull algorithm. The default is . See the section Interval-Censored Data for details. |
||||||||||||||||
TOLPROB=number |
Specifies the criterion for setting interval probability to 0 in the Turnbull algorithm. Default is . See the section Interval-Censored Data for details. |
Table 16.5: Analysis Options for Poisson and Binomial Distributions
Option |
Option Description |
---|---|
CONFIDENCE=number |
Specifies the confidence coefficient for all confidence intervals. Specify a number between 0 and 1. The default value is 0.95. |
PREDICT(number) |
Requests predicted counts for exposure number for Poisson or sample size number for binomial. |
TOLERANCE(number) |
Requests exposure for Poisson or sample size for binomial to estimate Poisson rate or binomial probability within number with probability given by the CONFIDENCE= option. |