Hi, How could I use R to check Durbin Watson Test Bound? Best, Rebecca
Durbin Watson Test Bound in R
3 messages · MaXiaoyue, Jeff Newmiller, Achim Zeileis
I would first enter
?RSiteSearch
at the R console, and learn how to sift through the 5000+ packages at CRAN for myself.
Then I would enter
RSiteSearch("Durbin")
and then study the many options available.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
MaXiaoyue <xiaoyue-ma at live.cn> wrote:
Hi, How could I use R to check Durbin Watson Test Bound? Best, Rebecca
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
On Mon, 25 Nov 2013, MaXiaoyue wrote:
Hi, How could I use R to check Durbin Watson Test Bound?
Although the bounds approach to the Durbin-Watson test is still described in many text books, there are actually various ways to get p-values for the Durbin-Watson statistic. dwtest() in "lmtest" implements the exact p-value (assuming normal disturbances) as well as the asymptotic approximation. durbinWatsonTest() in "car" implements a bootstrap approach (that is also applicable to lags higher than 1).
Best, Rebecca
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.