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.

246 Performing Nonlinear Regression Chapter 9<br />

Nonlinear Fitting with Fit Curve<br />

The Nonlinear platform launch window has the following features:<br />

Y, Response Select the Y variable.<br />

X, Predictor Formula Select either the X variable or a column containing the model formula with<br />

parameters.<br />

Group Specify a grouping variable. The fitted model has separate parameters for each level of the grouping<br />

variable.<br />

Weight<br />

Specify a variable containing the weights of observations.<br />

Freq<br />

Loss<br />

Specify a variable representing the frequency of an observation.<br />

Specify a formula column giving a loss function.<br />

By<br />

Specify a variable to perform a separate analysis for every level of the variable.<br />

Model Library Launches the Model Library tool. For more details, see “Use the Model Library” on<br />

page 264.<br />

The checkboxes at the bottom of the window are only for classic Nonlinear analyses:<br />

Second Derivatives Uses second derivatives as well as first derivatives in the iterative method to find a<br />

solution. With second derivatives, the method is called Newton-Raphson rather than Gauss-Newton.<br />

This method is useful only if the residuals are unusually large or if you specify a custom loss function<br />

<strong>and</strong> your model is not linear in its parameters. This option is used only when a formula column is<br />

provided in the X, Predictor Formula role.<br />

Numeric Derivatives Only Uses only numeric derivatives only. This option is useful when you have a<br />

model for which it is too messy to take analytic derivatives. It can also be valuable in obtaining<br />

convergence in tough cases. This option is used only when a formula column is provided in the X,<br />

Predictor Formula role.<br />

Exp<strong>and</strong> Intermediate Formulas Tells JMP that if an ingredient column to the model is a column that<br />

itself has a formula, to substitute the inner formula, as long as it refers to other columns. To prevent an<br />

ingredient column from exp<strong>and</strong>ing, use the Other column property with a name of “Exp<strong>and</strong> Formula”<br />

<strong>and</strong> a value of 0. This option is used only when a formula column is provided in the X, Predictor<br />

Formula role.<br />

Nonlinear Fitting with Fit Curve<br />

The platform provides several types of built-in nonlinear models: polynomials, logistic, Gompertz,<br />

exponential growth, peak, <strong>and</strong> pharmacokinetic. To fit one of the built-in models, follow the steps below:<br />

1. Open your data table <strong>and</strong> select Analyze > <strong>Modeling</strong> > Nonlinear.<br />

2. On the Nonlinear launch window, assign the X variable to the X, Predictor Formula role, <strong>and</strong> the Y<br />

variable to the Y, Response role (Figure 9.4).<br />

3. Assign variables to other roles as needed.

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

Saved successfully!

Ooh no, something went wrong!