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
- /
- Finding most influential predictors at the observa...

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

05-23-2016 08:40 PM

I am trying to figure out how to create SAS macro that would possibly loop run logistic regression model multiple times (full model, n-1 predictor models), save the individual probabilities to find out which influential predictors at the observation level

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

05-23-2016 10:22 PM

What part do you need help with?

You need to provide more detail of what you're looking for, specifically what you want to capture in each run.

Also, I'm about 75% sure this has been asked on here already and there's a full solution available, I think from Ksharp. I'm not in the mood to search though.

You can also search at Lexjansen.com which will have solutions for this as well.

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

05-23-2016 10:44 PM

My question is two fold:

- Am I wright with the assumption that if I run a full model, capturing predicited probabilities at the observation (e.g patient-level), then re-run the model by removing one of the predictors at a time to evaluate their impact effect and again capture the predicted probabilities; and then compare the full vs interim model probabilites at the observation level I would find out the which predictors are the strongest in driving overall value?
- Is there SAS macro that automates the iterative process of running the models in the loop manner?

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

05-23-2016 10:49 PM

1. I have no idea, someone else will be able to answer that I haven't heard of this method, but I tend to do more programming than statistics these days.

2. No, there's no automated method for what you're looking for, however SAS does have several different methods for determined the best model, ie stepwise, forward, backwards, score. See the documentation. Additionally PROC GLMSELECT can be used which supports futher model selection methods.

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

05-23-2016 11:20 PM

I am not looking to build the best model. I have done that part already. Next step is to give the scored data back to the requester so they can use it for the focused interventions. In addition to the predicted value (i.e. score), I would like to say that customer XYZ's score is largely driven by variable1, variable5, and variable10.

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

05-24-2016 09:41 AM

Since the response is the probablility, wouldn't the standardized regression coefficients tell you the relative contributions of the IV's? I say the standardized coefficients since the IV's may be measured on very different scales.

Steve Denham

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

05-27-2016 02:23 PM

How would you do it at the individual raw data level where you only have the predicted probabilities saved?

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

05-31-2016 08:53 AM

I'm afraid this doesn't make sense to me this morning. Relative importance depends on the whole dataset. Perhaps I am missing some key point in your question.

Steve Denham