Any results

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
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Any results

Post by likestatistic »

Hi,
Maybe basic but I can’t find a solution.
I am using runmlwin but I must “abort the macro” on MLwiN and “start” the estimation to get the result. I can see the results on MLwiN but nothing is displayed on stata (it is running nonstop).
Could you help me?
Many Thanks


L
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Re: Any results

Post by likestatistic »

The command

runmlwin respons cons, level3(area: cons) level2 (fam: cons) level1(id: cons)

Thanks+++
ChrisCharlton
Posts: 1353
Joined: Mon Oct 19, 2009 10:34 am

Re: Any results

Post by ChrisCharlton »

Could you provide more information on why it was necessary for you to abort the macro, instead telling it to resume? If this is due to an error message could you post what it says?
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Re: Any results

Post by likestatistic »

Hi ChrisCharlton,
I don’t get any error message. The system runs on Stata nonstop since tomorrow without displaying the result. But when I use the same database on MLWiN it works.
Thank you
L
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Re: Any results

Post by likestatistic »

Please find attached my file.
Many Thanks

L
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Re: Any results

Post by likestatistic »

Oups!
Attachments
data.zip
(4.42 MiB) Downloaded 411 times
ChrisCharlton
Posts: 1353
Joined: Mon Oct 19, 2009 10:34 am

Re: Any results

Post by ChrisCharlton »

Running your model works for me:

Code: Select all

. runmlwin respons cons, level3(area: cons) level2 (fam: cons) level1(id: cons)
 
MLwiN 2.32 multilevel model                     Number of obs      =    526444
Normal response model
Estimation algorithm: IGLS

-----------------------------------------------------------
                |   No. of       Observations per Group
 Level Variable |   Groups    Minimum    Average    Maximum
----------------+------------------------------------------
           area |     6505          2       80.9       1447
            fam |   436823          1        1.2          7
-----------------------------------------------------------

Run time (seconds)   =     148.81
Number of iterations =          3
Log likelihood       =   -4085445
Deviance             =    8170890
------------------------------------------------------------------------------
     respons |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        cons |   3409.193   1.217513  2800.13   0.000     3406.807     3411.58
------------------------------------------------------------------------------

------------------------------------------------------------------------------
   Random-effects Parameters |   Estimate   Std. Err.     [95% Conf. Interval]
-----------------------------+------------------------------------------------
Level 3: area                |
                   var(cons) |   4521.517   164.9171      4198.285    4844.748
-----------------------------+------------------------------------------------
Level 2: fam                 |
                   var(cons) |   158631.6   946.8041      156775.9    160487.3
-----------------------------+------------------------------------------------
Level 1: id                  |
                   var(cons) |   175839.1   795.6117      174279.7    177398.4
------------------------------------------------------------------------------
Does the "Resume Macro" button not appear for you in MLwiN after it opens? Have you tried adding the nopause option to your runmlwin command?
likestatistic
Posts: 39
Joined: Fri Sep 12, 2014 4:11 pm

Re: Any results

Post by likestatistic »

:P Many Thanks ++++
It works with nopause

L
Post Reply