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

 

Function index Version 3.0.0

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

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

Result

Estimates the correlation matrix of the Student t copula from a sample: jointly from all k columns, or pair by pair.

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 the k x k correlation matrix jointly with ν by full maximum likelihood; FALSE returns a k x k matrix of bivariate Kendall's tau estimates, each from its column pair alone (unit 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): ρ_ij = sin(π/2 · τ_ij), with τ_ij Kendall's tau (tau-b) of columns i and j.

Remarks

The multivariate correlations and apaCopula.t.Estimate.DoF come from the same joint fit, so they belong together. The output can be passed directly to apaCopula.t.Sim.

The bivariate correlations depend only on Kendall's tau and do not require ν; they are the same for the Gaussian and the t copula. The k x k matrix is not corrected and may not be positive definite. The multivariate correlations differ slightly from the bivariate ones, because they adjust to ν and to the joint data.

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