sis_xx_gibbs_singlesite_kernel: Gibbs sampler for SIS model

Description Usage Arguments Value

View source: R/sis_xx_gibbs_singlesite_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_singlesite_kernel(xx, y, model_config)

Arguments

xx

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

y

a list of population observations

model_config

a list that contains parameters and network structure

Value

hiden states


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