Given a vector of FOIs for all circulating years, a matrix of infection histories and the vector specifying if individuals were alive or not, returns the log probability of the FOIs given the infection histories.
calc_phi_probs_indiv(phis, infection_history, age_mask, strain_mask)
phis | a vector of FOIs |
---|---|
infection_history | the matrix of infection histories |
age_mask | the age mask vector as returned by |
a vector of log probabilities for each individual
Other priors:
calc_phi_probs_spline()
,
calc_phi_probs()
,
create_prior_mu()
,
create_prob_shifts()
,
find_beta_prior_mode()
,
find_beta_prior_with_mean_var()
,
find_beta_prior_with_mean()
,
fit_beta_prior()
,
fit_normal_prior()
,
inf_mat_prior()
,
infection_history_prior()
,
prob_mus()
,
prob_shifts()