#[non_exhaustive]pub struct OddsRatioResult {
pub statistic: f64,
pub kind: OddsRatioKind,
/* private fields */
}Expand description
The result of odds_ratio.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.statistic: f64§kind: OddsRatioKindImplementations§
Source§impl OddsRatioResult
impl OddsRatioResult
Sourcepub fn confidence_interval(
&self,
confidence_level: f64,
alternative: Alternative,
) -> Result<(f64, f64), ErrorsJSL>
pub fn confidence_interval( &self, confidence_level: f64, alternative: Alternative, ) -> Result<(f64, f64), ErrorsJSL>
The confidence interval for the odds ratio (SciPy’s confidence_interval).
Trait Implementations§
Source§impl Clone for OddsRatioResult
impl Clone for OddsRatioResult
impl Copy for OddsRatioResult
Auto Trait Implementations§
impl Freeze for OddsRatioResult
impl RefUnwindSafe for OddsRatioResult
impl Send for OddsRatioResult
impl Sync for OddsRatioResult
impl Unpin for OddsRatioResult
impl UnsafeUnpin for OddsRatioResult
impl UnwindSafe for OddsRatioResult
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