Skip to content

Estimate particle filter fit #135

Answered by jandraor
jandraor asked this question in Q&A
Mar 12, 2021 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

Dear Professor King (@kingaa),

I appreciate your thorough response & the time you devoted to this. It has answered some of my doubts but also raised new ones. Here are the model equations to clarify the context of this work.

Csnippet("
    y = rpois(C);  
 ") -> rmeas

Csnippet("
  lik = dpois(y,C,give_log);
") -> dmeas

Csnippet("
    S = 5e6 - I_0;
    E = 0;
    I = I_0;
    R = 0;
    B = B_0;
    C = 0;
  ") -> rinit

 Csnippet("
    double dW     = rnorm(0, sqrt(dt));
    double lambda = B * I / N;
    S-= (S * lambda)*dt;
    E+= (S * lambda - sigma*E)*dt;
    I+= (sigma * E - gamma*I)*dt;
    R+= (gamma*I)*dt;
    B+= alpha*B*dW;
    C+= (rho*sigma*E)*dt;
  ") -> SEIR_GBM_step

Th…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@kingaa
Comment options

@jandraor
Comment options

@kingaa
Comment options

@jandraor
Comment options

@kingaa
Comment options

Answer selected by kingaa
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