sis_xx_gibbs_swap_at_time_kernel: SIS swap kernel

Description Usage Arguments Value

View source: R/sis_xx_swap_at_time_kernel.R

Description

update the agent states for the SIS model given observations such that the complete likelihood is not zero.

Usage

1
sis_xx_gibbs_swap_at_time_kernel(xx, time_step, model_config)

Arguments

xx

a matrix of size model_config$N by length(y), can be initialized from sis_init_hidden_popobservation.R

time_step

0 <=t <= T

model_config

a list that must contain

  • N : population size

  • rho : reporting rate

  • alpha0 : vector of probabilities

  • state_to_alpha: function to compute alpha given agent states at a previous time

Value

xx


nianqiaoju/agents documentation built on Feb. 19, 2021, 12:18 a.m.