pub struct Manova { /* private fields */ }Expand description
A fitted multivariate OLS, holding the quantities needed for hypothesis testing.
Implementations§
Source§impl Manova
impl Manova
Sourcepub fn new(endog: Array2<f64>, exog: Array2<f64>) -> Result<Self>
pub fn new(endog: Array2<f64>, exog: Array2<f64>) -> Result<Self>
Fit the multivariate linear model endog = exog · B by SVD.
endog is nobs × k_endog (at least two dependent variables) and
exog is nobs × k_exog (typically including an intercept column).
Sourcepub fn mv_test(&self) -> Result<Vec<ManovaTest>>
pub fn mv_test(&self) -> Result<Vec<ManovaTest>>
Run the default multivariate tests: one hypothesis per exogenous column.
Returns a vector with one ManovaTest per column of exog, in order
(named x0, x1, …, matching the reference).
Sourcepub fn test_contrast(&self, l: &Array2<f64>, name: String) -> Result<ManovaTest>
pub fn test_contrast(&self, l: &Array2<f64>, name: String) -> Result<ManovaTest>
Test the contrast L · B · M = 0 with M = I (identity transform on the
dependent variables) and C = 0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Manova
impl RefUnwindSafe for Manova
impl Send for Manova
impl Sync for Manova
impl Unpin for Manova
impl UnsafeUnpin for Manova
impl UnwindSafe for Manova
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