pub struct TemporalRefitContext<'a> {
pub indexer: &'a TemporalIndexer,
pub temporal_query: &'a TemporalEffectQuery,
pub split: Option<&'a DiscoveryEstimationSplit>,
pub kernel_policy: &'a KernelPolicy,
pub time_index: Option<&'a TimeIndex>,
pub panel: Option<&'a PanelData>,
}Expand description
Context for lag-aware temporal refits (series or panel).
Fields§
§indexer: &'a TemporalIndexerUnfolded temporal indexer from identification.
temporal_query: &'a TemporalEffectQueryTemporal effect query (pulse / sustained).
split: Option<&'a DiscoveryEstimationSplit>Optional discovery/estimation split.
kernel_policy: &'a KernelPolicyKernel policy for lag sample preparation.
time_index: Option<&'a TimeIndex>Series time index, or None when refitting a panel.
panel: Option<&'a PanelData>Panel units when refitting stacked panel designs.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TemporalRefitContext<'a>
impl<'a> Clone for TemporalRefitContext<'a>
Source§fn clone(&self) -> TemporalRefitContext<'a>
fn clone(&self) -> TemporalRefitContext<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for TemporalRefitContext<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TemporalRefitContext<'a>
impl<'a> !UnwindSafe for TemporalRefitContext<'a>
impl<'a> Freeze for TemporalRefitContext<'a>
impl<'a> Send for TemporalRefitContext<'a>
impl<'a> Sync for TemporalRefitContext<'a>
impl<'a> Unpin for TemporalRefitContext<'a>
impl<'a> UnsafeUnpin for TemporalRefitContext<'a>
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
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> ForeignBufferOwner for T
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>
Converts
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>
Converts
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 more