Bayesian Information Criteria
sbc(model, method = c("R", "STATA", "SAS"))
lm
Bayesian Information Criteria
# using R computation method model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) sbc(model)#> [1] 167.864# using STATA computation method model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) sbc(model, method = 'STATA')#> [1] 164.3983# using SAS computation method model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) sbc(model, method = 'SAS')#> [1] 73.5862