pub struct ProfileMonitorConfig {
pub fosr_lambda: f64,
pub ncomp: usize,
pub alpha: f64,
pub window_size: usize,
pub step_size: usize,
}Expand description
Configuration for profile monitoring.
§Parameter guidance
window_size: Must be >= p + 2 where p is the number of predictors. Larger windows give more stable beta(t) estimates but reduce temporal resolution. Typical: 20–50 for slowly varying processes. Recommendedwindow_sizeis 5p to 10p where p is the number of predictors, to ensure stable FOSR estimation within each window (the design matrix X^T X has condition number roughly proportional to window_size / p).step_size: Controls window overlap. step_size = window_size gives no overlap (independent windows); step_size = 1 gives maximum overlap (smoothest tracking but highest autocorrelation). Typical: window_size/2 or window_size/4.
Fields§
§fosr_lambda: f64FOSR smoothing parameter (default 1e-4).
ncomp: usizeNumber of principal components for beta-function FPCA (default 3).
Typically 2–5 suffices since coefficient functions are smoother than
raw data. Use select_ncomp() on the beta eigenvalues for data-driven
selection.
alpha: f64Significance level (default 0.05).
window_size: usizeWindow size for rolling FOSR (default 20).
step_size: usizeStep size between windows (default 1).
Trait Implementations§
Source§impl Clone for ProfileMonitorConfig
impl Clone for ProfileMonitorConfig
Source§fn clone(&self) -> ProfileMonitorConfig
fn clone(&self) -> ProfileMonitorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfileMonitorConfig
impl Debug for ProfileMonitorConfig
Source§impl Default for ProfileMonitorConfig
impl Default for ProfileMonitorConfig
Source§impl PartialEq for ProfileMonitorConfig
impl PartialEq for ProfileMonitorConfig
impl StructuralPartialEq for ProfileMonitorConfig
Auto Trait Implementations§
impl Freeze for ProfileMonitorConfig
impl RefUnwindSafe for ProfileMonitorConfig
impl Send for ProfileMonitorConfig
impl Sync for ProfileMonitorConfig
impl Unpin for ProfileMonitorConfig
impl UnsafeUnpin for ProfileMonitorConfig
impl UnwindSafe for ProfileMonitorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.