Skip to content

Methods · Bayesian statistics · Scalable Bayesian computation

Firefly Monte Carlo for Bayesian Logistic Regression

Firefly Monte Carlo is an exact MCMC method that evaluates the likelihood of only a changing subset of 'bright' observations at each step, using cheap lower bounds for the rest without changing the target posterior.

반딧불 몬테카를로는 매 단계에서 '밝은' 관측값의 우도만 계산하고 나머지는 값싼 하한으로 처리하면서도 목표 사후분포를 바꾸지 않는 정확한 MCMC 방법입니다.

Can I sample the exact posterior of a logistic regression on a large data set without evaluating every observation's likelihood at every iteration?

큰 자료에서 매 반복마다 모든 관측값의 우도를 계산하지 않고도 로지스틱 회귀의 정확한 사후분포를 표집할 수 있을까요?

Each observation gets an auxiliary bright or dark indicator. Dark observations enter only through a lower bound on their likelihood that can be summed in closed form, and bright ones correct the bound exactly, so the chain still targets the true posterior. Bounds are tightened at the posterior mode, so few observations are bright. The output reports posterior summaries, the average bright fraction and the cost per iteration, with an optional full-likelihood run for comparison.

When to use Firefly Monte Carlo for Bayesian Logistic Regression

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Firefly Monte Carlo for Bayesian logistic regression estimated the coefficient of [predictor] as [value], 95% CrI [[value], [value]]; on average [value]% of observations were bright.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.

    독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Firefly Monte Carlo for Bayesian Logistic Regression on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q15070 · Reviewed 2026-10-25