Code covered by the BSD License
-
[p mlv]=cmlstat(family,x)
CMLSTAT Estimates copula parameter(s), given sample X.
-
bernsteincop(x,g)
BERNSTEINCOP Bernstrein Empirical copula based on sample X.
-
claytoncml(alpha,u,v)
FRANKCML Maximum Likelihood Function for Clayton copula.
-
copulaparam(type,tau)
COPULAPARAM Copula parameter, given Kendall's rank correlation.
-
corrtest(R)
CORRTEST tests if R is correlation matrix.
-
debye1(x)
DEBYE1 First order Debye function.
-
ecopula(x)
ECOPULA Empirical copula based on sample X.
-
frankcml(alpha,u,v)
FRANKCML Maximum Likelihood Function for Frank copula.
-
gausscml(alpha,u,v)
GAUSSCML Maximum Likelihood Function for Gauss copula.
-
gumbelcml(alpha,u,v)
FRANKCML Maximum Likelihood Function for Gumbel copula.
-
kfun(family,x,alpha)
KFUN Goodness-of-fit test for Archimedean copulas.
-
mvcoprnd(family,theta,m,n,nu)
MVCOPRND Random numbers from multivariate copula.
-
tcml(theta,u,v)
TCML Maximum Likelihood Function for t copula.
-
View all files
from
Copula generation and estimation
by Robert Kopocinski
Copula functions written for Master Thesis.
|
| gumbelcml(alpha,u,v)
|
function F = gumbelcml(alpha,u,v)
%FRANKCML Maximum Likelihood Function for Gumbel copula.
% F = FRANKCML(ALPHA,U,V) returns value of Logarithm from Maximum
% Likelihood Function multiplied by -1, for bivariate sample [U V]
% and copula parameter ALPHA. Extension to n dimensions is straightforward.
%
% Written by Robert Kopocinski, Wroclaw University of Technology,
% for Master Thesis: "Simulating dependent random variables using copulas.
% Applications to Finance and Insurance".
% Date: 2007/05/12
%
% [1] Cherubini, U. and Luciano, E. and Vecchiato, W. (2004) Copula Methods in Finance,
% "John Wiley & Sons", New York.
%
F = -sum(log( exp(-((-log(u)).^alpha + (-log(v)).^alpha).^(1./alpha)).*(-log(u)).^(alpha-1).*(-log(v)).^(alpha-1)./u./v.*((-log(u)).^alpha+(-log(v)).^alpha).^(1./alpha-2).*( ((-log(u)).^alpha+(-log(v)).^alpha).^(1./alpha) + alpha - 1 ) ));
|
|
Contact us at files@mathworks.com