This function serves to update the warpDLM variance parameters when the underlying DLM is a structural model (i.e. local level or local linear trend). It assumes a Unif(0,A=10^4) prior on all standard deviations.
update_struct(fit, z_star, theta)A KFAS model object (of class SSModel) updated with the newly sampled variance parameters
the KFAS model object describing the DLM
the latest draw of z*
the latest draw of the latent state(s) theta