Bootstrap Confidence Interval for Mutual Information
Mutual information measures how much knowing one variable reduces uncertainty about another, in bits or nats; it is zero only when the two are independent. This method estimates it from the joint frequency table (or from the correlation for two normal variables) and attaches a bootstrap confidence interval by redrawing rows with replacement.
상호정보량은 한 변수를 알 때 다른 변수의 불확실성이 얼마나 줄어드는지를 비트나 나트 단위로 나타내며, 두 변수가 독립일 때만 0이 됩니다. 이 방법은 결합 빈도표(두 변수가 정규분포이면 상관계수)로 상호정보량을 추정하고, 행을 복원추출로 다시 뽑는 부트스트랩으로 신뢰구간을 붙입니다.
How strongly are these two variables related when the relation need not be linear, and how precise is that estimate?
선형이 아닐 수도 있는 두 변수의 관계가 얼마나 강하며, 그 추정값은 얼마나 정확할까요?
The plug-in mutual information (optionally Miller-Madow corrected) is computed from the joint table of the two variables, binned into equal-frequency classes if continuous. Rows are resampled with replacement and the estimate recomputed, giving BCa, percentile and basic intervals, the bootstrap bias and a bias-corrected value, plus a G-test of independence.
When to use Bootstrap Confidence Interval for Mutual Information
- You need an interval, not only a point value, for the dependence between two categorical or binned variables.
- You want to compare the strength of nonlinear association across studies or subgroups.
- You report mutual information and a reviewer asks for its uncertainty.
When to use something else
- You only need to test whether two categorical variables are independent: use Chi Square Test
- Both variables are continuous and you want a binning-free estimate: use k-Nearest-Neighbour Mutual Information (KSG Estimator)
- You need entropies and mutual information for many features at once: use Entropy and Mutual Information Analysis
Assumptions and requirements
- Independent rows
- Enough rows per cell of the joint table (about five or more)
- Bivariate normality for the Gaussian estimator
What the analysis reports
- Mutual information in bits and nats
- BCa, percentile and basic bootstrap intervals
- Bootstrap standard error, bias and bias-corrected estimate
- G-test or Pearson test of independence
- Histogram of bootstrap values
How to report it
The mutual information between [value] and [value] was [value] bits (plug-in estimator, N = [value]), 95% BCa bootstrap CI [[value], [value]] bits ([value] resamples); test of independence G([value]) = [value], p = [value].
Related methods
- Entropy and Mutual Information Analysis
- k-Nearest-Neighbour Mutual Information (KSG Estimator)
- Bootstrap Confidence Intervals (BCa)
- Neural Mutual Information Estimation (MINE)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy, scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Bootstrap Confidence Interval for Mutual Information 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.