Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: autocorrelation test returning 'invalid subcommand dwatson'


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: autocorrelation test returning 'invalid subcommand dwatson'
Date   Thu, 19 May 2011 09:50:05 +0100

Yes, but which -estat- subcommands are supported depends on the
estimation command previously run and those subcommands are not
supported in this case.

Evidently you have a system of equations that you are estimating with
-nlsur-. What precisely were you expecting e.g. the Durbin-Watson
command to work on? This is not my field -- and this is the limit of
my advice -- but I suspect you would need to calculate that explicitly
and also declare your data to be time series.

Nick

On Thu, May 19, 2011 at 9:38 AM, ABDUL ADAM <bihiabdul@yahoo.com> wrote:
> Dear Members,
> I have run an nlsur programme and after the estimation tried to do an autocorrelation test. I used both estat dwatson, estat dwstat, estat bgodfrey. In each case I get error r(321) 'invalid subcommand'. I know from the Stata reference manual that estat is one the postestimation commands that are available for nlsur. I am using version 10.0. Any idea of what I could do to proceed with my autocorrelation test?

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index