BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
smok

Community Trekker

Joined:

Jan 5, 2018

Fit curve in JMP13.0

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
txnelson

Super User

Joined:

Jun 22, 2012

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
smok

Community Trekker

Joined:

Jan 5, 2018

Re: Fit curve in JMP13.0

Thank you. I had to change the default preferences in JMP > Preferences >
Menu for it to work.
rc_hertzy

Community Trekker

Joined:

Jun 23, 2011

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?

ian_jmp

Staff

Joined:

Jun 23, 2011

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).

 

Screen Shot 2019-02-27 at 10.51.02.png

Highlighted
ian_jmp

Staff

Joined:

Jun 23, 2011

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);