Calculate the log likelihood for a set of data, averaged by n

general_loglike_mc_trees(mc_trees)

Arguments

mc_trees

data frame with either (the cluster_id, person_id, n_inf, cluster_size, prob_inf) or additionally with the covariate information

Value

data frame of average loglikelihood for a cluster of a given size