std_dev::regression::derived

Function power_given_min

source
pub fn power_given_min<E: LinearEstimator>(
    predictors: &mut [f64],
    outcomes: &mut [f64],
    predictor_min: f64,
    outcome_min: f64,
    estimator: &E,
) -> PowerCoefficients
Available on crate feature regression only.
Expand description

Same as power without the Clone requirement for the iterators, but takes a min value.

ยงPanics

See power.