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

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

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Re: "xml_tab" and "streg"
Date   Tue, 29 Jan 2008 18:18:32 -0000

I can't help with the specifics of -xml_tab-, which I have not used
or examined very closely. 

Rather, I can comment on the use of -version- here. 

Generally, -version- is not a time machine, or even a version machine. 

If you want Stata 8 behaviour, for example, the only surefire way to get
that is to use Stata 8. 

Also, -version- does much less than some people hope it will do. By and
large, it sets things back only in respect of things documented under 
-version-. I think that's not the whole truth, but it's nearer the whole
truth than the idea that -version- is a time machine. 

As -xml_tab- is already written for Stata 8, I wouldn't expect using 
-version 8- in calling it would make any difference, given that there is
no use within -xml_tab- of -_caller()-. 

[email protected] 

Daniel Klein

Thanks for your help. I have the same xml_tab version. However, when I 
run your program it still generates an error:

/ln_sig invalid name

I noticed that the ado was written for version 8. My version is 10. So I


vers 8: xml_tab, replace save(c:\test)

, which most times generated the same error message. Sometimes it worked

but I could not infer the reason for that. The version command works 


Zurab Sajaia schrieb:
> 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
>> /ln_p invalid name
>> r(198)
>> This is not the case when I assume an exponential distribution since
>> that case the parameter "p" (or ln_p) is not estimated. I guess
>> has a problem with the "/". estout works fine but I would more like
>> further use xml_tab.
>> Does anyone know a workaround? Thanks in advance.

*   For searches and help try:

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