Description Usage Arguments Value
Calculate the log likelihood for data
1 2 3 4 5 6 7 | loglike_cluster_summary(
par,
cluster_summary,
sampled_trees,
return_neg = FALSE,
n_trials = 10
)
|
par |
vector of parameters "beta_0" and "beta_1" |
cluster_summary |
output from |
sampled_trees |
draws from |
return_neg |
If TRUE, return the negative log like. |
n_trials |
number of trials for each "average" |
likelihood summing over the 'average' of cluster with given n and n_pos (single number), weighted by the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.