Skip to content

filter.mean vs filter.traj: prediction and smoothing #143

Answered by kingaa
MarieAugerMethe asked this question in Q&A
Discussion options

You must be logged in to vote

Very good question, @MarieAugerMethe!

The difference between filter.mean and filter.traj is related to the difference between filtering and smoothing. Recall that the filtering distribution is defined to be the distribution of latent states, Xt, given the data up through time t. That is, Xt | y*1:t, t=1,...,T. By contrast, the smoothing distribution is the distribution of Xt given all the data: Xt | y*1:T, t=1,...,T. The filtering distribution is a natural by-product of the particle filter and pomp summarizes it in the form of the "filter mean" when you set filter.mean=TRUE. [Note that, if you set save.states=TRUE, pfilter saves the full filtering distribution for you, as represented by t…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kingaa
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #74 on April 23, 2021 13:18.