Recovers the conditional-Gaussian coefficients from drift functions written in terms of the full state, by exact affine differencing. The supplied functions are checked before they are replaced by the reconstructed representation, so a drift that is not affine in the hidden state is rejected rather than silently linearised.
Usage
aci_model_from_affine(
f_full,
g_full,
Sx,
Sy_hidden,
k,
l,
name = NULL,
Sx2 = NULL,
Sy_shared = NULL,
meta = list()
)Arguments
- f_full
Function of
(t, x, y)giving the full observed drift.- g_full
Function of
(t, x, y)giving the full hidden drift.- Sx
Function of
(t, x)giving the observed diffusion on the first Wiener channel.Function of
(t, x)giving the hidden diffusion on its own Wiener channel.- k
Observed dimension; a positive whole number.
- l
Hidden dimension; a positive whole number.
- name
Optional 1-length character label for the model.
- Sx2
Optional function of
(t, x)giving the observed diffusion on the second Wiener channel.Optional function of
(t, x)giving the hidden diffusion on the shared Wiener channel, which introduces correlated noise.- meta
Optional named list of metadata carried on the object.