## Breusch-Godfrey Test

Description: Tests for higher-order serial correlation.


```{r}
#| label = "GetLibLMTestPkg"
library(lmtest)
```

```{r}
#| label = "{{DataName}}.bg"
{{DataName}}.bg = {{DataName}}.lm |> bgtest()
```

