pbltest(x, data, alternative = c("twosided","onesided"), index = NULL, ...)
data.frame
,"twosided"
,
"onesided"
. Selects either $H_A: \rho \neq 0$ or $H_A: \rho 0$
(i.e., the Normal or the Chi-squared version of the test),data.frame
,"htest"
.alternative
argument, defaulting to twosided
,
allows testing for positive serial correlation only, if set to
onesided
.pdwtest
, bgtest
,
pbsytest
, pwartest
and pwfdtest
for other serial correlation tests for panel models.data("Grunfeld", package="plm")
pbltest(inv ~ value + capital, data = Grunfeld)
Run the code above in your browser using DataLab