- JMP User Community
- :
- Discussions
- :
- How to limit a response prediction to a threshold in a model?

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Aug 28, 2024 08:21 AM
(301 views)

Hi!

I want to model particle size, which is a variable that can't be below 0. However, some setups are being predicted to be negative (see picture below). So my question is how can I limit the prediction threshold to be above zero? Is there any truncated approach in JMP?

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Created:
Aug 28, 2024 08:44 AM
| Last Modified: Aug 28, 2024 5:48 AM
(285 views)
| Posted in reply to message from PValueEnemy 08-28-2024

Hi @PValueEnemy

It may be difficult to help you only based on this residuals plot and your topic description, but here are some suggestions from similar topic :Fit Model - Limiting Model Response to Only Positive Values : You can use response transformation to avoid negative predictions.

- For particules size, since you might have very broad sizes range, a log transformation could be helpful.
- You can also in the Fit Model report check the Box-Cox Y Transformation to see if it helps for the predicted values and the respect of the regression assumptions : Regression Model Assumptions | Introduction to Statistics | JMP. The plot you shown here doesn't seem to show that errors are normally distributed for example.
- You could also use Generalized Regression models with specific set distributions, like LogNormal.

You can use the platform Distributions to check the most probable data distribution(s) of your response(s) and use this information in your response transformation or in setting an appropriate distribution in your Generalized Regression model.

Hope this first discussion starter might help,

Victor GUILLER

L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Created:
Aug 28, 2024 08:44 AM
| Last Modified: Aug 28, 2024 5:48 AM
(286 views)
| Posted in reply to message from PValueEnemy 08-28-2024

Hi @PValueEnemy

It may be difficult to help you only based on this residuals plot and your topic description, but here are some suggestions from similar topic :Fit Model - Limiting Model Response to Only Positive Values : You can use response transformation to avoid negative predictions.

- For particules size, since you might have very broad sizes range, a log transformation could be helpful.
- You can also in the Fit Model report check the Box-Cox Y Transformation to see if it helps for the predicted values and the respect of the regression assumptions : Regression Model Assumptions | Introduction to Statistics | JMP. The plot you shown here doesn't seem to show that errors are normally distributed for example.
- You could also use Generalized Regression models with specific set distributions, like LogNormal.

You can use the platform Distributions to check the most probable data distribution(s) of your response(s) and use this information in your response transformation or in setting an appropriate distribution in your Generalized Regression model.

Hope this first discussion starter might help,

Victor GUILLER

L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Thanks, @Victor_G

Your reply helped a lot. I suppressed many information to reduce the question, but you were right where I needed

- © 2024 JMP Statistical Discovery LLC. All Rights Reserved.
- Terms of Use
- Privacy Statement
- About JMP
- JMP Software
- JMP User Community
- Contact