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
- /
- Analytics
- /
- Stat Procs
- /
- Proc adaptivereg and nominal dependent variables

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

11-25-2015 03:40 AM

Hello! This is my first post, so I hope I've come to the right place.

I have a rather simple question, which is does PROC ADAPTIVEREG have the capability to model nominal (multiple valued, non-ordinal like the name of a country, a color, etc.) variables, and if so, how would I be able to do it?

This manual contains a ouple of references (pictured in the top half of the attached picture), however no examples or statements to tell the procedure that my predicted value should be nominal. Also, this manual curiously omits (pictured in the bottom half of the attached picture) ADAPTIVEREG in the list of procedures capable of dealing with multinomial data.

I've tried everything, but in the cases of categorical variables SAS keeps telling me that the dependent variable has to have two values. Is there any way to make this work?

P.S. I have an assignment specifically on the application of MARS in specific fields, so unfortunately simple multinomial regression analysis isn't an option for me.

Accepted Solutions

Solution

11-25-2015
12:06 PM

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

11-25-2015 10:13 AM

No, ADAPTIVEREG cannot work with nominal dependent variables that have more than two categories. In the documentation for the MODEL statement, it notes the distributions that are available: Binomial, normal, Gaussian, inverse Gaussian, Poisson and negative binomial.

You could, however, run multiple ADAPTIVEREGs with the binomial distribution, each time restricting your data to two levels of the dependent variable. From what I can tell, this would be roughly equivalent to what would hapeen if the multinomial option were available.

All Replies

Solution

11-25-2015
12:06 PM

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

11-25-2015 10:13 AM

No, ADAPTIVEREG cannot work with nominal dependent variables that have more than two categories. In the documentation for the MODEL statement, it notes the distributions that are available: Binomial, normal, Gaussian, inverse Gaussian, Poisson and negative binomial.

You could, however, run multiple ADAPTIVEREGs with the binomial distribution, each time restricting your data to two levels of the dependent variable. From what I can tell, this would be roughly equivalent to what would hapeen if the multinomial option were available.

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

11-25-2015 12:03 PM

Unfortunately, running it for every category is not quite feasible given that I have to work with a hundred categories. I'll just have to narrow down my scope of my analysis to make it work.

Thanks for the answer!

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

11-25-2015 07:22 PM

If you have 100 levels then you would have a mess even if ADAPTIVEREG let you do it in one PROC. In fact, you could run a loop across levels and then if you wanted, write a data step to combine outputs. You could make it look just like a single ADAPTIVEREG would look. And I think it would be pretty much uninterpretable.