Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted

## inverse prediction using quadratic model

I calculated predicted x from linear fit using fit model > inverse prediction. Is it possible to do the same using the quadratic model.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

## Re: inverse prediction using quadratic model

I believe you are using the Bivariate platform. Use the Fit Least Squares platform instead. The Inverse Prediction command in this platform still does not work with quadratic models but there is another option. Follow these steps:

1. Select Analyze > Fit Model.
2. Select response column and click Y.
3. Select factor column.
4. Click Macros and select Polynomial to Degree.
5. Change Emphasis to Minimal Report.
6. Click Run.
7. Click the red triangle at the top and select Factor Profiling > Profiler.
8. Click the red triangle next to Prediction Profiler and select Optimization and Desirability > Desirability Functions.
9. Control-click on the Desirability plot at the right end of the top row of plots.
10. Change the goal to Match Target. Do NOT change the desirability values otherwise.
11. Enter the target response value as the Middle value.
12. Enter Low and High values that surround the target. These values are not critical.
13. Click OK.
14. Click the red triangle next to Prediction Profiler and select Optimization and Desirability > Maximize Desirability.

The inverse prediction appears as the red number below the profiler for the factor.

Learn it once, use it forever!
5 REPLIES 5
Highlighted

## Re: inverse prediction using quadratic model

Generally, no. What is the inverse prediction for Y = 10?

Learn it once, use it forever!
Highlighted

## Re: inverse prediction using quadratic model

@markbailey I am trying to calculate 'x' from 'y' using quadratic standard curves so I can compare with 'x' calculated using same standard data fir  to a linear model using jmp. I know I can do this graphically by using crosshairs tool  with overlaid linear and quadratic functions. Is there any other way to calculate 'x' from the quadratic response function using JMP to show the difference between this and corresponding values calculated using the linear model?

Highlighted

## Re: inverse prediction using quadratic model

I believe you are using the Bivariate platform. Use the Fit Least Squares platform instead. The Inverse Prediction command in this platform still does not work with quadratic models but there is another option. Follow these steps:

1. Select Analyze > Fit Model.
2. Select response column and click Y.
3. Select factor column.
4. Click Macros and select Polynomial to Degree.
5. Change Emphasis to Minimal Report.
6. Click Run.
7. Click the red triangle at the top and select Factor Profiling > Profiler.
8. Click the red triangle next to Prediction Profiler and select Optimization and Desirability > Desirability Functions.
9. Control-click on the Desirability plot at the right end of the top row of plots.
10. Change the goal to Match Target. Do NOT change the desirability values otherwise.
11. Enter the target response value as the Middle value.
12. Enter Low and High values that surround the target. These values are not critical.
13. Click OK.
14. Click the red triangle next to Prediction Profiler and select Optimization and Desirability > Maximize Desirability.

The inverse prediction appears as the red number below the profiler for the factor.

Learn it once, use it forever!
Highlighted

## Re: inverse prediction using quadratic model

@markbailey Thank you for your response. It worked and I got results for the inverse prediction for linear model but I'll not be able to get inverse prediction for quadratic model in JMP. Correct?

Highlighted

## Re: inverse prediction using quadratic model

Is what correct?

I followed the steps above using the Big Class data table. The weight is in the Y role and I added height and height^2 terms to the model. I defined the desirability function to match a target of Y = 120. Here is the result: The inverse prediction is 66.3 inches.

Learn it once, use it forever!
Article Labels

There are no labels assigned to this post.
{"ft_lang_label":"__label__en","ft_lang_prob":0.87974566,"math_prob":0.78767073,"size":1808,"snap":"2020-34-2020-40","text_gpt3_token_len":372,"char_repetition_ratio":0.15521064,"word_repetition_ratio":0.30718955,"special_character_ratio":0.20022124,"punctuation_ratio":0.085798815,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95261556,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-20T02:26:44Z\",\"WARC-Record-ID\":\"<urn:uuid:54ebb682-9fbe-4a21-82e1-57ad023886da>\",\"Content-Length\":\"752047\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:60e1d2cf-bdde-4948-abae-e9cbc4ea2313>\",\"WARC-Concurrent-To\":\"<urn:uuid:530257d3-4168-4ca9-a7dc-dda89e4a1e9f>\",\"WARC-IP-Address\":\"208.74.205.23\",\"WARC-Target-URI\":\"https://community.jmp.com/t5/Discussions/inverse-prediction-using-quadratic-model/td-p/219161\",\"WARC-Payload-Digest\":\"sha1:SGHYNOP7RNA25IEBC5DQMVDS6HWU5JSC\",\"WARC-Block-Digest\":\"sha1:2HJRS5SKA7HGNZV3DOUN5QC3ALG5VXH5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600400193087.0_warc_CC-MAIN-20200920000137-20200920030137-00247.warc.gz\"}"}