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: Normally distributed error term & testing normality of residuals
From
Ebru Ozturk <[email protected]>
To
<[email protected]>
Subject
RE: st: Normally distributed error term & testing normality of residuals
Date
Sat, 13 Oct 2012 17:26:20 +0300
Thank you. So, it leaves me with only one choice to follow Cameron and Trivedi. But what would be if unobserved data censored at zero?
Ebru
----------------------------------------
> Date: Sat, 13 Oct 2012 09:42:38 -0400
> Subject: Re: st: Normally distributed error term & testing normality of residuals
> From: [email protected]
> To: [email protected]
>
> On Sat, Oct 13, 2012 at 9:27 AM, Ebru Ozturk <[email protected]> wrote:
> > Thanks. I checked it too. But I just wanted to learn is there a way of testing normality apart from a formal test like histogram, scatter plots?
>
> Ah, yes, I get that point. Well the trick is that the observed data
> are what they are but we don't know the censored data.
>
> I can think of a few "devices" but I'm not sure what good properties
> they would have. Cameron and Trivedi mention (but do not show) the
> notion of comparing the predicted values for non-censored cases to the
> observed values. The distribution won't be normal for them and the
> relationship won't be perfectly linear, but you shouldn't see gross
> differences in a good fitting model.
>
> Example:
>
> sysuse auto
> gen wgt = weight/1000
> tobit mpg wgt, ll(17)
> predict predicted, xb
> predict seforecast, stdf
> gen censored = 0
> replace censored = 1 if mpg <= 17
> summarize mpg predicted if censored == 0, detail
> cor mpg predicted
> qqplot predicted mpg if censored == 0
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/