Computes the joint log-likelihood for the HPV model
1 2 3 4 5 6 |
data |
data frame with n_obs rows and four columns: "nhpv", "Npart", "ncases", "Npop" |
theta |
matrix of dimension c(2, 1). Two parameters defining the linear relation between HPV prevalence and cancer incidence in the HPV model. |
phi |
matrix of dimension c(n_obs, 1). The HPV prevalence parameter of each population. values in (0,1) |
eta_modules |
Named tuple specifying the degree of influence for the "pois" and "binom" modules in the HPV model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.