pub struct NominalGee { /* private fields */ }Expand description
A nominal-response (unordered multinomial) marginal GEE awaiting estimation.
Implementations§
Source§impl NominalGee
impl NominalGee
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 a nominal GEE.
exog is the original design (typically including an intercept
column); group_labels assigns each observation to a cluster. The
response endog must take a small number of distinct values; the
largest is treated as the reference category.
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 NominalGee
impl Clone for NominalGee
Source§fn clone(&self) -> NominalGee
fn clone(&self) -> NominalGee
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 NominalGee
impl RefUnwindSafe for NominalGee
impl Send for NominalGee
impl Sync for NominalGee
impl Unpin for NominalGee
impl UnsafeUnpin for NominalGee
impl UnwindSafe for NominalGee
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