riecovest.distance.wishart_likelihood
- riecovest.distance.wishart_likelihood(mat_variable, cov, N)
Wishart likelihood function.
It is not a true likelihood, since the mass is not 1. It is however proportional to true likelihood with regards to the covariance matrix. Anything constant with regards to the covariance is not taken into account. Therefore, the maximum likelihood estimator can be found by maximizing this function.
- Parameters:
mat_variable (ndarray of shape (M, M)) – positive definite matrix
cov (ndarray of shape (M, M)) – positive definite matrix
N (int) – the degree of freedom parameter for the wishart distribution
- Returns:
l – The likelihood of the data given the covariance matrix
- Return type:
float