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
- :
- Discussions
- :
- Re: Fit curve in JMP13.0- is plot scriptable?

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

Fit curve in JMP13.0

Jan 5, 2018 10:02 AM
(770 views)

Hi, I use JMP 13.0 on both Mac and Windows. It lets me do Fit curve analysis and Equivalency tests in the Windows version but the option does not show up under Analyze at all in the Mac version. Could somebody please point me to where the option is?

Thank you

5 REPLIES 5

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

Re: Fit curve in JMP13.0

It is under

Analyze > Specialized Modeling > Fit Curve

If it isn't there, look in your preferences>menu and see if you have turned something off

Jim

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

Re: Fit curve in JMP13.0

Thank you. I had to change the default preferences in JMP > Preferences >

Menu for it to work.

Menu for it to work.

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

Re: Fit curve in JMP13.0- is plot scriptable?

I'm using Fit Curve with 3 models but the resulting plot shows all curves as solid lines of blue or green tint; those do not distinguish well in black and white journal articles. Is there a way to customize the plot by scripting each model? Saving the results as a script gives:

Fit Curve(

Y( :Liver Wt ),

X( :Dose ),

Fit Logistic 3P, ...

While I can save script phrases for adding items (e.g.,vertical lines) via SendToReport() I don't see how to change the model curves' styles.

Related: can Fit Curve be scripted to save the prediction formulas?

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

Re: Fit curve in JMP13.0- is plot scriptable?

Looks like you can directly edit the graphics script that draws the curves. Right click on the graphics area, select 'Customize...' and then find the script to edit.

In the example below I added the line:

`LineStyle("Dashed");`

(using JMP 14 on a Mac).

Highlighted
##

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

Re: Fit curve in JMP13.0- is plot scriptable?

And to get the prediction formula(s), try:

```
NamesDefaultToHere(1);
// Data
dt = Open("$SAMPLE_DATA/Big Class.jmp");
// Launch the platform
fc = dt << Fit Curve(Y( :height ), X( :weight ));
// Do a fit
fc << fitCubic;
// Save the prediction formula from the first (cubic) fit to the table
// NB: Note the brackets!
fc << (fit[1] << savePredictionFormula);
```