pub struct PoissonResult {
pub deviance: f64,
pub iterations: usize,
pub converged: bool,
pub params: Vec<f64>,
pub covariance: Option<FlatMatrix>,
pub uncertainties: Option<Vec<Option<f64>>>,
pub on_bound: Vec<bool>,
pub leverage: Option<Vec<f64>>,
pub unbounded: Option<Unbounded>,
}Expand description
Result of poisson_fit.
Fields§
§deviance: f64Half the Poisson deviance of the counts at params, without the
priors.
iterations: usizeNumber of steps taken.
converged: boolWhether the expected-information Newton decrement fell below 1e-6
inside the bounds: within about 0.0014 standard errors of a minimum
where the deviance is quadratic there; see poisson_fit.
params: Vec<f64>Final parameter values (all parameters, including fixed).
covariance: Option<FlatMatrix>Covariance of the free parameters; the rows and columns of a
parameter without an error bar are NaN. None when the fit did not
converge or covariance computation is disabled.
uncertainties: Option<Vec<Option<f64>>>Standard error of each free parameter; None for a parameter on a
bound or with a component along a direction the data do not
determine, larger than the SVD’s rounding for that parameter. None
overall when covariance is.
on_bound: Vec<bool>Whether each free parameter ended on one of its bounds.
leverage: Option<Vec<f64>>Each count’s leverage: the diagonal of the hat matrix of the free
parameters off their bounds. The leverages sum to the number of
directions in those parameters the counts and priors determine, less
the share the priors take. None when covariance is None or its
decomposition fails.
unbounded: Option<Unbounded>The free parameters’ Gaussian without their bounds; see Unbounded.
None when covariance is, when the decomposition over every free
parameter fails, or when a bin predicted zero adds slope to the
gradient of a parameter on a bound.
Trait Implementations§
Source§impl Clone for PoissonResult
impl Clone for PoissonResult
Source§fn clone(&self) -> PoissonResult
fn clone(&self) -> PoissonResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more