Testing significance of level-2 variance

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
ccguarnizo
Posts: 2
Joined: Thu Oct 03, 2013 4:21 pm

Testing significance of level-2 variance

Post by ccguarnizo »

Dear All,

I’m working on multilevel logistic regression models with MCMC methods (using runmlwin). May be this is a silly question, but in my empty model I just want to test if the level-2 variance is significantly different from zero. I’ve checked the materials and do files available but couldn’t find examples of how to do this for MCMC using runmlwin. Is it just typing "test [RP2]var(cons)=0" after fitting the model?

I'd appreciate it if someone could help me with this.

With best wishes,

Carol
GeorgeLeckie
Site Admin
Posts: 432
Joined: Fri Apr 01, 2011 2:14 pm

Re: Testing significance of level-2 variance

Post by GeorgeLeckie »

Hi Carol,

Using Stata's test command will perform a t-test (actually a Wald test, i.e., square of t-test) but this assumes that the sampling distribution of variance is normal which it is not. Variances tend to have +ve skewed sampling distributions

Best option is to compare DIC statistics for the two nested models

Smaller DIC stats are preferred

Best wishes

George
ccguarnizo
Posts: 2
Joined: Thu Oct 03, 2013 4:21 pm

Re: Testing significance of level-2 variance

Post by ccguarnizo »

Hi George,

Thanks a lot for the helpful answer and the fast response to my question!

Best wishes,
Carol
Post Reply