View source: R/likelihood_binomial.R
loglikelihood_binomial | R Documentation |
Calculate the log likelihood for a binomial distribution.
loglikelihood_binomial(parameters, predictor, outcome)
parameters |
the regression parameters. Element one is the intercept, element two is the slope or beta coefficient. |
predictor |
vector of predictors. |
outcome |
vector of outcomes. |
the log likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.