durbinWatsonTest_tidiers | R Documentation |
For models that have only a single component, the tidy()
and
glance()
methods are identical. Please see the documentation for both
of those methods.
## S3 method for class 'durbinWatsonTest'
tidy(x, ...)
## S3 method for class 'durbinWatsonTest'
glance(x, ...)
x |
An object of class |
... |
Additional arguments. Not used. Needed to match generic
signature only. Cautionary note: Misspelled arguments will be
absorbed in
|
A tibble::tibble()
with columns:
alternative |
Alternative hypothesis (character). |
autocorrelation |
Autocorrelation. |
p.value |
The two-sided p-value associated with the observed statistic. |
statistic |
Test statistic for Durbin-Watson test. |
method |
Always 'Durbin-Watson Test'. |
tidy()
, glance()
, car::durbinWatsonTest()
Other car tidiers:
leveneTest_tidiers
# load modeling library
library(car)
# fit model
dw <- durbinWatsonTest(lm(mpg ~ wt, data = mtcars))
# summarize model fit with tidiers
tidy(dw)
# same output for all durbinWatsonTests
glance(dw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.