BIC.fixest | R Documentation |
This function computes the BIC (Bayesian information criterion) from a fixest
estimation.
## S3 method for class 'fixest'
BIC(object, ...)
object |
A |
... |
Optionally, more fitted objects. |
The BIC is computed as follows:
BIC = -2\times LogLikelihood + \log(nobs)\times nbParams
with k the penalty parameter.
You can have more information on this criterion on AIC
.
It return a numeric vector, with length the same as the number of objects taken as arguments.
Laurent Berge
See also the main estimation functions femlm
, feols
or feglm
. Other statistics functions: AIC.fixest
, logLik.fixest
.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.