Learn R Programming

bife

Binary Choice Models with Fixed Effects

An R-package to estimate fixed effects binary choice models (logit and probit) with potentially many individual fixed effects and computes average partial effects. Incidental parameter bias can be reduced with an asymptotic bias-correction proposed by Fernandez-Val (2009).

bife can be used to fit fixed effects binary choice models (logit and probit) based on an unconditional maximum likelihood approach. It is tailored for the fast estimation of binary choice models with potentially many individual fixed effects. The routine is based on a special pseudo demeaning algorithm derived by Stammann, Heiss, and McFadden (2016). The estimates obtained are identical to the ones of glm(), but the computation time of bife() is much lower.

Copy Link

Version

Install

install.packages('bife')

Monthly Downloads

1,130

Version

0.7.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Amrei Stammann

Last Published

October 27th, 2025

Functions in bife (0.7.3)

print.summary.bife

Print summary.bife
print.bifeAPEs

Print bifeAPEs
summary.bifeAPEs

Summarizing models of class bifeAPEs
summary.bife

Summarizing models of class bife
vcov.bifeAPEs

Extract estimates of the covariance matrix
print.bife

Print bife
bife_control

Set bife Control Parameters
coef.bife

Extract estimates of structural parameters or fixed effects
predict.bife

Predict method for bife fits
fitted.bife

Extract bife fitted values
bias_corr

Asymptotic bias correction for binary choice Models with fixed effects
get_APEs

Compute average partial effects for binary choice models with fixed effects
logLik.bife

Extract log-likelihood
coef.bifeAPEs

Extract estimates of average partial effects
bife

Efficiently fit binary choice models with fixed effects
print.summary.bifeAPEs

Print summary.bifeAPEs
psid

Female labor force participation
vcov.bife

Extract estimates of the covariance matrix