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.AbstractUQOutcome — Type
AbstractUQOutcomeWhat analyze_parameter_estimation_problem returns as its third value when compute_uncertainty = true: an UncertaintyReport, or an UncertaintyUnavailable that says why there is none. Experimental.
ODEParameterEstimation.EstimationFlow — Type
EstimationFlowHow the estimate is made, chosen with the flow option.
FlowStandard(default): the algebraic method.FlowDirectOpt: local optimization alone, from a random start.
ODEParameterEstimation.InterpolatorMethod — Type
InterpolatorMethodThe 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 forcompute_uncertainty.InterpolatorCustom: a function of your own, fromcustom_interpolators.
The default list runs nine curve fits. The values not named here are internal and may change in any release.
ODEParameterEstimation.OrderedODESystem — Type
OrderedODESystemA 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.
ODEParameterEstimation.PolishMethod — Type
PolishMethodThe 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.
ODEParameterEstimation.ResultProvenance — Type
ResultProvenanceHow a ParameterEstimationResult was produced, in its provenance field.
Fields
primary_method::algebraicwhen the result came from solving the polynomial equations,:direct_optwhen it came from fitting the model directly.interpolator_source: the curve fit whose derivative estimates led to it, as a short label, ornothing.rescue_path::none, or the recovery that produced it::algebraic_resolve_t0,:algebraic_resolve_shootor:direct_opt_fallback.source_shooting_index: which of the time points chosen byshooting_pointsthe 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, ornothing. Its type is internal.notes: short labels for anything else that happened along the way.
The remaining fields are internal bookkeeping and may change.
ODEParameterEstimation.SystemSolverMethod — Type
SystemSolverMethodHow 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.
ODEParameterEstimation.UQReliabilityAssessment — Type
UQReliabilityAssessmentThe 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::acceptedwhen the linear approximation passed its numerical checks,:degradedwhen it did not.interval_width::narrowwhen every standard error is under half its estimate,:widewhen under twice,:extremebeyond that;:invalidor:undefined_scalewhen they cannot be compared.selection_scope: which estimate the standard errors belong to.empirical_calibration: always:not_assessed_by_single_runfor 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.
ODEParameterEstimation.UncertaintyError — Type
UncertaintyErrorThrown instead of returning an UncertaintyUnavailable when the uncertainty cannot be worked out and the options say uq_failure_policy = :throw. Its outcome field is that UncertaintyUnavailable.
ODEParameterEstimation.UncertaintyReport — Type
UncertaintyReportStandard 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::okwhen every standard error is under half its estimate,:wide_ciwhen under twice,:degeneratebeyond that or when the numerical checks failed.uq_reliabilitygives 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.
ODEParameterEstimation.UncertaintyUnavailable — Type
UncertaintyUnavailableReturned in place of an UncertaintyReport when the uncertainty was asked for but cannot be worked out. Experimental. message says why, reason says it as a symbol, and warnings lists anything else that went wrong. The other fields are internal.