pub struct RainbowTestOutput {
pub test_name: String,
pub r_result: Option<RainbowSingleResult>,
pub python_result: Option<RainbowSingleResult>,
pub interpretation: String,
pub guidance: String,
}Expand description
Result of the Rainbow test supporting both R and Python variants.
The Rainbow test checks for linearity by comparing the fit of the full model to a subset of central observations. This struct can contain results from both R’s lmtest::raintest and Python’s statsmodels implementations.
§Fields
test_name- Name of the testr_result- Result from R’s lmtest::raintest (if computed)python_result- Result from Python’s statsmodels (if computed)interpretation- Human-readable explanation of the resultguidance- Recommendations based on the test result
Fields§
§test_name: String§r_result: Option<RainbowSingleResult>§python_result: Option<RainbowSingleResult>§interpretation: String§guidance: StringTrait Implementations§
Source§impl Clone for RainbowTestOutput
impl Clone for RainbowTestOutput
Source§fn clone(&self) -> RainbowTestOutput
fn clone(&self) -> RainbowTestOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RainbowTestOutput
impl Debug for RainbowTestOutput
Auto Trait Implementations§
impl Freeze for RainbowTestOutput
impl RefUnwindSafe for RainbowTestOutput
impl Send for RainbowTestOutput
impl Sync for RainbowTestOutput
impl Unpin for RainbowTestOutput
impl UnwindSafe for RainbowTestOutput
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