Value of Log-Likelihoodfunction using Copula's

Hello,
Im quite new to matlab and have a very simple problem. I am investigating tail dependences using copulas by using the build-in function 'copulafit'. To decide which copulas to use i want to know the accompanying log likelihoodfunction of each copula. When i opened the build-in function i saw this line:
% Log-likelihood functions for Archimedean copulas (nested within main function) % function [nll,d2] = negloglike_clayton(alpha)
But i have know idea how to call this function (which is within another function). I only know how to call the function copulafit. Does anyone know how to call the LL function? Thanks in advance!!

답변 (2개)

DANA VANEGAS
DANA VANEGAS 2018년 4월 20일

0 개 추천

Probably it is too late for this answer but it can help to others. Check the link <https://www.mathworks.com/matlabcentral/answers/91098-copula-log-likelihood-aic-bic typing 'edit copulafit' in the command window and see the nested functions. You can just get the estimated parameter and use it in the equations below the negloglike to get nll and d2. To get the parameter you just need to apply the copulafit build-in function.
DANA VANEGAS
DANA VANEGAS 2018년 4월 21일

0 개 추천

댓글 수: 1

Dear Dana, Your code in the comment section of the shared file was very helpful to me. I was wondering if you would have any tips on how to extract the nll-value for a fitted Gaussian copula? Thank you, JJ

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

카테고리

도움말 센터File Exchange에서 Probability Distributions and Hypothesis Tests에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2015년 8월 25일

댓글:

2018년 8월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by