Copula: Log-likelihood, AIC, BIC

조회 수: 33 (최근 30일)
Elena
Elena 2013년 10월 22일
편집: kantha vel 2018년 9월 10일
Dear All, I am trying to estimate the best copula and have read that one approach is to compare log-likelihood and some information criteria (AIC, BIC). But I can not calculate them, also in the examples provided there is no info how to proceed. Help please... Would be very grateful! Thanks in advance.
  댓글 수: 1
Antonio
Antonio 2014년 9월 20일
I have the same question, I have two dataset that are distributed following a Normal Distribution, after using the normcdf to make them Uniform, afterwards, I use the copulafit comamand to fit with the different families of copulas, and now I would like to check which is the one that adapt better, in order to measure the dependence among the data.
I guess that AIC and BIC are the best way to deal with this, but I do not know how to implement them.

댓글을 달려면 로그인하십시오.

답변 (1개)

M Bateni
M Bateni 2016년 6월 23일
You can go to the body of built-in file 'copulafit' by typing 'edit copulafit' in the command window. At the end of the body of that function, there are some sub-functions starting with "negloglike" like 'negloglike_clayton'. By using those functions out of 'copulafit', you can have negative likelihood values for different copula families. having this value, you can easily calculate AIC or BIC (maybe using 'aicbic' function).
  댓글 수: 2
Lazola Ngcengula
Lazola Ngcengula 2017년 5월 3일
Thanks very much man, this works perfectly after a few modifications of course.
kantha vel
kantha vel 2018년 9월 10일
편집: kantha vel 2018년 9월 10일
Hi friend Lazola Can you send that code?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by