Run panel-data heteroscedasticity tests¶
Source: man/runPanelTests.Rd ยท Help: ?runPanelTests
Breusch-Pagan LM and Pesaran CD tests for panel models.
Usage¶
Arguments¶
model- A fitted
lmobject. data- Data frame used to fit
model. The two tests readidandtimefrom the rows ofdatathat hold the observations of the fit: since 0.16.0, data that are given are matched to the observations of the fit, by row name in any order, or by the row numbers or in the order of the fit for rows that only number themselves, as described underdatainperformPesaranTest(). id- Column identifying individuals.
time- Column identifying time periods for the Pesaran test, whose pairs of
idandtimemust each hold one observation of the fit. tests- Character vector of test names.
Value¶
A named list of htest objects.