Skip to content
Surf Wiki
Save to docs
general/dynamical-systems

From Surf Wiki (app.surf) — the open knowledge base

Iterated filtering


Iterated filtering algorithms are a tool for maximum likelihood inference on partially observed dynamical systems. Stochastic perturbations to the unknown parameters are used to explore the parameter space. Applying sequential Monte Carlo (the particle filter) to this extended model results in the selection of the parameter values that are more consistent with the data. Appropriately constructed procedures, iterating with successively diminished perturbations, converge to the maximum likelihood estimate. and finance.

The perturbations to the parameter space play several different roles. Firstly, they smooth out the likelihood surface, enabling the algorithm to overcome small-scale features of the likelihood during early stages of the global search. Secondly, Monte Carlo variation allows the search to escape from local minima. Thirdly, the iterated filtering update uses the perturbed parameter values to construct an approximation to the derivative of the log likelihood even though this quantity is not typically available in closed form. Fourthly, the parameter perturbations help to overcome numerical difficulties that can arise during sequential Monte Carlo.

Overview

The data are a time series y_1,\dots,y_N collected at times t_1 . The dynamic system is modeled by a Markov process X(t) which is generated by a function f(x,s,t,\theta,W) in the sense that

: X(t^{}n)=f(X(t^{}{n-1}),t^{}_{n-1},t^{}_n,\theta,W)

where \theta is a vector of unknown parameters and W is some random quantity that is drawn independently each time f(.) is evaluated. An initial condition X(t_0) at some time t_0 is specified by an initialization function, X(t_0)=h(\theta). A measurement density g(y_n|X_n,t_n,\theta) completes the specification of a partially observed Markov process. We present a basic iterated filtering algorithm (IF1) followed by an iterated filtering algorithm implementing an iterated, perturbed Bayes map (IF2).

Procedure: Iterated filtering (IF1)

:Input: A partially observed Markov model specified as above; Monte Carlo sample size J; number of iterations M; cooling parameters 0 and b; covariance matrix \Phi; initial parameter vector \theta^{(1)}

:for m^{}{}=1 to M^{}{}

