简体   繁体   中英

How can I get the p-Value of the Durbin Watson Test in python?

I get the statistic value easily:

statsmodels.stats.stattools.durbin_watson(residuals, axis=0)

Any idea how I can get the p-value? Thank you very much.

Here is a table given n and k for critical values with alpha set to 1

https://www.real-statistics.com/statistics-tables/durbin-watson-table/

tables are too big to reproduce here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM