mcmc_hpv: MCMC procedure for ecological study of HPV and cervical...

Description Usage Arguments

View source: R/mcmc_hpv.R

Description

MCMC sampling for the ecological study of HPV and cervical cancer.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
mcmc_hpv(
  HPV,
  hpv_model_whole_stan,
  hpv_model_poisson_stan,
  eta_pois = 1,
  eta_binom = 1,
  n_iter = 10000,
  n_warmup = 1000,
  n_chains_mcmc = 4,
  n_iter_sub = 200,
  out_file_rda = NULL,
  n_cores = 1
)

Arguments

HPV

Data frame. Data for correlation between human papillomavirus (HPV) prevalence and cervical cancer incidence.

hpv_model_whole_stan

stanmodel. The compiled stan model with the powered version of the HPV model.

hpv_model_poisson_stan

stanmodel. The compiled stan model with the poisson module of the HPV model.

eta_pois

Float. Degree of influence of the poisson module.

eta_binom

Float. Degree of influence of the poisson module.

n_iter

Integer. Number of iterations in the main MCMC chain.

n_warmup

Integer. Number of updates discarded when "warming-up" the MCMC.

n_chains_mcmc

Integer. Number of parallel chains produced by the sampler

n_iter_sub

Integer. Number of updates in the subchain of the two-stage MCMC

out_file_rda

Indicates a file (.rda) where the output should be saved

n_cores

Number of cores used by stan in the sampling process.


christianu7/aistats2020smi documentation built on March 7, 2021, 2:40 p.m.