Home   >   User Resources   >   Online Help   >   apaCopula.t.Estimate.DoF
 

 

Function index Version 3.0.0

apaCopula.t.Estimate.DoF(Data, [IsUniform], [DoMultivariateOtherwiseBivariate])

Excel=apaCopula.t.Estimate.DoF(Data, [IsUniform], [DoMultivariateOtherwiseBivariate])

Result

Estimates the degrees of freedom ν of the Student t copula from a sample: a single value for all k columns jointly, or a k x k matrix of bivariate estimates.

Syntax

Data: r x k matrix of observations (k ≥ 2), e.g. returns, each column containing a variable; no missing values

IsUniform: optional; TRUE if Data already contains uniform marginals strictly between 0 and 1, FALSE to convert each column to ranks / (r + 1) (average ranks for ties); default: FALSE

DoMultivariateOtherwiseBivariate: optional; TRUE estimates one ν from all columns; FALSE returns a k x k matrix with the bivariate ν of columns i and j in the lower triangle (row i > column j), #N/A on and above the diagonal; default: TRUE

Algorithm

Pseudo-observations: u_ij = rank(x_ij) / (r + 1) per column, unless IsUniform is TRUE.

Multivariate (DoMultivariateOtherwiseBivariate TRUE): ρ and ν jointly maximize the t copula log-likelihood Σ_t [log t_{ν,ρ}(x_t) − Σ_j log t_ν(x_tj)], x_tj = T_ν⁻¹(u_tj). Profile likelihood in ν: grid on log ν over [1, 1000], refined by golden-section search; for each ν, ρ is optimized by BFGS with analytic gradient over a Cholesky parameterization (rows of unit length), which keeps ρ a positive definite correlation matrix. Starting values: Kendall's tau estimate below.

Bivariate (FALSE): for each pair, ρ_ij = sin(π/2 · τ_ij) with τ_ij Kendall's tau (tau-b), then ν maximizes the bivariate t copula log-likelihood with ρ_ij fixed (same grid and golden-section search).

Remarks

A result of 1000 (upper bound) indicates no evidence of tail dependence, i.e. the Gaussian copula is adequate; small values indicate strong joint tail dependence.

The multivariate ν is one value shared by all pairs and need not equal the average of the bivariate values. Because the bivariate fit uses Kendall's tau correlations while the multivariate fit estimates ρ jointly, the bivariate ν of two columns can differ slightly from the multivariate ν of the same two columns.

Demarta/McNeil (2005): "The t Copula and Related Copulas", International Statistical Review 73(1).