pub struct BernoulliMarginalSlopeTermSpec {Show 13 fields
pub y: Array1<f64>,
pub weights: Array1<f64>,
pub z: Array1<f64>,
pub base_link: InverseLink,
pub marginalspec: TermCollectionSpec,
pub logslopespec: TermCollectionSpec,
pub marginal_offset: Array1<f64>,
pub logslope_offset: Array1<f64>,
pub frailty: FrailtySpec,
pub score_warp: Option<DeviationBlockConfig>,
pub link_dev: Option<DeviationBlockConfig>,
pub latent_z_policy: LatentZPolicy,
pub score_influence_jacobian: Option<Array2<f64>>,
}Fields§
§y: Array1<f64>§weights: Array1<f64>§z: Array1<f64>§base_link: InverseLink§marginalspec: TermCollectionSpec§logslopespec: TermCollectionSpec§marginal_offset: Array1<f64>§logslope_offset: Array1<f64>§frailty: FrailtySpecGaussianShift frailty on the final probit index: U ~ N(0, σ²) added to the scalar argument of Φ. This is exact because the sextic microcell kernel is preserved — the Gaussian-decoupling identity E[Φ(η + U)] = Φ(η / √(1+σ²)) rescales the index by 1/τ where τ = √(1+σ²), and every derivative chain rule factor is polynomial in τ, so all six kernel derivatives remain closed-form.
HazardMultiplier frailty is NOT supported in this family. HazardMultiplier frailty + score_warp/linkwiggle cubic marginal-slope is not finite-state exact. For hazard-multiplier frailty, use the standalone LatentCloglogBinomial / LatentSurvival families instead.
score_warp: Option<DeviationBlockConfig>§link_dev: Option<DeviationBlockConfig>§latent_z_policy: LatentZPolicy§score_influence_jacobian: Option<Array2<f64>>Out-of-fold Stage-1 score-influence Jacobian J = ∂z/∂θ₁ (n × p₁)
from cross-fitting a CTN transformation-normal Stage-1 model (#461).
When Some, the realized leakage directions Z_infl = diag(s_f·β̂₀)·J
are absorbed as a null-penalized block so the joint solve makes the
β estimating equation orthogonal to span(Z_infl) — the x-dependent
realization of ψ − Π_η[ψ]. None ⇒ raw --z-column with no CTN
Stage-1, in which case the free 1-D score_warp spline is the
fallback basis (it spans only the x-free leakage column).
Trait Implementations§
Source§impl Clone for BernoulliMarginalSlopeTermSpec
impl Clone for BernoulliMarginalSlopeTermSpec
Source§fn clone(&self) -> BernoulliMarginalSlopeTermSpec
fn clone(&self) -> BernoulliMarginalSlopeTermSpec
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 BernoulliMarginalSlopeTermSpec
impl RefUnwindSafe for BernoulliMarginalSlopeTermSpec
impl Send for BernoulliMarginalSlopeTermSpec
impl Sync for BernoulliMarginalSlopeTermSpec
impl Unpin for BernoulliMarginalSlopeTermSpec
impl UnsafeUnpin for BernoulliMarginalSlopeTermSpec
impl UnwindSafe for BernoulliMarginalSlopeTermSpec
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.