Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re:how to save the result from a diagnostic test in ascalar or matrix


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re:how to save the result from a diagnostic test in ascalar or matrix
Date   Thu, 25 Sep 2003 10:18:38 +0100

Dev Vencappa

>  I was wondering if anybody knows how to save the last 
> result from a diagnostic test. Eg suppose I run a 
> regression and straight after that I type dwstat to get the 
> Durbin-watson statistics. How do I save the value of the DW stat?

-dwstat- leaves behind r(dw). This is documented
at [TS] regression diagnostics. 

Nick 
n.j.cox@durham.ac.uk 
*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index