
Last chance! 50% off unlimited learning
Sale ends in
This function computes the BIC (Bayesian information criterion) from a fixest
estimation.
# S3 method for fixest
BIC(object, ...)
Optionally, more fitted objects.
It return a numeric vector, with length the same as the number of objects taken as arguments.
The BIC is computed as follows:
You can have more information on this criterion on AIC
.
See also the main estimation functions femlm
, feols
or feglm
. Other statistics functions: AIC.fixest
, logLik.fixest
.
# NOT RUN {
# two fitted models with different expl. variables:
res1 = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
res2 = femlm(Sepal.Length ~ Petal.Width | Species, iris)
AIC(res1, res2)
BIC(res1, res2)
# }
Run the code above in your browser using DataLab