statsmodels.discrete.discrete_model.Probit.loglike¶
- Probit.loglike(params)[source]¶
Log-likelihood of probit model (i.e., the normal distribution).
- Parameters:¶
- paramsarray_like
The parameters of the model.
- Returns:¶
- loglike
float
The log-likelihood function of the model evaluated at params. See notes.
- loglike
Notes
\[\ln L=\sum_{i}\ln\Phi\left(q_{i}x_{i}^{\prime}\beta\right)\]Where \(q=2y-1\). This simplification comes from the fact that the normal distribution is symmetric.
Last update:
Oct 03, 2024