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
- :
- Re: logistic regression

Topic Options

- Start Article
- 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

logistic regression

Jan 26, 2010 2:57 AM
(1276 views)

hi all,

how can I obtain a logistic regression graph with 0/1 values and the sigma curve.

When I use Y by X, the data are not on line 0 and line 1 but "somewhere" between 0 and 1...

thanks

how can I obtain a logistic regression graph with 0/1 values and the sigma curve.

When I use Y by X, the data are not on line 0 and line 1 but "somewhere" between 0 and 1...

thanks

3 REPLIES 3

Highlighted
##

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

Re: logistic regression

The 0/1 values are nominal in logistic regression, hence they are treated as two cases rather than numbers (you may use any label e.g. apples/oranges and get the same curve). In JMP the data in the logistic plot (Fit Y by X platform) seem to be randomly distributed within their area, i.e. all 0 below and all 1 above the sigmoid curve. The right Y-axis is not metric scale from 0-1 but indicates the total proportions of the two cases.

However, it may be possible to get the type of plot you want by using the Nonlinear platform, and defining the logistic equation manually or from the model library.

However, it may be possible to get the type of plot you want by using the Nonlinear platform, and defining the logistic equation manually or from the model library.

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

Re: logistic regression

Hi, thank you for the answer.

today I really do need this kind of graph, but can someone tell me how to use the equation: p=1/(1+exp(-a-(bx))?

thank you

today I really do need this kind of graph, but can someone tell me how to use the equation: p=1/(1+exp(-a-(bx))?

thank you

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

Re: logistic regression

Use nonlinear platform. The table need three columns: X (independent cont. variable), Y (0/1 or probabilities between 0 and 1) , and a formula column predicting Y from X using e.g. your logistic equation.

Try the script below.

Try the script below.