turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Data Fitting - Urgent

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 27, 2017 11:03 AM
(2068 views)

Hi,

I have a data table with various values.

I want to model the following data.

The Data set I have are T,U,V,W,X,Y,Z

The Equation I want to model is

Z^g = a*(T^h) + b*(U^i) + c*(V^j) + d*(W^k) + e*(X^m) + f*(Y^n)

Please need help urgently.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 3, 2017 1:38 PM
(3688 views)

Solution

Open JMP and select **Help** > **Books** > **Predictive and Specialized Modeling**. Chapter 13 in the JMP 13 edition of this guide covers the **Nonlinear** platform in detail. It explains and demonstrates how to define a custom nonlinear model such as yours.

Learn it once, use it forever!

6 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 28, 2017 5:29 AM
(2034 views)

You can use the Nonlinear platform to fit any custom model including the one you've shown above.

-Jeff

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 30, 2017 7:39 PM
(1977 views)

Greetings, Jay!

As usual, Jeff is spot-on; The Nonlinear platform is the place to be for your model.

One potential problem you may face is that you will need to supply initial guesses for the values of the parameters in your model. Hopefully, the physical situation can suggest some starting values, or perhaps you have a previous analysis that could suggest some? If not, it's not too onerous to fit a number of models with ranges of parameter values and see which do the best, even though this approach is somewhat contrary to the classical philosophy of nonlinear modeling.

If you can share your data, or even some anonymized dataset, perhaps we can urgently help?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 3, 2017 12:33 PM
(1891 views)

A linear solution was able to provide some insight into the problem but I would still like to know how to go about modelling the non-linear solution. I am attaching the dataset as requested...

Regards,

Jay

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 3, 2017 1:38 PM
(3689 views)

Open JMP and select **Help** > **Books** > **Predictive and Specialized Modeling**. Chapter 13 in the JMP 13 edition of this guide covers the **Nonlinear** platform in detail. It explains and demonstrates how to define a custom nonlinear model such as yours.

Learn it once, use it forever!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 9, 2017 9:59 AM
(1810 views)

Thank goodness you didn't really need help urgently! :) This definitely was not a quick turn-around!

The Nonlinear platform is a great workhorse, especially for mechanistic models, but it can be finicky and tempermental. As Leland Wilkinson has said "Nonlinear modeling is an art; multiparameter nonlinear modeling is rococo."

I don't really even understand what "problem" you're trying to solve, but I couldn't get the Nonlinear platform to converge your model reliably on your dataset. When it did converge, the model diagnostics were poor. I think it's because a) I was guessing semi-randomly at starting values for the parameters, b) the parameters are highly intercorrelated, and c) the data and model you provided are missing important variables that describe the actions of the response.

I explored your dataset with the Neural platform, but even it had poor description capabilities. That leads me to think that you are missing important independent variables in your data and model. Like maybe Neighborhood and Land Price...and interactions...and probably others...

'Sorry to be less-than-helpful, but JMP can't perform magic, even though it can often seem magical. I think you might need a better dataset and a better mechanistic model to achieve the results you seek.

Not really worth the wait, I imagine...

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 9, 2017 11:41 AM
(1800 views)

I think that setting up Nonlinear, as previously described, is straight-forward but the results may disappoint you.

- You have collinear predictor variables, so all model fitting procedures will have difficulty except PLS.
- The non-linear model that you specified will require careful attention to the starting values, as stated previously. Is there a theoretical basis for such a model?
- The non-linear model parameters will be highly correlated, as stated previously, which will further hamper fitting procedures.

I tried fitting a linear model using ordinarly least squares regression based on a second-order polynomial function with second-order cross terms. I achieved a reasonably good fit after removing non-significant terms. This result shows no particular problem in the residual analysis except that there is a large component of random errors in the pricing.

There is also apparently a noticeable right skew in the distribution of the residuals, so a GLM with non-Gaussian distribution might improve the fit. This fit has R square of 0.95, which is quite good. The effects of the predictors through this model seem reasonable, too, and quite interpretable:

Interestingly, the Neural model using 4-6 hidden nodes gives similar results, which is encouraging:

The residuals show do particular problem.

The prediction profiles are quite similar except for Lot Size, but I did not spend a lot of time on my model selection using Fit Least Squares.

It seems to come down to which is more important, fitting a particular non-linear model or predicting. The former will be very difficult with results that are likely no better in performance than alternative models. The latter does not provide theoretical rigor but is likely to perform as well as can be expected.

Learn it once, use it forever!