Other types

The option types and the types that come with a result, as they are documented in the source. The names meant for everyday use are on the previous page. A name that is not exported is written with the module name, as in ODEParameterEstimation.InterpolatorMethod.

The types to do with uncertainty, UncertaintyReport and those around it, belong to an experimental part of the package. See Uncertainty.

ODEParameterEstimation.EstimationFlow — Type
EstimationFlow

How the estimate is made, chosen with the flow option.

  • FlowStandard (default): the algebraic method.
  • FlowDirectOpt: local optimization alone, from a random start.
source
ODEParameterEstimation.InterpolatorMethod — Type
InterpolatorMethod

The curve fits that estimate the derivatives of the data, listed in the interpolators option.

  • InterpolatorAAA: a rational approximation. Suits exact or nearly exact data.
  • InterpolatorGP: a Gaussian process. Suits noisy data.
  • InterpolatorGPUncertainty: a Gaussian process that also estimates the noise in the data. Needed for compute_uncertainty.
  • InterpolatorCustom: a function of your own, from custom_interpolators.

The default list runs nine curve fits. The values not named here are internal and may change in any release.

source
ODEParameterEstimation.OrderedODESystem — Type
OrderedODESystem

A ModelingToolkit system together with its parameters and states in a fixed order. Results list their values in this order.

The keyword constructor of ParameterEstimationProblem builds one from a System, so you rarely need to.

Fields

  • system: the ModelingToolkit system.
  • original_parameters: the parameters, in order.
  • original_states: the states, in order.
source
ODEParameterEstimation.PolishMethod — Type
PolishMethod

The optimizer that refines each solution against the data, chosen with the polish_method option.

  • PolishLeastSquares (default): Levenberg–Marquardt on the residuals.
  • PolishBFGS, PolishLBFGS: minimize the sum of squares directly, with the Optim.jl method of that name.
source
ODEParameterEstimation.ResultProvenance — Type
ResultProvenance

How a ParameterEstimationResult was produced, in its provenance field.

Fields

  • primary_method: :algebraic when the result came from solving the polynomial equations, :direct_opt when it came from fitting the model directly.
  • interpolator_source: the curve fit whose derivative estimates led to it, as a short label, or nothing.
  • rescue_path: :none, or the recovery that produced it: :algebraic_resolve_t0, :algebraic_resolve_shoot or :direct_opt_fallback.
  • source_shooting_index: which of the time points chosen by shooting_points the equations were solved at.
  • source_candidate_index: its position among the candidates of that stage.
  • pre_polish_error, post_polish_error: the fit error before and after refinement, when it was refined.
  • polish_applied: whether it was refined.
  • representative_assignments: values given to quantities only because the data cannot determine them.
  • structural_fix_set: the values the undeterminable quantities were fixed at to make the equations solvable.
  • template_status: whether, after that, the equations had as many unknowns as equations.
  • equations_dropped_by_rank_trimming: equations left out because they were dependent on the others.
  • practical_identifiability_status: a numerical check of how well the data determine the values.
  • numerical_advisory: further numerical diagnostics, or nothing. Its type is internal.
  • notes: short labels for anything else that happened along the way.

The remaining fields are internal bookkeeping and may change.

source
ODEParameterEstimation.SystemSolverMethod — Type
SystemSolverMethod

How the polynomial systems are solved, chosen with the system_solver option.

  • SolverHC (default): homotopy continuation, which finds every solution.
  • SolverTrustRegion: a trust-region method started from several points.
  • SolverLevenbergMarquardt: Levenberg–Marquardt from one point.

The last two are local solvers and can miss solutions.

source
ODEParameterEstimation.UQReliabilityAssessment — Type
UQReliabilityAssessment

The separate checks on an uncertainty estimate, as returned by uq_reliability. Experimental. Each field is a symbol:

  • availability: :available, :unavailable, or :not_requested.
  • numerical_linearization: :accepted when the linear approximation passed its numerical checks, :degraded when it did not.
  • interval_width: :narrow when every standard error is under half its estimate, :wide when under twice, :extreme beyond that; :invalid or :undefined_scale when they cannot be compared.
  • selection_scope: which estimate the standard errors belong to.
  • empirical_calibration: always :not_assessed_by_single_run for a report. Whether the intervals cover the truth as often as they should can only be judged over many runs.

UncertaintyReport's status sums these up in one value.

source
ODEParameterEstimation.UncertaintyReport — Type
UncertaintyReport

Standard errors for the best result, the third value of analyze_parameter_estimation_problem when compute_uncertainty = true. Experimental; see Uncertainty. The noise that the Gaussian-process curve fit finds in the data is carried through to the estimates by a linear approximation around them.

Fields

  • param_labels: the names of the parameters and initial conditions, in order.
  • estimate_values: their estimated values.
  • param_std: their standard errors.
  • param_covariance: the covariance matrix, in the same order.
  • correlation_matrix: the same, as correlations.
  • status: :ok when every standard error is under half its estimate, :wide_ci when under twice, :degenerate beyond that or when the numerical checks failed. uq_reliability gives the checks separately.
  • warnings: the assumptions behind the numbers, and anything that went wrong.

The other fields record how the numbers were computed and may change.

source