This section provides an example of creating the formula column for a model, and fitting the model in the Nonlinear platform. The data is in the US Population.jmp data table. The response variable is the population (in millions) of the Unites States and the predictor is the year.
1.
Open US Population.jmp in the Nonlinear Examples sample data folder.
3.
Right-click the Model column and select Column Properties > Formula.
5.
Select New Parameter.
7.
Type 4 for Value. This is the initial estimate of the parameter.
8.
9.
Select New Parameter.
11.
Completed Model Formula
13.
14.
Select Analyze > Modeling > Nonlinear.
15.
Assign Model to the X, Predictor Formula role.
16.
Assign pop to the Y, Response role.
17.
18.
Click Go on the Control Panel to fit the model.
Plot and Solution Report
The final parameter estimates are shown in the Solution report, along with other fit statistics. The fitted model is shown on the plot.
In the formula editor, when you add a parameter, note the check box for Expand Into Categories, selecting column. This option is used to add several parameters (one for each level of a categorical variable for example) at once. When you select this option a dialog appears that enables you to select a column. After selection, a new parameter appears in the Parameters list with the name D_column, where D is the name that you gave the parameter. When you use this parameter in the formula, a Match expression is inserted, containing a separate parameter for each level of the grouping variable.