Define Parameters Distribution for Probabilistic Analysis

Share:

Description

Define the properties of parameter distributions and their correlation structure for probabilistic uncertainty analysis of Markov models.

Usage

1
2
3
4
5
6
7
define_distrib(...)

define_distrib_(...)

define_psa(..., correlation)

define_psa_(list_qdist, list_multi, correlation)

Arguments

...

Formulas defining parameter distributions.

correlation

A correlation matrix for parameters or the output of define_correlation.

list_qdist

List of resampling functions.

list_multi

List of multinomial parameters.

Details

If no correlation matrix is specified parameters are assumed to be independant.

The correlation patrix need only be specified for correlated parameters.

Value

An object of class resamp_definition. Contains list_qdist, a list of quantile functions and correlation a correlation matrix.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mc <- define_correlation(
  age_init, cost_init, .4
)

define_psa(
    age_init ~ normal(60, 10),
    cost_init ~ normal(1000, 100),
    correlation = mc
)

# example with multinomial parameters

define_psa(
  rate1 + rate2 + rate3 ~ multinom(10, 50, 40),
  a + b ~ multinom(15, 30)
)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.