dens.prior: Density of priors.

Description Usage Arguments Value References

Description

This function calculates the density of the prior distribution for the 9 parameters of the adapted Heligman-Pollard model. The density is calculated using a uniform distribution.

Usage

1
2
dens.prior(x, pri.lo = c(0, 0, 0, 0, 0, 0, 15, 0, 0), pri.hi = c(0.15, 1, 1,
  0.5, 0.25, 15, 55, 0.1, 1.25))

Arguments

x

A 1 * 9 vector or n * 9 matrix containing values for the eight Heligman-Pollard Parameters.

pri.lo

A vector giving the lower bounds of the uniform priors.

pri.hi

A vector giving the upper bounds of the uniform priors.

Value

A scalar describing the density of the prior distribution.

References

Sharrow, D.J., Clark, S.J., Collinson, M.A., Kahn, K. and Tollman, S.M. (2013). The Age Pattern of Increases in Mortality Affected by HIV: Bayesian Fit of the Heligman-Pollard Model to Data from the Agincourt HDSS Field Site in Rural Northeast South Africa. Demogr. Res. 29, 1039<e2><80><93>1096.


strandCet documentation built on May 1, 2019, 8:19 p.m.