LevinaBickelMLE validation ledger#
Status: validated for believe14 0.1.0.
Primary source: Levina and Bickel, Maximum Likelihood Estimation of Intrinsic Dimension, Advances in NIPS 17 (2004), 777–784, paper, Equations 8–10.
Local statistic: for ordered positive neighbor radii
T_j(x),m_k(x) = a_k / sum_{j=1}^{k-1} log[T_k(x)/T_j(x)]. Herea_k=k-2by default, the paper’s first-order unbiased correction; settingbias_correction=Falseselects the literal likelihood numeratork-1.Aggregation: arithmetic mean over observations at each integer
k=k_min,...,k_max, followed by an arithmetic mean over thosekvalues, exactly as Equation 9. Defaults are the paper’s fixed range 10–20.Output: global real
dimension_, per-observation meanlocal_dimensions_, estimates byk, and their across-scale variation. Entrylocal_dimensions_by_k_[i,j]is the local likelihood estimate for sampleiat neighbor countk_values_[j]. An exact neighbor graph for the same data can supply radii throughk_max.Invariances: translation, orthogonal transformation, uniform scaling, and row permutation. Exact distance ties use stable row-index ordering.
Failure policy: reject duplicates/zero radii and any local denominator made zero by neighbor-radius ties; never jitter distances or drop affected rows. Log ratios are evaluated without dividing widely separated radii, with
log1pfor close radii. Local estimates must be finite and positive.Advertised regime: locally homogeneous Poisson approximation on one manifold, with
ksmall relative to sample size. Estimates are scale-dependent when the data have noise or multiple dimensional regimes.Complexity:
O(n^2(p + log n) + n h^2)time andO(np + n^2)peak memory; symbols follow the method catalog. Rdimtools is not an oracle.Independent evidence: both numerator conventions have literal local-formula fixtures; invariance, neighbor-range, duplicate/tie, and synthetic recovery tests pass. No Rdimtools behavior is inherited.