bic: Computes the Bayesian Information Criterion

Description Usage Arguments Author(s) References See Also Examples

View source: R/bic.R

Description

Computes the Bayesian Information Criterion of a model (Schwarz, 1978).

Usage

1
bic(mod)

Arguments

mod

A fitted model of class lm or merMod.

Author(s)

Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>

References

Schwarz, G. (1978). Estimating the dimension of a model. Annals of Statistics, 6, 461-464.

See Also

aic, ictab

Examples

1
2
3
data(mtcars)
mod1 <- lm(mpg ~ cyl, mtcars)
bic(mod1)

ESTER documentation built on May 2, 2019, 12:13 p.m.