DifferenceEquations.jl

Solving difference equations with DifferenceEquations.jl and the SciML ecosystem.
Author SciML
Popularity
28 Stars
Updated Last
1 Year Ago
Started In
September 2021

DifferenceEquations.jl

Solving difference equations with DifferenceEquations.jl and the SciML ecosystem.

Github Action CI Coverage Status Stable Dev

This package simulates for initial value problems for deterministic and stochastic difference equations, with or without a separate observation equation. In addition, the package provides likelihoods for some standard filters for estimating state-space models.

Relative to existing solvers, this package is intended to provide differentiable solvers and filters. For example, you can simulate a linear gaussian state space model and find the gradient of the solution with respect to the model primitives. Similarly, the likelihood for the Kalman Filter can itself be differentiated with respect to the underlying model primitives. This makes the package especially amenable to estimation and calibration where the entire solution blocks become auto-differentiable.

NOTE: While the features of this package have unit tests and documentation, the package is in a pre-release state. if you require additional features or flexibility, you will need to contribute them.

Tutorials and Documentation

For information on using the package, see the stable documentation. Use the in-development documentation for the version of the documentation, which contains the unreleased features.