Metrop: A subclass of Baysian calibrator that uses the mcmc::metrop...

MetropR Documentation

A subclass of Baysian calibrator that uses the mcmc::metrop function

Description

A subclass of Baysian calibrator that uses the mcmc::metrop function

A subclass of Baysian calibrator that uses the mcmc::metrop function

Super classes

REpiSim::Calibrator -> REpiSim::Baysian -> Metrop

Public fields

the

names of all parameters

The

samples of the posterior distribution

Active bindings

the

names of all parameters

The

samples of the posterior distribution

Methods

Public methods

Inherited methods

Method new()

initializer

Usage
Metrop$new(
  model,
  time,
  data,
  likelihood,
  ...,
  cumulative = FALSE,
  mapping = character()
)
Arguments
model

the model to calibrate

time

either a numeric vector containing the times (including the initial time) of the ODE solution that corresponds to the data, or a character value giving the name of the column in data that corresponds to time.

data

a data.frame object containign the data for the calibration

likelihood

a Distribution object specify the type of likelihood

...

each argument is a formula defining the maps between the data columns and the model variables. Please see the details section.

cumulative

whether the data is cumulative

Details

A mapping is a named argument, where name is the data colummn name, and value corresponds to the model variables (or an expression to calculate from the model variables.)


Method continue()

Usage
Metrop$continue(...)

Method clone()

The objects of this class are cloneable with this method.

Usage
Metrop$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


junlingm/REpiSim documentation built on Nov. 28, 2023, 2:35 a.m.