libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_Beta_P_RS.hpp>
Public Member Functions | |
FC_Beta_P_RS (ModelContext *_context, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_R, CovariateMatrix *_X, InitData *_A0, double *_p_rs, double *_beta_p_rs, double _tausq, double _sliceWidth) | |
~FC_Beta_P_RS () | |
virtual double | evalPrior () |
virtual int | evalCPU () |
virtual int | evalOCL () |
virtual void | sample (int verbose) |
virtual long double | getValue () |
virtual void | setValue (long double val) |
virtual int | calculateRelevantCompartments () |
virtual int | calculateRelevantCompartments_OCL () |
Public Member Functions inherited from SpatialSEIR::ParameterFullConditional | |
virtual | ~ParameterFullConditional () |
virtual double | acceptanceRatio (int i) |
void | updateSamplingParameters (double desiredRatio, double targetWidth, double proportionChange) |
int | getFullConditionalType () |
Public Member Functions inherited from SpatialSEIR::FullConditional | |
virtual | ~FullConditional () |
double | acceptanceRatio () |
void | setSamplerType (int type) |
Public Attributes | |
ModelContext ** | context |
CompartmentalModelMatrix ** | S_star |
CompartmentalModelMatrix ** | R |
CovariateMatrix ** | X |
InitData ** | A0 |
double ** | beta_p_rs |
double ** | p_rs |
double * | tausq |
long double * | value |
Public Attributes inherited from SpatialSEIR::ParameterFullConditional | |
int * | varLen |
Public Attributes inherited from SpatialSEIR::FullConditional | |
double * | sliceWidth |
std::vector< Sampler * > * | samplers |
Sampler ** | currentSampler |
int * | samples |
int * | accepted |
FC_Beta_P_RS gives the full conditional distribution of beta_p_rs, the vector of regression parameters capturing the probability that an individual transitions from R to S, the removed/recovered category to the susceptible category.
SpatialSEIR::FC_Beta_P_RS::FC_Beta_P_RS | ( | ModelContext * | _context, |
CompartmentalModelMatrix * | _S_star, | ||
CompartmentalModelMatrix * | _R, | ||
CovariateMatrix * | _X, | ||
InitData * | _A0, | ||
double * | _p_rs, | ||
double * | _beta_p_rs, | ||
double | _tausq, | ||
double | _sliceWidth | ||
) |
SpatialSEIR::FC_Beta_P_RS::~FC_Beta_P_RS | ( | ) |
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
InitData** SpatialSEIR::FC_Beta_P_RS::A0 |
double** SpatialSEIR::FC_Beta_P_RS::beta_p_rs |
ModelContext** SpatialSEIR::FC_Beta_P_RS::context |
double** SpatialSEIR::FC_Beta_P_RS::p_rs |
CompartmentalModelMatrix** SpatialSEIR::FC_Beta_P_RS::R |
CompartmentalModelMatrix** SpatialSEIR::FC_Beta_P_RS::S_star |
double* SpatialSEIR::FC_Beta_P_RS::tausq |
long double* SpatialSEIR::FC_Beta_P_RS::value |
CovariateMatrix** SpatialSEIR::FC_Beta_P_RS::X |