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: RE: Correlation among residuals


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Correlation among residuals
Date   Fri, 20 Jan 2012 18:56:56 +0000

I guess that you have several variables whose names begin with "year", but not "year" itself. 

So -tsset- aborted with error. Nothing dependent on -tsset- will work. 

. d year* 

should help to diagnose this problem. You need to give the _full_ variable name. 

Nick 
n.j.cox@durham.ac.uk 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Pattarawan Watcharaanantapong
Sent: 20 January 2012 18:50
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: RE: Correlation among residuals

I mean when I run regression with tobit method and then I used "tsset
year, yearly" command, stata mentioned that "year ambiguous
abbreviation", so I do not know how to solve this problem.

Tan

On Fri, Jan 20, 2012 at 1:39 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> That's more information; someone has a better chance of saying something useful.
>
> But -dwstat- is an out-of-date command. If you are using some version of Stata earlier than 12, you are expected to say what it is.
>
> Also "did not work": what does that mean?
>
> Nick
> n.j.cox@durham.ac.uk
>
> Pattarawan Watcharaanantapong
>
> I am using Tobit method, I use autocorrelation to test for correlation
> among Tobit method, but when I used ;
>
> tsset year, yearly
> dwstat
>
> They did not work with my data, so I do not how to do that.
> Therefore, I have no idea which command that I need to use to test for
> autocorrelation.
>
> Tan
>
> On Fri, Jan 20, 2012 at 1:18 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
>> We have no idea precisely what you are doing.
>>
>> This is too general. Residuals in time? space? from some other set-up with/without extra constraints? What model did you use? What Stata command did you use?
>>
>> Vague questions waste your time too.
>>
>> Nick
>> n.j.cox@durham.ac.uk
>>
>> Pattarawan Watcharaanantapong
>>
>>       I need to test for correlation among residuals in stata, but I
>> have no idea which stata command that I have to use.
>>

*
*   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