Breusch-Pagan Test

Description: Performs the Breusch-Pagan test against heteroskedasticity.

#| label = "GetLMTestPkg"
library(lmtest)
#| label = "{{DataName}}.lm.bp"
{{DataName}}.lm.bp = {{DataName}}.lm |> bptest()

Harrison-McCabe test

Description: Harrison-McCabe test for heteroskedasticity.

#| label = "{{DataName}}.lm.hmc"
{{DataName}}.lm.hmc = {{DataName}}.lm |> hmctest()

Goldfeld-Quandt Test

Description: Goldfeld-Quandt test against heteroskedasticity.

#| label = "{{DataName}}.lm.gq"
{{DataName}}.lm.gq = {{DataName}}.lm |> gqtest()


Try the BrailleR package in your browser

Any scripts or data that you put into this service are public.

BrailleR documentation built on July 26, 2023, 5:46 p.m.