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
- :
- Polynomial Fit Parameter Term Name Changes: Bug?

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

Jun 4, 2013 10:53 AM
(1065 views)

Hi,

I am writing a script that generates a second degree polynomial fit and then uses the parameter estimates in further calculations. My problem is the second order parameter estimate term name changes as a function of the input values, when it seems to me it should not. This term name change causes subsequent calculations to fail.

For example, the script below will generate a second degree polynomial fit with the following terms:

Intercept

height

(height-62.55)^2

My question is, why is the second order term name "(height-62.55)^2"? Shouldn't the term name be "height^2"? This name will change as a function of the input values. Is this a bug?

Any insights or workarounds are appreciated.

Thanks!

/*

bigClass=open("$SAMPLE_DATA/Big Class.JMP");

bigClass << Bivariate(

Y( :weight ),

X( :height ),

Fit Polynomial( 2, {Line Color( {213, 72, 87} )} )

);

*/

1 ACCEPTED SOLUTION

Accepted Solutions

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

Jun 4, 2013 1:05 PM
(1954 views)

Solution

By default JMP Bivariate Fit Polynomial generates a model with the terms of order 2 and greater centered around the mean of the X variable. It names the coefficients of those terms in a way that communicates what it did.

Instead use Fit Special, make sure neither X nor Y is transformed, change the degree to "2 quadratic" and uncheck "Centered Polynomial".

3 REPLIES

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

Jun 4, 2013 10:59 AM
(977 views)

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

Jun 4, 2013 1:05 PM
(1955 views)

By default JMP Bivariate Fit Polynomial generates a model with the terms of order 2 and greater centered around the mean of the X variable. It names the coefficients of those terms in a way that communicates what it did.

Instead use Fit Special, make sure neither X nor Y is transformed, change the degree to "2 quadratic" and uncheck "Centered Polynomial".

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

Jun 4, 2013 1:25 PM
(977 views)