Statalist


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

Re: st: Re: "xml_tab" and "streg"


From   "Friedrich Huebler" <[email protected]>
To   [email protected]
Subject   Re: st: Re: "xml_tab" and "streg"
Date   Tue, 29 Jan 2008 13:34:40 -0500

I tried the same commands in Stata 8 and Stata 9 and there is no error message.

Friedrich

On Jan 29, 2008 1:29 PM, Friedrich Huebler <[email protected]> wrote:
> I get the same error message as Daniel when I run the commands by
> Zurab. I have Stata/SE 10 for Windows.
>
> . sysuse auto, clear
> . stset length
> . streg price rep78 trunk turn, distribution(gamma)
> . xml_tab, replace save(c:\test)
>
> /ln_sig invalid name
> r(198);
>
> Friedrich
>
>
> On Jan 29, 2008 10:48 AM, Zurab Sajaia <[email protected]> wrote:
> > Hi Daniel,
> >
> >  I have -xml_tab- version 3.35 17Oct2007 available from SSC
> > and just tried following:
> >
> > sysuse auto, clear
> > stset length
> > streg price rep78 trunk turn, distribution(gamma)
> >
> > xml_tab, replace save(c:\test)
> >
> > it worked.
> >
> > Could you give me the full command line you use?  if you have the same
> > version but still get an error, there might be a case that it happens only
> > for specific combination of options.
> >
> > Best,
> > Zurab
> >
> >
> > ----- Original Message -----
> > From: "Daniel Klein" <[email protected]>
> > To: <[email protected]>
> > Sent: Tuesday, January 29, 2008 4:43 AM
> > Subject: st: "xml_tab" and "streg"
> >
> >
> > > Hi,
> > >
> > > I really like xml_tab which is a usefull tool to export tables of
> > > estimates directly to Excel. However when I estimate a survival model
> > > with streg and weibull distribution I get the following error message.
> > >
> > > /ln_p invalid name
> > > r(198)
> > >
> > > This is not the case when I assume an exponential distribution since in
> > > that case the parameter "p" (or ln_p) is not estimated. I guess xml_tab
> > > has a problem with the "/". estout works fine but I would more like to
> > > further use xml_tab.
> > >
> > > Does anyone know a workaround? Thanks in advance.
> > >
> > > -Daniel
>
*
*   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/



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