smooth.MSARIMA.sigma
- property MSARIMA.sigma: float
sigma(adam_obj)).Mirrors R’s
sigma.adam(R/adam.R:4625-4658): df-adjusted sum of squared residuals (with a distribution-specific transformation for log-domain and multiplicative distributions). For likelihood loss the scale parameter is subtracted fromnparamto match R’s convention.For the common case (
dnorm/dlaplace/ds/dgnorm/dt/dlogis/dalaplace) this issqrt(sum(residuals²) / (nobs − nparam + 1))when loss is likelihood, orsqrt(sum(residuals²) / (nobs − nparam))otherwise.Use
scaleif you want the model’s internal optimisation scale (R:adam_obj$scale) — they coincide only fordnormbut differ for non-normal distributions where the optimisation scale parameterises the density and the empirical residual std is a separate scalar.- Type:
Empirical residual standard deviation (R