Subscribe Bookmark RSS Feed

Fitting a model which includes both a column parameter and a table variable

galactus3000

Contributor

Joined:

Nov 9, 2016

Would like to learn how to fit a model which includes not only a column parameter Aa, but a table variable Xx.

The model column formula references a column which depends on a table variable (and other data columns) in a complicated way.

I want to find combination of model column parameter Aa and table parameter Xx which best fits a data column.

Hope this isn't too pedestrian a question.

 

 

2 REPLIES
markbailey

Staff

Joined:

Jun 23, 2011

If the model equation is already in a column formula, then use the Nonlinear platform. The default loss function is least squares. First, though, replace the table variable in the formula with a formula parameter. In the formula editor, click Table Columns and select Parameters. Click New Parameter, give it a name Xx, and a starting value. Select the table variable in your formula and then select the new parameter Xx to replace it.

All of the model parameters must be entered like this one. The Nonlinear platform does not provide model parameters automatically like the Fit Least Squares platform, in which you supply the predictors as columns and JMP supplies the linear parameters.

Learn it once, use it forever!
galactus3000

Contributor

Joined:

Nov 9, 2016

Thank you for answer.  Something I would do if I could.

The formula column involves another formula column.  How do I get the Nonlinear model to see that other nested parameter?

The complication here is that I am performing a Col Cumulative Sum on a column that involves this second parameter Xx.

 

So model formula in Column 6 with parameter Aa references Column 2 which is a Col Cumulative Sum of Column 1 with formula involving parameter Xx.

 

Want to do a two-parameter fit here for parameters Aa and Xx.