[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: help with xtserial

From   "Rodrigo Alfaro A." <>
To   <>
Subject   st: RE: help with xtserial
Date   Thu, 26 Jun 2008 14:22:16 -0400


xtserial works in my case

webuse abdata
xtserial wage emp, output

I will try in yours

tsset city year
sort city year

-----Mensaje original-----
[] En nombre de Erik Lakomaa
Enviado el: Jueves, 26 de Junio de 2008 11:24 a.m.
Asunto: st: help with xtserial

Dear all

I have a problem using the Xtseial test for autocorrelation.

I have a panel data model and the xtreg command works 

tsset city year

xtreg a b c d, fe

xtserial a b c d

That gives 

"no observations

Can you help me out?



-----Original Message-----
[] On Behalf Of Austin
Sent: den 26 juni 2008 16:38
Subject: Re: st: RE: Problem with METAN (forest plot)...

You can just make your own graph using the variables created by -metan-:

    By default, metan adds the following new variables to the dataset:

        _ES        Effect size (ES)
        _seES      Standard error of ES
        _selogES   Standard error of log ES
        _LCI       Lower confidence limit for ES
        _UCI       Upper confidence limit for ES
        _WT        Study percentage weight
        _SS        Study sample size

and use the -xscale(log)- option and any others you like in the graph

use, clear replace
tmean=tm+10 metan tsample tmean tsd csample cmean csd, by(type_study)
gsort type_study -id g nid=_n loc o "leg(off) yti(" ") yli(10.5)
barw(.01) horiz color(gray white) yla("
forv i=1/20 {
  loc o `"`o' `i' "`=id[`i']'" "'
loc o `"`o' , angle(0))"'
tw spike _UCI _LCI nid, `o' || sc nid _ES, name(notlog) tw spike _UCI
_LCI nid, xsc(log) `o' || sc nid _ES, xsc(log)

On Thu, Jun 26, 2008 at 6:50 AM, Nick Cox <> wrote:
> I have not tried it but it seems that -metan- (from SJ 8(1)) should 
> support -xsc(log)-.
> However, all that would do is take the graph that would be displayed
> change that one detail. No calculations would be carried out on a log 
> scale.
> Nick
> Julien D.
> I would like to make a forest plot to graphicaly present results from 
> stratified analyses with different subgroups (men, women, diabetics,
> diabetics...)
> I use the METAN module with 3 cols table (OR, lower and upper
> interval) but I am embarass with large confidence interval (1.7-52.3
> example) and would like to use a log scale for axis...
*   For searches and help try:

*   For searches and help try:

ADVERTENCIA: La  información  contenida  en  esta  transmisión, y  en  cualquier archivo  adjunto, está  sujeta a reserva legal conforme a la normativa aplicable  al  Banco  Central  de  Chile, y  no  puede  ser usada o difundida  por personas distintas  de  su o sus destinatarios. Si usted ha recibido esta transmisión por error,  por  favor  notifique  inmediatamente al remitente respondiendo por este mismo medio y elimínela de su sistema.
El  Banco Central de Chile no se hará responsable de la exactitud y veracidad de la información contenida en este mensaje, así  como  de su  modificación, copia, divulgación  o  reenvío,  total  o  parcial.   Su  uso  no  autorizado puede ser sancionado de conformidad con las leyes chilenas. 
El  Banco  Central  de  Chile  transmite  sus decisiones a través de comunicados oficiales, los  que  pone  a  disposición  del público en su página de Internet: 

DISCLAIMER: The information  contained  in  this  email or any attached file, is subject to legal  privilege  pursuant  to the laws and regulations applicable to the Central  Bank  of  Chile , and may not be used or disseminated by any person other  than  its  intended recipients. If you have received this transmission in error, please  notify  the sender immediately by reply to this email address and delete it from your system.
The Central Bank  of  Chile shall not be liable for the accuracy or authenticity of the contents of this message, whether amended, copied, forwarded or disclosed in  any  form, in  whole  or  in part.  Please note that unauthorized use may be penalized  in  conformity  with  the  Chilean law.    
The Central  Bank of Chile communicates its decisions by  official releases, and 
makes them available to the public in its WebPages:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index