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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted
##

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

Help with Fit Model > Standard Least Square > Transform > Logistic

Sep 26, 2018 11:45 AM
(1791 views)

Hi JMP Community,

I'm struggling with the proper implementation of the Transform option in the Fit Model > Standard Least Square platform.

In order to better understand the issue, I created a mock data set where the Response is continuous; and the Model effects are: 1) Biomarker levels (continuous), 2) Treatment (2 categories), and 3) their interaction. The Response in the ACTIVE treatment is dependent on the Biomarker level following a logistic distribution

Here is a Graph Builder depiction of the response by biomarker levels:

If I run the Standard Least Square model with Treatment, Biomarker, and Interaction with the Response response transformed according to a Logistic relationship (Transform > Logistic on Response), I get an odd result:

1) Predicted by Actual (note the poor fit for most of the ACTIVE group [RED])

The residuals from this model are skewed as shown in the next 2 pictures:

2) Residuals plot

3) Residuals distribution

Clearly, I'm doing something wrong so please, help me figure out this apparently simple option.

Thank you for your help.

TS

Thierry R. Sornasse

4 REPLIES 4

Highlighted
##

Perhaps using the Analyze -> Specialized Modeling -> Fit Curve platform can help? You can fit a simple OLS model to the PBO group and a 4 - P logistic model to the treatment group.

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

Re: Help with Fit Model > Standard Least Square > Transform > Logistic

Highlighted
##

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

Re: Help with Fit Model > Standard Least Square > Transform > Logistic

Thanks for your suggestion: I can get a very nice fit to my mock data but I cannot figure out how to use this information in the Fit Model platform.

Any thought?

Any thought?

Thierry R. Sornasse

Highlighted
##

Having played around with some simulated examples, I am also a bit puzzled. But I believe the problem you are having is due to the logistic transform in JMP. According to the JMP documentation, the logistic transform is for the response variable to be in the range of (0,1). Indeed, when I use that transform, I get something that does not look like a logistic function - when I hardwire the logistic function (which allows the response variable to take its correct values) it does look logistic. So, I believe the logistic transform in JMP is not truly letting you fit a logistic function to your data. Perhaps someone whose math is less rusty than mine, can explain how to use the logistic transform to get the correct shape when the response is not in the (0,1) range.

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

Re: Help with Fit Model > Standard Least Square > Transform > Logistic

Highlighted
##

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

Re: Help with Fit Model > Standard Least Square > Transform > Logistic

Thanks for your reply. Actually I scaled my response to be within the 0 to 1 range

((R-Min)/(Max - Min)) and the Logistic transform yields the following

.

If you look carefuly, the fit curves are not straight lines but still this is far from a tight fit.

Any thought?

Thierry R. Sornasse

Article Labels

There are no labels assigned to this post.