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
- :
- script for saving residuals from fit model

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

Feb 16, 2017 12:41 PM
(698 views)

Im trying to use a script to save the residuals with a polynomical fit. I have tried to use << Save residuals, but its not adding the row to my data. Any ideas?

Thanks

1 REPLY

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Feb 16, 2017 12:56 PM
(695 views)

I'm assuming you are using the Bivariate platform (accessed interactively via Fit Y By X). The platform allows you to fit multiple curves to your data (each curve has its own red triangle). So the message needs to be sent to the curve not the platform. If you are doing that already, maybe you are missing the parentheses:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); biv = Bivariate( Y( :height ), X( :weight ), Fit Polynomial(2) ); biv << ( Curve[1] << Save Residuals );

-Dave