Skip to main content

draw

Function draw 

Source
pub fn draw(
    forecast: &Forecast,
    rho: f64,
    seed: u64,
    lo: f64,
    hi: f64,
) -> Vec<Vec<f64>>
Expand description

SCENARIOS price paths for forecast (one value per interval), latent AR(1) with rho per step, clamped to [lo, hi], deterministic for seed.