pub struct OrdinalGee { /* private fields */ }Expand description
An ordinal-response (proportional-odds cumulative) marginal GEE awaiting estimation.
Implementations§
Source§impl OrdinalGee
impl OrdinalGee
Sourcepub fn new(
endog: Array1<f64>,
exog: Array2<f64>,
group_labels: &[i64],
cov: CategoricalCov,
) -> Result<Self>
pub fn new( endog: Array1<f64>, exog: Array2<f64>, group_labels: &[i64], cov: CategoricalCov, ) -> Result<Self>
Build an ordinal GEE.
exog is the original design and must not contain an intercept
column — one intercept per cut point is appended automatically (an
intercept in exog would make the augmented design rank-deficient).
Sourcepub fn maxiter(self, m: usize) -> Self
pub fn maxiter(self, m: usize) -> Self
Set the maximum number of outer (Fisher-scoring) iterations.
Sourcepub fn fit(&self) -> Result<CategoricalGeeResults>
pub fn fit(&self) -> Result<CategoricalGeeResults>
Fit the model.
Trait Implementations§
Source§impl Clone for OrdinalGee
impl Clone for OrdinalGee
Source§fn clone(&self) -> OrdinalGee
fn clone(&self) -> OrdinalGee
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 moreAuto Trait Implementations§
impl Freeze for OrdinalGee
impl RefUnwindSafe for OrdinalGee
impl Send for OrdinalGee
impl Sync for OrdinalGee
impl Unpin for OrdinalGee
impl UnsafeUnpin for OrdinalGee
impl UnwindSafe for OrdinalGee
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