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