14.03.2014 Views

Quality and Reliability Methods - SAS

Quality and Reliability Methods - SAS

Quality and Reliability Methods - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

394 <strong>Reliability</strong> <strong>and</strong> Survival Analysis II Chapter 20<br />

Nonlinear Parametric Survival Models<br />

Small). The Squamous level is not shown, but it is calculated as the negative sum of the other estimates. Two<br />

example Risk Ratios for Cell Type calculations follow.<br />

Large/Adeno = exp(β Large )/exp(β Adeno ) = exp(-0.2114757)/exp(0.57719588) = 0.4544481<br />

Squamous/Adeno = exp[-(β Adeno + β Large + β Small )]/exp(β Adeno )<br />

= exp[-(0.57719588 + (-0.2114757) + 0.24538322)]/exp(0.57719588) = 0.3047391<br />

Reciprocal shows the value for 1/Risk Ratio.<br />

Nonlinear Parametric Survival Models<br />

This section shows how to use the Nonlinear platform for survival models. You only need to learn the<br />

techniques in this section if:<br />

• The model is nonlinear.<br />

• You need a distribution other than Weibull, lognormal, exponential, Fréchet, or loglogistic.<br />

• You have censoring that is not the usual right, left, or interval censoring.<br />

With the ability to estimate parameters in specified loss functions, the Nonlinear platform becomes a<br />

powerful tool for fitting maximum likelihood models. See the Modeling <strong>and</strong> Multivariate <strong>Methods</strong> book for<br />

complete information about the Nonlinear platform.<br />

To fit a nonlinear model when data are censored, you first use the formula editor to create a parametric<br />

equation that represents a loss function adjusted for censored observations. Then use the Nonlinear<br />

comm<strong>and</strong> in the Analyze > Modeling menu, which estimates the parameters using maximum likelihood.<br />

As an example, suppose that you have a table with the variable time as the response. First, create a new<br />

column, model, that is a linear model. Use the calculator to build a formula for model as the natural log of<br />

time minus the linear model, that is, ln(time) - B0 + B1*z where z is the regressor.<br />

Then, because the nonlinear platform minimizes the loss <strong>and</strong> you want to maximize the likelihood, create a<br />

loss function as the negative of the log-likelihood. The log-likelihood formula must be a conditional<br />

formula that depends on the censoring of a given observation (if some of the observations are censored).<br />

Loss Formulas for Survival Distributions<br />

The following formulas are for the negative log-likelihoods to fit common parametric models. Each formula<br />

uses the calculator if conditional function with the uncensored case of the conditional first <strong>and</strong> the<br />

right-censored case as the Else clause. You can copy these formulas from tables in the Loss Function<br />

Templates folder in Sample Data <strong>and</strong> paste them into your data table. “Loglogistic Loss Function” on<br />

page 395, shows the loss functions as they appear in the columns created by the formula editor.<br />

Exponential Loss Function<br />

The exponential loss function is shown in “Loglogistic Loss Function” on page 395, where sigma represents<br />

the mean of the exponential distribution <strong>and</strong> Time is the age at failure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!