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
- /
- MIANALYZE w/ LOGISTIC: how to get global null hypo...

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

08-19-2013 02:09 PM

Using multiply imputed data with nominal categorical variables that have been recoded as k-1 dummy variables.

I want to know: Does the predictor variable overall have a (bivariate) relationship with the outcome?

My strategy has been to do a series of separate logistic regressions with each variable (or group of dummies), and I want a global null hypothesis for each regression. (I am doing this in lieu of bivariate correlations, since this does not seem to make sense with dummy coded categorical variables. If you have other thoughts, let me know.)

MIANALYZE gives me the parameter estimates, but not the global test, which does appear for the individual regression for each MI dataset. I want the global test as an output of MIANALYZE. I see the TEST statement / MULTI option, but I'm not sure this is what I want.

Ideas?

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

Posted in reply to EricVanceMartin

08-20-2013 11:00 AM

I don't really understand your question. But, when you do Proc Logistic, you will see this --"testing global null hypothesis : beta = 0" in output. the statistics for the test are likelyhood ratio, score and wald. either one will give you a global test result.

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

08-20-2013 11:24 AM

Thank you for replying. Sorry if it wasn't clear.

I'm using a multiply imputed dataset (m=20). The results of PROC LOGISTIC (20 separate regressions) are passed to PROC MIANALYZE to summarize into a single result. My syntax takes the parameter estimates and covb as inputs and produces a single set of estimates with significance tests.

Of course PROC LOGISTIC also produces the global null hypothesis tests for each regression. I am asking how (or whether) I can get MIANALYZE to summarize the results of the global null hypothesis tests in the same way.

For example, maybe some way of averaging the ∆-2LL and df for a test. Also, as I mentioned, there is some kind of "MULTI" test option, but I don't understand what it does.

My discussion about the data (dummy coded categorical) was just to show why I couldn't simply do (and run through MIANALYZE) bivariate correlations, as one would ordinarily do to select variables for multiple regression (which is what I'm doing).

Message was edited by: Eric Martin

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

Posted in reply to EricVanceMartin

08-20-2013 02:53 PM

Eric,

Check out the documentation for the TEST statement and in particular where it leads to Figure 58.6. In that example, test3: a1=a2=a3 is a global test with two degrees of freedom. So for your example, try

test: beta1=beta2=...=betan;

where the beta's should be replaced with the terms as presented in the MODELEFFECTS statement.

Steve Denham