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

- JMP User Community
- :
- Discussions
- :
- How to find best fit values for a and b in following function y=1-exp((-x/a)^b) ...

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

Highlighted

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

Feb 15, 2020 8:30 AM
(954 views)

I have data, I'd like to find the values of a and b in the following function that best fits the data: y=1-exp((-x/a)^b).

I'd also like to fit y=1-exp(-x/a) to see which function has the better fit.

Is there a way to do this? I'm using JMP 14.

Relaxation function vs hours annealed in attached file.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

@markbailey is right. The Nonlinear platform is flexible and can fit any model you can parameterize in the Formula Editor.

Fit Curve and Nonlinear can work together since Fit Curve can save a parametric prediction formula.

So, after using Fit Curve to fit your Weibull Growth model you can save the parametric prediction formula. Use the Formula Editor to edit the formula and remove the exponent parameter (set set it to 1).

Then use the Nonlinear platform with your original column in the Y role and the new predictor function column in the X role.

Click the Go button at the top of the report and you'll get estimates for the a and b parameters.

-Jeff

4 REPLIES 4

Highlighted
##
Re: How to find best fit values for a and b in following function y=1-exp((-x/a)^b) to fit data points

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

Take a look at the Fit Curve platform and the Logistic 2P curve. I think that's what you're looking for.

-Jeff

Highlighted
##
Re: How to find best fit values for a and b in following function y=1-exp((-x/a)^b) to fit data points

Thanks, I checked out fit curve and it looks like Weibull Growth is actually closest to what I want, but not exactly. Is there a way to force a variable, say a, to equal 1 so the equation matches what I'm looking for. Then the second equation I want to fit would have a and c equal 1.

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

Highlighted
##
Re: How to find best fit values for a and b in following function y=1-exp((-x/a)^b) to fit data points

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

There are two platforms for non-linear models. Fit Curve is newer. It is based on a library of such models. If your model is one of them, then it is probably the best platform. The Nonlinear platform, though, has the advantage here because you can specify a custom model as a column formula. You can also manipulate the parameters during and between fits.

See JMP 14: **Help > Books > Predictive and Specialized Models > Nonlinear** chapter. There are lots of examples, too.

Learn it once, use it forever!

Highlighted

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

@markbailey is right. The Nonlinear platform is flexible and can fit any model you can parameterize in the Formula Editor.

Fit Curve and Nonlinear can work together since Fit Curve can save a parametric prediction formula.

So, after using Fit Curve to fit your Weibull Growth model you can save the parametric prediction formula. Use the Formula Editor to edit the formula and remove the exponent parameter (set set it to 1).

Then use the Nonlinear platform with your original column in the Y role and the new predictor function column in the X role.

Click the Go button at the top of the report and you'll get estimates for the a and b parameters.

-Jeff

Article Labels

There are no labels assigned to this post.