Presentation with -esttab-

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
Jamoo
Posts: 36
Joined: Wed Oct 05, 2011 2:33 pm

Presentation with -esttab-

Post by Jamoo »

Hi list,

I run a random slope model with sex (boy) and the constant, leaving cov(cons, boy) covariance term in Stata (see example below). Note the comma between cons and boy for the covariance term. When I try to input these results into an -esttab- command, it says that the 'boy option is not allowed', presumably because Stata is thinking that the comma is part of the command that I'm inputting. Any ideas about how I could get rid of the comma, so that the term would be called "consboy" or something which would work with esttab?

With best wishes,

Jamie

---example starts----

.runmlwin etc.

preamble etc

fixed effects etc

------------------------------------------------------------------------------
Random-effects Parameters | Estimate Std. Err. [95% Conf. Interval]
-----------------------------+------------------------------------------------
Level 2: |
var(cons) | .1055654 .0109918 .0840217 .127109
cov(cons,boy) | .0108248 .0109 -.0105388 .0321884
var(boy) | .0084793 .0174866 -.0257937 .0427523
-----------------------------+------------------------------------------------
Level 1: |
var(cons) | .643547 .0110398 .6219095 .6651845

---example ends---
GeorgeLeckie
Site Admin
Posts: 432
Joined: Fri Apr 01, 2011 2:14 pm

Re: Presentation with -esttab-

Post by GeorgeLeckie »

It would appear that you are using a very old version of runmlwin!

We now only present the comma in cov(cons,boy) in the displayed output.

The underlying parameter is reffered to a [RP2]cov(cons\boy)

We changed this half a year ago because we ran into the same problem that you did!

To install the latest version...

Code: Select all

. ssc install runmlwin, replace
And then check that you are using the latest version by typing

Code: Select all

. which runmlwin
The output should say...

*! runmlwin.ado, George Leckie and Chris Charlton, 01Jan2012
Jamoo
Posts: 36
Joined: Wed Oct 05, 2011 2:33 pm

Re: Presentation with -esttab-

Post by Jamoo »

Hi George,

Lovely - sorted. Thanks.

Jamie
Post Reply