[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: problem with the "/" symbol in matrix rownames for Stata 10 (was "xml_tab" and "streg")
From
"Zurab Sajaia" <[email protected]>
To
<[email protected]>
Subject
st: problem with the "/" symbol in matrix rownames for Stata 10 (was "xml_tab" and "streg")
Date
Tue, 29 Jan 2008 12:38:29 -0500
Daniel,
Thanks for pointing to this problem, I tried the same for Stata version 10
and got the error you're getting.
issue is that in Stata 9 (as well as in the previous versions) it was
perfectly ok to have "/" symbol in the matrix rowname:
.matrix A = 4
.matrix rownames A = equation:/name
.matrix list A
symmetric A[1,1]
c1
equation:/name 4
if I write exactly the same in Stata 10:
.matrix rownames A = equation:/name
/name invalid name
r(198);
and this error persists even if I set version to 9 or 8
Can anybody suggest what might be the solution here?
thanks,
Zurab
----- Original Message -----
From: "Daniel Klein" <[email protected]>
To: <[email protected]>
Sent: Tuesday, January 29, 2008 12:21 PM
Subject: Re: st: Re: "xml_tab" and "streg"
Hi Zurab,
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
r(198);
I noticed that the ado was written for version 8. My version is 10. So I
tried
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
strange...
-Daniel
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 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/
*
* 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 |