14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

272 Performing Nonlinear Regression Chapter 9<br />

Statistical Details<br />

Figure 9.21 Diagram of Confidence Region<br />

Confidence Limit for Parameters<br />

95% confidence<br />

interval for b1<br />

approximate 95%<br />

confidence ellipse<br />

likelihood 95%<br />

confidence region<br />

95% confidence<br />

interval for b0<br />

Likelihood confidence intervals are more trustworthy than confidence intervals calculated from approximate<br />

st<strong>and</strong>ard errors. If a particular limit cannot be found, computations begin for the next limit. When you have<br />

difficulty obtaining convergence, try the following:<br />

• use a larger alpha, resulting in a shorter interval, more likely to be better behaved<br />

• use the option for second derivatives<br />

• relax the confidence limit criteria.<br />

How Custom Loss Functions Work<br />

The nonlinear facility can minimize or maximize functions other than the default sum of squares residual.<br />

This section shows the mathematics of how it is done.<br />

Suppose that f(β) is the model. Then the Nonlinear platform attempts to minimize the sum of the loss<br />

functions written as<br />

L =<br />

n<br />

<br />

i = 1<br />

ρ( f( β)<br />

)<br />

The loss function ρ (•)<br />

for each row can be a function of other variables in the data table. It must have<br />

nonzero first- <strong>and</strong> second-order derivatives. The default ρ (•)<br />

function, squared-residuals, is<br />

ρ( f( β)<br />

) = ( y–<br />

f( β)<br />

) 2<br />

To specify a model with a custom loss function, construct a variable in the data table <strong>and</strong> build the loss<br />

function. After launching the Nonlinear platform, select the column containing the loss function as the loss<br />

variable.

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

Saved successfully!

Ooh no, something went wrong!