Skip to main content

regression_depth_logistic

Function regression_depth_logistic 

Source
pub fn regression_depth_logistic(
    fit: &FunctionalLogisticResult,
    data: &FdMatrix,
    y: &[f64],
    scalar_covariates: Option<&FdMatrix>,
    n_boot: usize,
    depth_type: DepthType,
    seed: u64,
) -> Result<RegressionDepthResult, FdarError>
Expand description

Regression depth diagnostics for a functional logistic regression.

ยงErrors

Returns FdarError::InvalidDimension if data has fewer than 4 rows, zero columns, or y.len() does not match the row count. Returns FdarError::InvalidParameter if n_boot is zero. Returns FdarError::ComputationFailed if score depth computation returns empty.