copulapdf
statistics: y = copulapdf (family, x, theta)
statistics: y = copulapdf (’t’, x, theta, df)
Copula family probability density functions (PDF).
'Gaussian' for the Gaussian family, 't' for the
Student’s t family, 'Clayton' for the Clayton family,
'Gumbel' for the Gumbel-Hougaard family, 'Frank' for the
Frank family, 'AMH' for the Ali-Mikhail-Haq family, or
'FGM' for the Farlie-Gumbel-Morgenstern family. The last two are
Octave extensions that MATLAB does not provide.
-1 for the
Clayton family, greater than or equal to 1 for the
Gumbel-Hougaard family, arbitrary for the Frank family, and greater
than or equal to -1 and lower than 1 for the
Ali-Mikhail-Haq family. Moreover, theta must be non-negative
for dimensions greater than 2. theta must be a column
vector with the same number of rows as x or be scalar. The
Farlie-Gumbel-Morgenstern family instead takes one parameter for every
subset of the variables of order two or more, so theta is a row
vector of length 2^d-d-1 or a matrix with one such row per
observation; parameter sets violating the family’s linear constraints
give NaN.
x = [0.2:0.2:0.6; 0.2:0.2:0.6];
theta = [1; 2];
y = copulapdf ("Clayton", x, theta)
y = copulapdf ("Gumbel", x, 2)
|
Input arguments must be double or single; integer, logical,
and character arrays are rejected. MATLAB accepts a character array and
evaluates it at the character codes, which Octave deliberately does not,
since a character array is an integer type and integers are refused too.
See also: copulacdf, copularnd
Source Code: copulapdf