pdw | R Documentation |
Calculates cumulative distribution values of the null distribution in the Durbin-Watson test. Uses saddle point approximation by Paolella (2007).
pdw(x, mod, data = list())
x |
quantile value(s) at which the density should be determined. |
mod |
estimated linear model object, formula (with |
data |
if |
Distribution depends on values of the exogenous variables. That is why it must be calculated from each specific data set, respectively.
Numerical density value(s).
Paolella, M.S. (2007): Intermediate Probability - A Computational Approach, Wiley.
ddw
, dw.test
.
filter.est <- ols(sales ~ price, data = data.filter)
pdw(x = c(0.9, 1.7, 2.15), filter.est)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.