Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Estimation Storage with XTPQML


From   milet <[email protected]>
To   [email protected]
Subject   Re: st: Estimation Storage with XTPQML
Date   Mon, 27 Sep 2010 10:22:35 +0200

My code is:

global Gravity "lgdpc lpop ldist contig comlang_off"
eststo: xtpqml x $Gravity lbarrier, fe i(y_j_i)



Martin Weiss a écrit :
<>

Works for me, just as for Maarten.
***********
webuse ships, clear
xtset ship

xtpoisson accident op_75_79 co_65_69 /* */ co_70_74 co_75_79, /* */ exposure(service) irr

xtpqml accident op_75_79 co_65_69 /* */ co_70_74 co_75_79

est store foo
***********


Maybe show your entire code for us to give further advice...


HTH
Martin


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of milet
Sent: Freitag, 24. September 2010 18:22
To: [email protected]
Subject: Re: st: Estimation Storage with XTPQML

Hi,
Thank you for the quick answer and the tips.
I am using Stata at the office, so I do not know where the xtpqml comes from (I actually thought it was installed while upgrading Stata). I tried your code, and got the same error message as previously mentionned, when trying the "est store foo"

"last estimation results not found, nothing to store".
r(301);




Maarten buis a écrit :
--- On Fri, 24/9/10, milet wrote:
I use Stata10 and have problems when I try to store
estimations after a xtpqml procedure.
Stata estimates properly the coefficients, and then
calculates the robust standard errors, but when it comes to
store the estimation, I get the following error message:
"last estimation results not found, nothing to store".
r(301);
Is it because Stata only keeps in memory the estimation
with robust standard errors, and does not consider it as an
estimation (thus not able to store it?).
I assume that you got -xtpqml- by downloading it from SSC, by
typing in Stata -ssc install xtpqml-. As always, you are asked
to tell where user written programs come from when asking questions about them. This is in your own interest, as there are often multiple version floating around cyberspace, and the
answer can obviously depend on which version you are using.

Anyhow, I tried to reproduce your error on my Stata 10, and I
could not. The code below runs without problem. That obviously
makes it hard for me to diagnose the problem you encountered.
Can you tell us what you did different compared to the example below?

*---------------- begin example --------------------
webuse ships, clear
xtset ship
xtpqml accident op_75_79 co_65_69 co_70_74 co_75_79,  irr fe
est store foo
est restore foo
ereturn display , eform(irr)
*------------------- end example --------------------
(For more on examples I sent to the Statalist see: http://www.maartenbuis.nl/example_faq )
Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index