pub struct AtomSmoothSignificance {
pub log_e_nonconstant: Option<f64>,
}Expand description
Any-n-valid structure evidence that one atom’s inner smooth h_k(t) is
genuinely non-constant (#1103): the same split-likelihood-ratio e-value the
atom-birth gate uses (gam_terms::inference::structure_evidence), under the
null H0 = “the atom’s decoder curve is constant in its latent coordinate”.
This replaces the earlier Lawley–Bartlett-corrected χ² test. That correction was a category error here: the penalized smooth’s null is effectively rank ≈ n, the first-order χ² is the wrong reference entirely, and an O(1/n) Bartlett factor (whose own stated size shift is ≈0.15%, flipping no admit/ demote decision) does not rescue it. The split-LRT e-value is finite-sample valid with NO regularity conditions — exactly the instrument for “does this atom earn a latent dimension”.
Fields§
§log_e_nonconstant: Option<f64>log E for “the atom’s smooth is non-constant” (null = constant). A
universal-inference split-likelihood-ratio e-value: E_{H0}[E] ≤ 1
exactly, so E ≥ 1/α certifies the non-constant alternative at level α,
at any data-dependent stopping time. None when the split is degenerate
(too few active rows / a fold with no curvature column).
Trait Implementations§
Source§impl Clone for AtomSmoothSignificance
impl Clone for AtomSmoothSignificance
Source§fn clone(&self) -> AtomSmoothSignificance
fn clone(&self) -> AtomSmoothSignificance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AtomSmoothSignificance
impl RefUnwindSafe for AtomSmoothSignificance
impl Send for AtomSmoothSignificance
impl Sync for AtomSmoothSignificance
impl Unpin for AtomSmoothSignificance
impl UnsafeUnpin for AtomSmoothSignificance
impl UnwindSafe for AtomSmoothSignificance
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.