Page 1 of 1
Any results
Posted: Wed Feb 04, 2015 1:22 pm
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
Re: Any results
Posted: Wed Feb 04, 2015 1:25 pm
by likestatistic
The command
runmlwin respons cons, level3(area: cons) level2 (fam: cons) level1(id: cons)
Thanks+++
Re: Any results
Posted: Thu Feb 05, 2015 10:39 am
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?
Re: Any results
Posted: Thu Feb 05, 2015 11:02 am
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
Re: Any results
Posted: Thu Feb 05, 2015 11:21 am
by likestatistic
Please find attached my file.
Many Thanks
L
Re: Any results
Posted: Thu Feb 05, 2015 12:06 pm
by likestatistic
Oups!
Re: Any results
Posted: Thu Feb 05, 2015 1:29 pm
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?
Re: Any results
Posted: Thu Feb 05, 2015 2:30 pm
by likestatistic

Many Thanks ++++
It works with nopause
L