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

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Logistic regression

Options

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

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 02-08-2018 01:12 PM
(1971 views)

Hello,

We are trying to analyze an open source survey data to find a correlation between categorical dependent and independent variables. We have performed chi square tests to test the null hypotheses and also would like to perform logistic regression to find a correlation between these variables. However, I understand that logistic regression is predictor model, more specifically, binary classifier model which means that it tries to assign exactly one of the 2 classes to every observation and it produces probability with which each observation belongs to each class. It can be more accurately applied to variables which have exactly 2 answers like yes or no; survived or dead; male or female and such observations.

So now, according to our data, this does not hold true as we have many possible answers to the dependent variable like fair, poor, good, very good and excellent. However, we are considering only 2 answers namely poor and fair for our analysis.

Can we use logistic regression for correlation of such a data-set? We have also used Spearman Rank Correlation Coefficient to determine the correlation

Also, is there any way to correlate the 'c value' from the logistic regression and the Spearman Rank Correlation Coefficient?

Any guidance on this is highly appreciated.

Thank you in advance.

-KS.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

6 REPLIES 6

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

There's multinomial logistic regression as well or ordinal logistic regression which are more suited to your question.

If you look at the documentation for PROC LOGISTIC you'll find the example section has some examples. Your best bet is to walk through those examples.

You may also want to consider PLS regression methods.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank you for the suggestion.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank you for your inputs. i am working through the suggestions you have given.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

PROC ADAPTIVEREG and PROC GAMPL also can do logistic regression.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Sure, thank you.

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.