turn on suggestions

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

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Regression Analysis

Topic Options

- 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
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-26-2017 03:16 AM

Hello

1) In logistic regression, if confidence interval includes the value 0 then what will be the conclusion on significance of the variable.

2) How to decide whether the data is Linear or Linearly Separable?.

Thanks

Accepted Solutions

Solution

03-27-2017
03:10 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to KafeelBasha

03-26-2017 03:15 PM

KafeelBasha wrote:

1) Is there any specific reason behind saying a variable is insignificant if the confidence interval includes 0.

2) I came across below warning message while going through an example of logistic regression in R

1) Because if it includes 0 in the interval that means a valid value is 0, which is no difference, ie not significant difference. I would suggest re-reading how confidence interval, p-values and hypothesis testing all relate.

2) **Ask R questions in an R forum, ask SAS question in a SAS forum.** But it means that some variables in your data are essentially the same. For example, a very basic examples is if you had two variables that are X=1 if A is present, 0 otherwise and Y=1 if A is not present, otherwise Y=0. They're the same.

All Replies

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to KafeelBasha

03-26-2017 06:12 AM

1) it is not significant.

2)don't understand your question. You mean linear or nonlinear relationship between X and Y ?

Check EFFECT statement.

Or you should check Q-Q plot .

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Ksharp

03-26-2017 01:11 PM

1) Is there any specific reason behind saying a variable is insignificant if the confidence interval includes 0.

2) I came across below warning message while going through an example of logistic regression in R

http://michael.hahsler.net/SMU/EMIS7332/R/logistic_regression.html

When can we say the data is linear or Linearly Separable?

Thanks in advance.

Solution

03-27-2017
03:10 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to KafeelBasha

03-26-2017 03:15 PM

KafeelBasha wrote:

1) Is there any specific reason behind saying a variable is insignificant if the confidence interval includes 0.

2) I came across below warning message while going through an example of logistic regression in R

1) Because if it includes 0 in the interval that means a valid value is 0, which is no difference, ie not significant difference. I would suggest re-reading how confidence interval, p-values and hypothesis testing all relate.

2) **Ask R questions in an R forum, ask SAS question in a SAS forum.** But it means that some variables in your data are essentially the same. For example, a very basic examples is if you had two variables that are X=1 if A is present, 0 otherwise and Y=1 if A is not present, otherwise Y=0. They're the same.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to KafeelBasha

03-26-2017 11:52 PM

H0: b=0 , so if b -> [-x,x ] then it can not indicate if b=0 or not . "probability numerically 0 or 1" It is more like SAS 's message "can't separate likelihood". Maybe your CLASS variable have some level which is dropout. E.X. sex=F appeared only once . Use proc freq; table sex;run; could explore more information about CLASS variables.