You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pystat...@googlegroups.com
Hi,
Is there an API that can calculate the upper and lower critical values of Durbin Watson test? I am using smt.durbin_watson(residuals) to compute Durbin Watson test value. With that value alone, I can not reject/accept or be inconlusive about that test. It seems that people use Durbin-Watson significance table to look up the critical values. But in my case number of sample points and number of regressors varies greatly. Manually looking up a table is not practical. Does anyone have some insights to share?
Thank you in advance.
josef...@gmail.com
unread,
Jun 15, 2015, 5:00:11 PM6/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pystatsmodels
No, we don't have any code for critical values of Durbin Watson.
There are some tables available which could be used, but I've never seen them in python.
However, I would recommend the other autocorrelation tests which are more robust and those have critical values.
How about heteroskedasticity? Is goldfeld quant a good test for that?
goldfeld quant is splitting the sample, so it is useful if there is a ordering and you want to test whether heteroscadisticiy changed across subsamples.
het_breushpagan and het_white test for heteroscedasticity that is related to explanatory variables
Both are LM tests, and AFAIR, mainly differ in which explanatory variables might affect the variance.
Also some of those tests also reject on more general misspecification. Since it has been some time, since I looked at those, I don't remember all the details.
Josef
bbmra
unread,
Jun 15, 2015, 6:01:55 PM6/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pystat...@googlegroups.com
Thanks so much once again.
On Monday, June 15, 2015 at 4:49:18 PM UTC-4, bbmra wrote:
chrims
unread,
Jun 18, 2015, 7:22:56 AM6/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pystat...@googlegroups.com
I had the very same question and problem just two days ago. I used the table in http://www.jstor.org/stable/1914122 Since I know the number of observations and regressands I was lucky and could define some constants.
I wonder whether there are tables for more than ten regressands.
chrims
unread,
Jun 18, 2015, 9:04:36 AM6/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pystat...@googlegroups.com
regressands
regressors, or course.
josef...@gmail.com
unread,
Jun 18, 2015, 9:16:02 AM6/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message