pub struct StateSpaceModel {
pub transition_matrix: Array2<f64>,
pub selection_matrix: Array2<f64>,
pub design_matrix: Array1<f64>,
pub state_cov: Array2<f64>,
pub obs_cov: f64,
}Expand description
State-space specification: Y_t = Z * alpha_t + eps_t, eps_t ~ N(0, H) alpha_{t+1} = T * alpha_t + R * eta_t, eta_t ~ N(0, Q)
Fields§
§transition_matrix: Array2<f64>§selection_matrix: Array2<f64>§design_matrix: Array1<f64>§state_cov: Array2<f64>§obs_cov: f64Implementations§
Source§impl StateSpaceModel
impl StateSpaceModel
pub fn local_linear_trend( sigma_obs: f64, sigma_level: f64, sigma_trend: f64, ) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateSpaceModel
impl<'de> Deserialize<'de> for StateSpaceModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StateSpaceModel
impl RefUnwindSafe for StateSpaceModel
impl Send for StateSpaceModel
impl Sync for StateSpaceModel
impl Unpin for StateSpaceModel
impl UnsafeUnpin for StateSpaceModel
impl UnwindSafe for StateSpaceModel
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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