///
xtserial works in my case
webuse abdata
xtserial wage emp, output
I will try in yours
tsset city year
sort city year
R
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Erik Lakomaa
Enviado el: Jueves, 26 de Junio de 2008 11:24 a.m.
Para: [email protected]
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
*xtset
xtreg a b c d, fe
xtserial a b c d
That gives
"no observations
r(2000);"
Can you help me out?
Best
Erik
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Austin
Nichols
Sent: den 26 juni 2008 16:38
To: [email protected]
Subject: Re: st: RE: Problem with METAN (forest plot)...
Julien--
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
command.
E.g.
use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, 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 <[email protected]> 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
and
> change that one detail. No calculations would be carried out on a log
> scale.
>
> Nick
> [email protected]
>
> Julien D.
>
> I would like to make a forest plot to graphicaly present results from
> stratified analyses with different subgroups (men, women, diabetics,
no
> diabetics...)
> I use the METAN module with 3 cols table (OR, lower and upper
confidence
>
> interval) but I am embarass with large confidence interval (1.7-52.3
for
>
> example) and would like to use a log scale for axis...
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
********************************************************************************
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: www.bcentral.cl
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: www.bcentral.cl
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/