hexp {epidemia} R Documentation

## A hierarchical model for seeded infections

### Description

This distribution assigns seeded infections in each population an exponential prior. The aux parameter refers to the mean of this distribution. This mean parameter is common to seeded infections in each group, and is given a prior distribution. This approach of assigning priors to hyperparameters is referred to as hierarchical modeling. A call to this function can be passed as the prior_seeds argument in epiinf.

### Usage

hexp(prior_aux = rstanarm::exponential(0.03))


### Arguments

 prior_aux Specifies the prior distribution on the auxiliary parameter. This can be a call to normal, student_t or exponential.

### Value

A named list to be parsed internally by epim.

### References

There are no references for Rd macro ⁠\insertAllCites⁠ on this help page.

[Package epidemia version 1.0.0 Index]