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

AW: st: RE: PE-test

From   "Martin Weiss" <>
To   <>
Subject   AW: st: RE: PE-test
Date   Fri, 16 Oct 2009 11:27:15 +0200


You want to look at

help xtreg postestimation

for the correct syntax after -xtreg-. 


-----Ursprüngliche Nachricht-----
[] Im Auftrag von
Gesendet: Freitag, 16. Oktober 2009 11:24
Betreff: Re: st: RE: PE-test

Thank you very much for your answer. I tried that already but could not
manage since  -rvpplot- and -rvfplot- do not work with -xtreg-.
To do this, i suppose i have to use the -graph twoway- command together with
residuals and predicted values. 
I got the fitted by:

. predict conshat
(option xb assumed; fitted values)

but how can i get the residuals?

. predict consres, residuals
option residuals not allowed

Thank you!

-------- Original-Nachricht --------
> Datum: Thu, 15 Oct 2009 17:53:40 +0100
> Von: "Nick Cox" <>
> An:
> Betreff: st: RE: PE-test

> Often poorly chosen functional forms show themselves up in patterns on a
> plot of residuals versus predicted. Conversely, a satisfactory
> functional form shows up, after some informal or formal smooth, as a
> flat trace on such plots. Naturally, you should check other diagnostics
> too, e.g. variance functions. 
> I see no reason why this should not apply in broad terms to panel data
> too. A disadvantage of this is that it does not produce a P-value or
> sharp test decision as you evidently prefer. An advantage is that it is
> flexible and allows you to apply scientific as well as statistical
> judgement. 
> Nick 
> to compare different functional forms such as linear, log log, linlog,
> loglin i would like to do a PE-test. I found -logsumm in Stata Bulletin
> 1992, but this does not fit with Panel data and i am not sure how to
> compare others than linear and linlog.
> I found the same question in the archive but unfortunatly without
> solution.
> (
> Did anyone use that test in the meantime and could provide some help how
> to conduct it manually?
> The test is described for example in Verbeek, Marno:A Guide to
> Modern Econometrics, 2004 p.61
> *
> *   For searches and help try:
> *
> *
> *

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index