::set X_F(t^{}_0,j)=h\big(\Theta_F(t^{}_0,j)\big) for j=1,\dots, J ::set \bar\theta(t^{}_0)=\theta^{(m)} ::for n^{}_{}=1 to N^{}_{} :::draw \Theta_P(t^{}_n,j)\sim \mathrm{Normal}(\Theta_F(t^{}_{n-1},j), a^{m-1} \Phi) for j=1,\dots, J :::set X_P(t^{}_n,j)=f(X_F(t^{}_{n-1},j),t^{}_{n-1},t_n,\Theta_P(t_{n},j),W) for j=1,\dots, J :::set w(n,j) = g(y_n|X_P(t^{}_n,j),t^{}_n,\Theta_P(t_{n},j)) for j=1,\dots, J :::draw k^{}_1,\dots,k^{}_J such that P(k^{}_j=i)=w(n,i)\big/{\sum}_\ell w(n,\ell) :::set X_F(t^{}_n,j)=X_P(t^{}_n,k^{}_j) and \Theta_F(t^{}_n,j)=\Theta_P(t^{}_n,k^{}_j) for j=1,\dots, J :::set \bar\theta_i^{}(t_n^{}) to the sample mean of \{\Theta_{F,i}^{}(t^{}_{n},j),j=1,\dots,J\}, where the vector \Theta^{}_F has components \{\Theta^{}_{F,i}\} :::set V_i^{}(t_n^{}) to the sample variance of \{\Theta_{P,i}^{}(t^{}_{n},j),j=1,\dots,J\} ::set \theta_i^{(m+1)}= \theta_i^{(m)}+V_i(t_{1})\sum_{n=1}^N V_i^{-1}(t_{n})(\bar\theta_i(t_n)-\bar\theta_i(t_{n-1})) :Output: Maximum likelihood estimate \hat\theta=\theta^{(M+1)} ## Variations 1. For IF1, parameters which enter the model only in the specification of the initial condition, X(t_0), warrant some special algorithmic attention since information about them in the data may be concentrated in a small part of the time series. 1. Theoretically, any distribution with the requisite mean and variance could be used in place of the normal distribution. It is standard to use the normal distribution and to reparameterise to remove constraints on the possible values of the parameters. 1. Modifications to the IF1 algorithm have been proposed to give superior asymptotic performance. ## Procedure: Iterated filtering (IF2) :Input: A partially observed Markov model specified as above; Monte Carlo sample size J; number of iterations M; cooling parameter 0; covariance matrix \Phi; initial parameter vectors \{\Theta_j, j=1,\dots,J\} :for m^{}_{}=1 to M^{}_{} ::set \Theta_F(t^{}_0,j) \sim \mathrm{Normal}(\Theta_j, a^{m-1} \Phi) for j=1,\dots, J ::set X_F(t^{}_0,j)=h\big(\Theta_F(t^{}_0,j)\big) for j=1,\dots, J ::for n^{}_{}=1 to N^{}_{} :::draw \Theta_P(t^{}_n,j)\sim \mathrm{Normal}(\Theta_F(t^{}_{n-1},k^{}_j), a^{m-1} \Phi) for j=1,\dots, J :::set X_P(t^{}_n,j)=f(X_F(t^{}_{n-1},j),t^{}_{n-1},t_n,\Theta_P(t_{n},j),W) for j=1,\dots, J :::set w(n,j) = g(y_n|X_P(t^{}_n,j),t^{}_n,\Theta_P(t_{n},j)) for j=1,\dots, J :::draw k^{}_1,\dots,k^{}_J such that P(k^{}_j=i)=w(n,i)\big/{\sum}_\ell w(n,\ell) :::set X_F(t^{}_n,j)=X_P(t^{}_n,k^{}_j) and \Theta_F(t^{}_n,j)=\Theta_P(t^{}_n,k^{}_j) for j=1,\dots, J ::set \Theta_j=\Theta_F(t^{}_N,j) for j=1,\dots, J :Output: Parameter vectors approximating the maximum likelihood estimate, \{\Theta_j, j=1,\dots, J \} ## Software ["pomp: statistical inference for observed Markov processes"](https://kingaa.github.io/pomp/) : R package. ## References ## References 1. Ionides, E. L... (2011). "Discussion on "Feature Matching in Time Series Modeling" by Y. Xia and H. Tong.". *Statistical Science*. 2. Bhadra, A.. (2010). "Discussion of "Particle Markov chain Monte Carlo methods" by C. Andrieu, A. Doucet and R. Holenstein". *Journal of the Royal Statistical Society, Series B*. 3. Breto, C.. (2009). "Time series analysis via mechanistic models". *Annals of Applied Statistics*. 4. Camacho, A.. (2011). "Explaining rapid reinfections in multiple-wave influenza outbreaks: Tristan da Cunha 1971 epidemic as a case study". *Proceedings of the Royal Society B*. 5. He, D.. (2010). "Plug-and-play inference for disease dynamics: measles in large and small towns as a case study". *Journal of the Royal Society Interface*. 6. He, D.. (2011). "Mechanistic modelling of the three waves of the 1918 influenza pandemic". *Theoretical Ecology*. 7. Ionides, E. L.. (2006). "Inference for nonlinear dynamical systems". *Proceedings of the National Academy of Sciences of the USA*. 8. Ionides, E. L.. (2011). "Iterated filtering". *Annals of Statistics*. 9. Lavine, J.. (2012). "Resolving pertussis immunity and vaccine effectiveness using incidence time series". *Expert Review of Vaccines*. 10. Lindstrom, E.. (2012). "Efficient Iterated Filtering". *System Identification*. 11. Earn, D.. (2012). "Effects of School Closure on Incidence of Pandemic Influenza in Alberta, Canada". *Annals of Internal Medicine*. 12. Lindstrom, E.. (2013). "Tuned iterated filtering". *Statistics and Probability Letters*. 13. Roy, M.. (2013). "The potential elimination of Plasmodium vivax malaria by relapse treatment: Insights from a transmission model and surveillance data from NW India". *PLOS Neglected Tropical Diseases*. 14. Zhou, J.. (2013). "Nonlinear mixed-effects state space models with applications to HIV dynamics". *Statistics and Probability Letters*. 15. Doucet, A.. (2013). "Derivative-Free Estimation of the Score Vector and Observed Information Matrix with Application to State-Space Models". 16. King, A. A.. (2008). ["Inapparent infections and cholera dynamics"](https://deepblue.lib.umich.edu/bitstream/2027.42/62519/1/nature07084.pdf). *Nature*. 17. Laneri, K.. (2010). "Forcing versus feedback: Epidemic malaria and monsoon rains in NW India". *PLOS Computational Biology*. 18. Bhadra, A.. (2011). "Malaria in Northwest India: Data analysis via partially observed stochastic differential equation models driven by Lévy noise". *Journal of the American Statistical Association*. 19. Ionides, E. L.. (2015). "Inference for dynamic and latent variable models via iterated, perturbed Bayes maps". *Proceedings of the National Academy of Sciences of the USA*. 20. Blake, I. M.. (2014). "The role of older children and adults in wild poliovirus transmission". *Proceedings of the National Academy of Sciences of the USA*. 21. Breto, C.. (2014). "On idiosyncratic stochasticity of financial leverage effects". *Statistics and Probability Letters*. 22. (2015). "Avoidable errors in the modelling of outbreaks of emerging pathogens, with special reference to Ebola". *Proceedings of the Royal Society B*. 23. Shrestha, S.. (2013). "Identifying the interaction between influenza and pneumococcal pneumonia using incidence data". *Science Translational Medicine*. 24. Blackwood, J. C.. (2013). "Deciphering the impacts of vaccination and immunity on pertussis epidemiology in Thailand". *Proceedings of the National Academy of Sciences of the USA*. 25. Blackwood, J. C.. (2013). "Resolving the roles of immunity, pathogenesis, and immigration for rabies persistence in vampire bat". *Proceedings of the National Academy of Sciences of the USA*. ::callout[type=info title="Wikipedia Source"] This article was imported from [Wikipedia](https://en.wikipedia.org/wiki/Iterated_filtering) and is available under the [Creative Commons Attribution-ShareAlike 4.0 License](https://creativecommons.org/licenses/by-sa/4.0/). Content has been adapted to SurfDoc format. Original contributors can be found on the [article history page](https://en.wikipedia.org/wiki/Iterated_filtering?action=history). ::
Want to explore this topic further?

Ask Mako anything about Iterated filtering — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report