pub struct FmmResult {
pub mean_function: Vec<f64>,
pub beta_functions: FdMatrix,
pub random_effects: FdMatrix,
pub fitted: FdMatrix,
pub residuals: FdMatrix,
pub random_variance: Vec<f64>,
pub sigma2_eps: f64,
pub sigma2_u: Vec<f64>,
pub ncomp: usize,
pub n_subjects: usize,
pub eigenvalues: Vec<f64>,
}Expand description
Result of a functional mixed model fit.
Fields§
§mean_function: Vec<f64>Overall mean function μ̂(t) (length m)
beta_functions: FdMatrixFixed effect coefficient functions β̂_j(t) (p × m matrix, one row per covariate)
random_effects: FdMatrixRandom effect functions b̂_i(t) per subject (n_subjects × m)
fitted: FdMatrixFitted values for all observations (n_total × m)
residuals: FdMatrixResiduals (n_total × m)
random_variance: Vec<f64>Variance of random effects at each time point (length m)
sigma2_eps: f64Residual variance estimate
sigma2_u: Vec<f64>Random effect variance estimate (per-component)
ncomp: usizeNumber of FPC components used
n_subjects: usizeNumber of subjects
eigenvalues: Vec<f64>FPC eigenvalues (singular values squared / n)
Trait Implementations§
impl StructuralPartialEq for FmmResult
Auto Trait Implementations§
impl Freeze for FmmResult
impl RefUnwindSafe for FmmResult
impl Send for FmmResult
impl Sync for FmmResult
impl Unpin for FmmResult
impl UnsafeUnpin for FmmResult
impl UnwindSafe for FmmResult
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.