loop.optim: Optimizer step for estimating the Heligman-Pollard Parameters...

Description Usage Arguments Value Warning Note References See Also

Description

Performs the optimizer step in the IMIS procedure for the eight Heligman-Pollard parameters.

Usage

1
loop.optim(prior, nrisk, ndeath, age, d = 10, theta.dim = 9)

Arguments

prior

A matrix containing the prior.

nrisk

A vector containing the number of persons at risk in each age group.

ndeath

A vector containing the number of deaths in each age group.

age

A vector containing the ages at which each age interval begins.

d

Number of optimizer iterations.

theta.dim

Number of columns of the prior (This should be 9 if estimating all parameters. Functionality for estimation a limited number of parameters does not exist yet).

Value

opt.mu.d

A matrix containing the local optimums resulting from the optimizer step. Each local optimum contains a set of 9 parameter values.

opt.cov.d

An array containing the covariance matrix for each of the local optimums.

d.keep

The number of local optimums found whose likelihood is greater than the maximum likelihood from the prior.

theta.new

The set of parameters from the prior with the greatest weight as calculated with prior.likewts.

log.like.0

A vector containing a likelihood for each row of the prior.

wts.0

A vector containing an importance weight for each row of the prior.

Warning

If the likelihood for the initial local maximum does not exceed the highlest likelihood from the prior, a warning will be issued.

Note

Occasionally, this step fails to produce an initial local maximum that exceeds the highest likelihood of the prior and a warning is issued. Usually drawing a new prior or selecting a different algorithm solves this problem.

References

Poole, D. and Raftery, A. (2000). Inference for Deterministic Simulation Models: The Bayesian Melding Approach. Journal of the American Statistical Association 95:1244<e2><80><93>1255.

Raftery, A and Bao, L. (2009). Estimating and Projecting Trends in HIV/AIDS Generalized Epidemics Using Incremental Mixture Importance Sampling. Technical Report 560, Department of Statistics, University of Washington.

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.

See Also

mod ll.binom prior.likewts HP.mod


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