Solutions

DataDrivenDiffEq.DataDrivenSolution — Type
struct DataDrivenSolution{T} <: DataDrivenDiffEq.AbstractDataDrivenSolution

The solution to a DataDrivenProblem derived via a certain algorithm. The solution is represented via an Basis, which makes it callable.

Fields

  • basis: The basis representation of the solution

  • retcode: Returncode

  • alg: Algorithm

  • out: Original output of the solution algorithm

  • prob: Problem

  • residuals: Residual sum of squares

  • dof: Degrees of freedom

  • internal_problem: Internal problem

source
DataDrivenDiffEq.DDReturnCode — Type
DDReturnCode

Return code for DataDrivenDiffEq solver results.

The values indicate successful convergence, generic failure, and termination due to iteration, wall-time, absolute-tolerance, or relative-tolerance limits.

source

API

Statistical interface

StatsAPI.dof — Method
dof(sol)

Returns the degrees of freedom of the DataDrivenSolution.

source
StatsAPI.rss — Method
rss(sol)

Returns the residual sum of squares of the DataDrivenSolution.

source
StatsAPI.loglikelihood — Method
loglikelihood(sol)

Returns the log-likelihood of the DataDrivenSolution assuming a normal distributed error.

source
StatsAPI.nobs — Method
nobs(sol)

Returns the number of observations of the DataDrivenSolution.

source
StatsAPI.nullloglikelihood — Method
nullloglikelihood(sol)

Return the null log-likelihood of the DataDrivenSolution. This corresponds to a model only fitted with an intercept and a normal distributed error.

source