Code
log_lik_beta_binom(x = samples, size = 50, prob = 0.2, theta = 1.1)
Output
[1] -4.976366 -2.395701 -1.375050 -3.917547 -1.375050 -4.314925 -4.409988
[8] -3.218659 -4.045703 -1.375050 -4.409988 -1.375050 -3.685783 -1.375050
[15] -1.375050 -2.395701 -1.375050 -1.375050 -4.845012 -1.375050 -2.395701
[22] -4.631547 -2.787926 -1.375050 -1.375050 -1.375050 -3.983622 -3.769878
[29] -1.375050 -1.375050 -1.375050 -3.769878 -3.035763 -3.769878 -3.364624
[36] -3.486792 -5.021646 -1.375050 -2.395701 -1.375050 -1.375050 -1.375050
[43] -3.218659 -1.375050 -3.592380 -4.045703 -1.375050 -1.375050 -1.375050
[50] -2.787926 -5.269883 -4.976366 -2.395701 -1.375050 -5.326411 -1.375050
[57] -1.375050 -4.716959 -1.375050 -3.218659 -1.375050 -3.685783 -5.521217
[64] -1.375050 -1.375050 -1.375050 -3.486792 -3.364624 -1.375050 -2.395701
[71] -1.375050 -4.265252 -1.375050 -2.395701 -1.375050 -2.395701 -3.592380
[78] -3.486792 -1.375050 -3.769878 -2.395701 -4.045703 -1.375050 -3.035763
[85] -2.395701 -3.218659 -1.375050 -2.787926 -1.375050 -3.035763 -1.375050
[92] -1.375050 -1.375050 -1.375050 -4.265252 -1.375050 -2.395701 -3.364624
[99] -3.035763 -1.375050
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.