log_reg | R Documentation |
Calculate the likelihood or log-likelihood for one observation of logistic regression model .
log_reg(y, x, beta, iflog = TRUE)
y |
Response value (0 or 1). |
x |
Covariate vector of dimension |
beta |
Estimated parameter of logistic regression model. |
iflog |
If TRUE, log_reg calculate the log-likelihood; else likelihood. |
Likelihood or log-likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.