pystra.results.SensitivityResult#
Use it: User guide · Worked example · Theory
- class SensitivityResult(*, method, status, message, n_limit_state_evaluations, variable_names, options=None, failure_probability, beta, form, approach, marginal, correlation, delta, diagnostics=dict())[source]#
Bases:
_ProbabilityResultRecord of a sensitivity analysis of the FORM reliability index.
failure_probabilityandbetaare those ofform, the FORM analysis at the model’s parameters. The sensitivities are derivatives of its design index.- form#
FORM at the model’s parameters.
- Type:
- approach#
Forward finite differences, or Bourinet’s (2017) closed form.
- Type:
{“numerical”, “closed_form”}
- marginal#
Derivative of the index with respect to each distribution parameter, by variable and parameter name.
- Type:
Mapping[str, Mapping[str, float]]
- correlation#
Closed form only: derivatives with respect to the correlation coefficients, symmetric with a zero diagonal.
- Type:
ndarray or None
- delta#
Numerical only: the relative perturbation.
- Type:
float or None
- diagnostics#
On nonconvergence,
failed_formretains the failed inner FORM record andphaseidentifies the baseline or perturbation. A perturbation also records its variable, parameter and actual step.- Type:
Mapping
Methods
Return a plain-text report of the principal results.
Return the marginal sensitivities as a tidy table.
- to_dataframe()[source]#
Return the marginal sensitivities as a tidy table.
- Returns:
Columns
Variable,Parameterand∂β/∂θ.- Return type:
DataFrame
- property converged: bool#
Whether the method met its termination criteria.
- summary()#
Return a plain-text report of the principal results.
- Return type:
str