Introduction
Probability distributions are the building blocks of statistical modelling and inference. Flexible modelling is an important part of statistical research, as it is concerned with the construction of new probability distributions that are versatile enough to model complex data exhibiting features such as asymmetry, heavy/light tails or dependence structures, features that the Gaussian distribution fails to represent in R k \mathbb{R}^k R k , k ≥ 1 k \ge1 k ≥ 1 . A very large body of literature considers the problem of modelling asymmetric data given their omnipresence in fields like finance, biology, environmental sciences or meteorology, to mention but these. Besides several ad hoc proposals, general approaches have been presented over the past decades, including finite mixture models, mean-variance mixtures, two-piece models, the transformation approach, the probability integral transformations, power transformations, or copulas; see [19 ] , [10 ] and [26 ] for an overview. The arguably most popular proposal is the so-called symmetry modulation or Azzalini-skewing [9 ] , where a symmetric probability density function (pdf) f ( ⋅ ) f(\cdot) f ( ⋅ ) is multiplied by a so-called skewing function Π ( ⋅ ; δ ) \Pi(\cdot;\delta) Π ( ⋅ ; δ ) satisfying conditions similar to those that cumulative distribution functions (cdfs) typically fulfill and where δ \delta δ is a skewing parameter. The resulting density f ( ⋅ ) Π ( ⋅ ; δ ) f(\cdot)\Pi(\cdot;\delta) f ( ⋅ ) Π ( ⋅ ; δ ) is asymmetric unless δ = 0 \delta= 0 δ = 0 , in which case one retrieves the original density f ( ⋅ ) f(\cdot) f ( ⋅ ) . A highly appealing property of this symmetry modulation lies in the fact that no normalizing constant needs to be calculated, as f ( ⋅ ) Π ( ⋅ ; δ ) f(\cdot)\Pi(\cdot;\delta) f ( ⋅ ) Π ( ⋅ ; δ ) directly integrates to 1 under these conditions. Famous representatives of symmetry modulation are the scalar skew-normal distribution of [5 ] , the multivariate skew-normal of [8 ] , the skew-elliptical distributions of [6 ] , the skew-t t t distribution of [7 ] , and the skew-symmetric family of [44 ] . Examples on other manifolds include the sine-skewing on the unit circle by [2 ] , the skew-rotationally-symmetric distributions on the unit sphere of [28 ] , the skewing on general manifolds by [21 ] , or the sine-skewing mechanism on the hypertorus by [3 ] .
Besides the ease of construction and good interpretability of symmetry modulated models, they furthermore enjoy appealing stochastic properties such as a simple random number generation mechanism. However, from an inferential viewpoint some of these models are infamous for suffering from a singular Fisher Information matrix in the vicinity of symmetry, meaning that the score vectors for location and skewness become co-linear when δ = 0 \delta= 0 δ = 0 . This singularity prevents the construction of non-trivial tests for symmetry. More specifically, the one- and multi-dimensional skew-normal distribution is infamous for this issue, while the skew-t t t is free from it. [15 ] and [16 ] have solved the longstanding question of which Azzalini-type models suffer from singular Fisher Information matrices on the real line and in R k \mathbb{R}^{k} R k by providing a complete characterization of singularity-inducing mismatches between f ( ⋅ ) f(\cdot) f ( ⋅ ) and Π ( ⋅ ; δ ) \Pi(\cdot;\delta) Π ( ⋅ ; δ ) .
In this paper, we are interested in the hypertorus as support. Mathematically speaking, the d d d -dimensional hypertorus T d = { θ ∈ [ − π , π ) d } \mathbb{T}_{d} = \left\{ \theta\in[-\pi,\pi)^{d} \right\} T d = { θ ∈ [ − π , π ) d } is the Cartesian product of d d d unit circles. Important datasets from various domains are represented as points on the torus, such as wind direction measured at different times during the day [18 , 22 , 40 ] , directions of steepest descent before and after an earthquake [36 ] , and morphological data from human neurons [37 ] . A domain that has given rise in the past two decades to a lot of such toroidal data is bioinformatics, where dihedral angles from proteins can be viewed as data on the torus [29 , 11 , 14 ] . As mentioned before, symmetry modulation on the torus has been proposed by [3 ] , resulting in the so-called sine-skewed distributions. Starting from a symmetric density θ ↦ f 0 ( θ − μ ; ϑ ) \theta\mapsto f_{0}(\theta-\mu;\boldsymbol{\vartheta}) θ ↦ f 0 ( θ − μ ; ϑ ) , θ ∈ T d \theta\in\mathbb{T}_{d} θ ∈ T d , on the unit hypertorus of dimension d d d , with symmetry center (or location parameter) μ ∈ T d \mu\in\mathbb{T}_{d} μ ∈ T d and ϑ \boldsymbol{\vartheta} ϑ the corresponding set of non-location parameters, sine-skewed densities are of the form
θ ↦ f μ , λ ( θ ; ϑ ) : = f 0 ( θ − μ ; ϑ ) ( 1 + ∑ j = 1 d λ j sin ( θ j − μ j ) ) subject to ∑ j = 1 d ∣ λ j ∣ ≤ 1 , (1) \theta\mapsto f_{\mu,\lambda}(\theta;\boldsymbol{\vartheta}) := f_{0}(\theta-\mu;\boldsymbol{\vartheta})\left(1+\sum_{j=1}^{d}\lambda_{j}\sin(\theta_{j}-\mu_{j})\right)\quad\text{subject to}\quad\sum_{j=1}^{d}|\lambda_{j}|\le1, \tag*{(1)} θ ↦ f μ , λ ( θ ; ϑ ) := f 0 ( θ − μ ; ϑ ) ( 1 + j = 1 ∑ d λ j sin ( θ j − μ j ) ) subject to j = 1 ∑ d ∣ λ j ∣ ≤ 1 , (1)
where λ ∈ [ − 1 , 1 ] d \lambda\in[-1,1]^{d} λ ∈ [ − 1 , 1 ] d is the skewness parameter. Sine-skewed distributions on the torus play an important role in the modelling of protein structures and have been implemented by computer scientists in the deep probabilistic programming language Pyro. Prior structures for Bayesian inference for the case when f 0 f_{0} f 0 is the Sine distribution of [41 ] have been proposed in [38 ] , while efficient yet robust (in the sense of being valid under a broad class of distributions satisfying the null hypothesis) tests for symmetry, both about specified and unspecified center, have been proposed on the torus against sine-skewed alternatives in [4 ] . However, as for their equivalents from Euclidean spaces R k \mathbb{R}^{k} R k , the sine-skewed distributions also suffer from singular Fisher Information matrices in the vicinity of symmetry. A complete characterization of which symmetric densities f 0 f_{0} f 0 lead to singularity has been provided in [27 ] for d = 1 d=1 d = 1 and in [39 ] for any dimension, showcasing in particular that this occurs when f 0 f_{0} f 0 is the circular von Mises distribution, the bivariate Cosine distribution [34 ] , and more generally, a multivariate extension of the Cosine distribution [32 ] . This is an unpleasant drawback of sine-skewed models, since the von Mises and Cosine models are among the most frequently used symmetric distributions on the unit circle T 1 \mathbb{T}_{1} T 1 and unit torus T 2 \mathbb{T}_{2} T 2 . Another disadvantage of sine-skewing lies in the condition ∑ i = 1 d ∣ λ i ∣ ≤ 1 \sum_{i=1}^{d}|\lambda_{i}|\le1 ∑ i = 1 d ∣ λ i ∣ ≤ 1 as this restricts the parameter space and complicates numerical parameter estimation. These drawbacks represent an issue especially because of the strong need for good flexible models on the torus handling asymmetric data [31 ] .
In the present paper, we therefore propose a new symmetry-modulating approach that overcomes these issues whilst keeping the appealing properties of sine-skewing. In particular, our new model, which we term arctan-skewed , has a simple random number generation mechanism, achieves the same range of skewness as its sine-skewed antecedent without being subjected to the cumbersome parameter restriction condition, and is free from Fisher Information singularities for all known symmetric densities f 0 f_{0} f 0 from the literature; see § 3 for details. We explain inferential properties in § 4 , namely maximum likelihood estimation procedures and optimal tests for symmetry against our arctan-skewed alternatives. Through a real data analysis in § 5 we moreover show the superior fitting ability of our new model. We conclude the paper with final comments in § 6 . The proofs of all results can be found in § 7 . The observed Fisher Information matrix and some simulations related to the tests of § 4.2 are provided in the Supplementary Material.
The arctan-skewed model and its main properties
Our proposal
As mentioned in the Introduction, our goal is to propose an alternative to sine-skewing which retains most of its attractive properties whilst overcoming its two main shortcomings. To this end, we start from the density (1) and modify it accordingly. For the sake of simplicity, we will drop the parameter ϑ \boldsymbol{\vartheta} ϑ from the symmetric density and just write f 0 ( θ − μ ) f_0(\boldsymbol{\theta}-\boldsymbol{\mu}) f 0 ( θ − μ ) . Our symmetric densities f 0 f_0 f 0 all belong to the class of functions
F : = { f 0 ( θ ) : f 0 ( θ 1 + 2 π k 1 , … , θ d + 2 π k d ) = f 0 ( θ 1 , … , θ d ) ∀ k i ∈ Z , i = 1 , … , d , f 0 ( θ ) = f 0 ( − θ ) ∀ θ ∈ T d , ∫ T d f 0 ( θ ) d θ = 1. } . (2) \mathcal{F}:=\left\{f_0(\boldsymbol{\theta}):
\begin{aligned}
f_0(\theta_1+2\pi k_1,\ldots,\theta_d+2\pi k_d)&=f_0(\theta_1,\ldots,\theta_d)\ \forall k_i\in\mathbb{Z},i=1,\ldots,d,\\
f_0(\boldsymbol{\theta})&=f_0(-\boldsymbol{\theta})\ \forall\boldsymbol{\theta}\in\mathbb{T}^d,\\
\int_{\mathbb{T}^d}f_0(\boldsymbol{\theta})\,\mathrm{d}\boldsymbol{\theta}&=1.
\end{aligned}
\right\}. \tag*{(2)} F := ⎩ ⎨ ⎧ f 0 ( θ ) : f 0 ( θ 1 + 2 π k 1 , … , θ d + 2 π k d ) f 0 ( θ ) ∫ T d f 0 ( θ ) d θ = f 0 ( θ 1 , … , θ d ) ∀ k i ∈ Z , i = 1 , … , d , = f 0 ( − θ ) ∀ θ ∈ T d , = 1. ⎭ ⎬ ⎫ . (2)
which ensures that we have symmetric and 2 π 2\pi 2 π -periodic densities.
In order to lift the restriction ∑ j = 1 d ∣ λ j ∣ ≤ 1 \sum_{j=1}^{d}|\lambda_j|\leq1 ∑ j = 1 d ∣ λ j ∣ ≤ 1 , we introduce a bounded function acting on λ j sin ( θ j − μ j ) \lambda_j\sin(\theta_j-\mu_j) λ j sin ( θ j − μ j ) . We choose the arctan function which varies within [ − π / 2 , π / 2 ] [-\pi/2,\pi/2] [ − π /2 , π /2 ] , yielding
f 0 ( θ − μ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i − μ i ) ) ) . f_0(\boldsymbol{\theta}-\boldsymbol{\mu})\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan(\lambda_i\sin(\theta_i-\mu_i))\right). f 0 ( θ − μ ) ( 1 + π d 2 i = 1 ∑ d arctan ( λ i sin ( θ i − μ i )) ) .
The univariate version of this proposal, named Cauchy-skewed circular distribution, was first mentioned in [1 ] . This construction however still suffers from the second drawback, the singular Fisher information matrix at λ = 0 \boldsymbol{\lambda}=\mathbf{0} λ = 0 when f 0 f_0 f 0 is the Cosine density. Indeed, the score function for skewness in the above proposal is the same as for the sine-skewed model (see [39 ] for more details). Therefore we introduce a modification inside the arctan function which keeps it an odd function in θ i − μ i \theta_i-\mu_i θ i − μ i . This leads us to our new arctan-skewed densities of the form
f ( θ − μ ; λ ) : = f 0 ( θ − μ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i − μ i ) 1 + sin 2 ( θ i − μ i ) ) ) . (3) f(\boldsymbol{\theta}-\boldsymbol{\mu};\boldsymbol{\lambda}):=f_0(\boldsymbol{\theta}-\boldsymbol{\mu})\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i-\mu_i)}{1+\sin^2(\theta_i-\mu_i)}\right)\right). \tag*{(3)} f ( θ − μ ; λ ) := f 0 ( θ − μ ) ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ i − μ i ) λ i sin ( θ i − μ i ) ) ) . (3)
Of course other choices than dividing by 1 + sin 2 ( θ i − μ i ) 1+\sin^2(\theta_i-\mu_i) 1 + sin 2 ( θ i − μ i ) are possible, in the same way as the famous skew-t distribution of [7 ] could have been built differently (see the discussion at the end of their Section 4.1); as we will see, our choice leads to desirable properties. It is motivated by the fact that the derivative of κ ↦ arctan ( κ sin ( θ ) ) \kappa\mapsto\arctan(\kappa\sin(\theta)) κ ↦ arctan ( κ sin ( θ )) is sin ( θ ) / ( 1 + sin 2 ( θ ) ) \sin(\theta)/(1+\sin^2(\theta)) sin ( θ ) / ( 1 + sin 2 ( θ )) at κ = 1 \kappa=1 κ = 1 , hence it corresponds to the rate of change of the distance between sine-skewing and its symmetric counterpart. Other choices of κ \kappa κ would be possible; we choose the smallest integer one that does not oversimplify our model. Multiplying the sum with 2 π / d 2\pi/d 2 π / d ensures that the resulting function is positive when the components of the skewness parameter λ ∈ R d \boldsymbol{\lambda}\in\mathbb{R}^d λ ∈ R d go to plus or/minus infinity (depending on the sign of sin ( θ i − μ i ) \sin(\theta_i-\mu_i) sin ( θ i − μ i ) for each i i i ). Thus, since
2 π d ∑ i = 1 d arctan ( λ i sin ( θ i − μ i ) 1 + sin 2 ( θ i − μ i ) ) ≥ − 1 \frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i-\mu_i)}{1+\sin^2(\theta_i-\mu_i)}\right)\geq-1 π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ i − μ i ) λ i sin ( θ i − μ i ) ) ≥ − 1
and ∫ T d f 0 ( θ ) arctan ( λ sin θ i / ( 1 + sin 2 θ i ) ) d θ = 0 \int_{\mathbb{T}^d}f_0(\boldsymbol{\theta})\arctan(\lambda\sin\theta_i/(1+\sin^2\theta_i))\,\mathrm{d}\boldsymbol{\theta}=0 ∫ T d f 0 ( θ ) arctan ( λ sin θ i / ( 1 + sin 2 θ i )) d θ = 0 for all i ∈ { 1 , … , d } i\in\{1,\ldots,d\} i ∈ { 1 , … , d } by symmetry arguments, we readily have that (3) is a valid density on T d \mathbb{T}^d T d . The normalizing constant of the new, skewed distribution f ( ⋅ ) f(\cdot) f ( ⋅ ) is the same as f 0 ( ⋅ ) f_0(\cdot) f 0 ( ⋅ ) and requires no complex calculations. This can also be seen through the expression of the cdf. For θ ∈ T d \boldsymbol{\theta}\in\mathbb{T}^d θ ∈ T d we have
F ( θ ; λ ) = F 0 ( θ ) + 2 π d ∑ i = 1 d ∫ − π θ i f 0 ( x ) arctan ( λ i sin ( x i ) 1 + sin 2 ( x i ) ) d x , (4) F(\boldsymbol{\theta};\boldsymbol{\lambda})=F_0(\boldsymbol{\theta})+\frac{2}{\pi d}\sum_{i=1}^{d}\int_{-\pi}^{\theta_i}f_0(\boldsymbol{x})\arctan\left(\frac{\lambda_i\sin(x_i)}{1+\sin^2(x_i)}\right)\,\mathrm{d}\boldsymbol{x}, \tag*{(4)} F ( θ ; λ ) = F 0 ( θ ) + π d 2 i = 1 ∑ d ∫ − π θ i f 0 ( x ) arctan ( 1 + sin 2 ( x i ) λ i sin ( x i ) ) d x , (4)
where F 0 ( ⋅ ) F_0(\cdot) F 0 ( ⋅ ) is the cdf corresponding to f 0 f_0 f 0 . Using the fact that the functions arctan ( ⋅ ) \arctan(\cdot) arctan ( ⋅ ) and sin ( ⋅ ) \sin(\cdot) sin ( ⋅ ) are asymmetric around 0 0 0 , it holds that
F ( π ; λ ) − F ( − π ; λ ) = F 0 ( π ) − F 0 ( − π ) = 1. F(\boldsymbol{\pi};\boldsymbol{\lambda})-F(-\boldsymbol{\pi};\boldsymbol{\lambda})=F_0(\boldsymbol{\pi})-F_0(-\boldsymbol{\pi})=1. F ( π ; λ ) − F ( − π ; λ ) = F 0 ( π ) − F 0 ( − π ) = 1.
When d = 1 d=1 d = 1 , hence on the circle, our proposal inscribes itself within the general skewing setting proposed by [43 ] , who considered skew densities of the form
f μ ( θ ) = 2 f ( θ − μ ) G ( w ( θ − μ ) ) . f_\mu(\theta)=2f(\theta-\mu)G(w(\theta-\mu)). f μ ( θ ) = 2 f ( θ − μ ) G ( w ( θ − μ )) .
where f f f and g g g are circular densities which are symmetric about 0 0 0 and G ( θ ) = ∫ − π θ g ( α ) d α G(\theta)=\int_{-\pi}^{\theta}g(\alpha)\,\mathrm{d}\alpha G ( θ ) = ∫ − π θ g ( α ) d α . Also, w w w is an odd function with ∣ w ( θ ) ∣ < π |w(\theta)|<\pi ∣ w ( θ ) ∣ < π and periodic. Our arctan-skewed densities correspond to G ( ⋅ ) G(\cdot) G ( ⋅ ) as the cdf of the uniform distribution, meaning G ( θ ) = ( π + θ ) / 2 π G(\theta)=(\pi+\theta)/2\pi G ( θ ) = ( π + θ ) /2 π , and to w ( θ ) = 2 arctan ( λ sin θ / ( 1 + sin 2 θ ) ) w(\theta)=2\arctan(\lambda\sin\theta/(1+\sin^2\theta)) w ( θ ) = 2 arctan ( λ sin θ / ( 1 + sin 2 θ )) for λ ∈ R \lambda\in\mathbb{R} λ ∈ R .
In order to illustrate the effect of our arctan-skewing on symmetric distributions, we provide various contour plots in Figure 1 and Figure 2 for the bivariate case. More precisely, Figure 1 shows the original symmetric densities and their arctan-skewed counterparts for
(a) Bivariate wrapped Cauchy density with λ 1 , λ 2 = 0 \lambda_1,\lambda_2=0 λ 1 , λ 2 = 0 .
(b) Bivariate wrapped Cauchy density with λ 1 , λ 2 = 6 \lambda_1,\lambda_2=6 λ 1 , λ 2 = 6 .
(c) Sine density with λ 1 , λ 2 = 0 \lambda_1,\lambda_2=0 λ 1 , λ 2 = 0 .
(d) Sine density with λ 1 , λ 2 = 6 \lambda_1,\lambda_2=6 λ 1 , λ 2 = 6 .
(e) Cosine density with λ 1 , λ 2 = 0 \lambda_1,\lambda_2=0 λ 1 , λ 2 = 0 .
(f) Cosine density with λ 1 , λ 2 = 6 \lambda_1,\lambda_2=6 λ 1 , λ 2 = 6 .
Figure 1. Contour plots of arctan-skewed bivariate wrapped Cauchy, Sine and Cosine density with parameters ξ 1 = κ 1 = 0.2 \xi_1=\kappa_1=0.2 ξ 1 = κ 1 = 0.2 , ξ 2 = κ 2 = 0.3 \xi_2=\kappa_2=0.3 ξ 2 = κ 2 = 0.3 , ρ = 0.6 \rho=0.6 ρ = 0.6 and skewness parameters λ 1 , λ 2 \lambda_1,\lambda_2 λ 1 , λ 2 as indicated under each plot.
Figure 2. Contour plots of arctan-skewed bivariate wrapped Cauchy densities with parameters ξ 1 = 0.2 \xi_1 = 0.2 ξ 1 = 0.2 , ξ 2 = 0.3 \xi_2 = 0.3 ξ 2 = 0.3 , ρ = 0.1 \rho= 0.1 ρ = 0.1 and skewness parameters λ 1 , λ 2 \lambda_1, \lambda_2 λ 1 , λ 2 as indicated under each plot.
f b w C ( θ ; μ , ξ , ρ ) = c ( ξ , ρ ) { c 0 ( ξ , ρ ) − c 1 ( ξ , ρ ) cos ( θ 1 − μ 1 ) − c 2 ( ξ , ρ ) cos ( θ 2 − μ 2 ) − c 3 ( ξ , ρ ) cos ( θ 1 − μ 1 ) cos ( θ 2 − μ 2 ) − c 4 ( ξ , ρ ) sin ( θ 1 − μ 1 ) sin ( θ 2 − μ 2 ) } − 1 (5) f_{\mathrm{bwC}}(\boldsymbol{\theta};\boldsymbol{\mu},\xi,\rho)=c(\xi,\rho)\left\{c_0(\xi,\rho)-c_1(\xi,\rho)\cos(\theta_1-\mu_1)-c_2(\xi,\rho)\cos(\theta_2-\mu_2)-c_3(\xi,\rho)\cos(\theta_1-\mu_1)\cos(\theta_2-\mu_2)-c_4(\xi,\rho)\sin(\theta_1-\mu_1)\sin(\theta_2-\mu_2)\right\}^{-1} \tag*{(5)} f bwC ( θ ; μ , ξ , ρ ) = c ( ξ , ρ ) { c 0 ( ξ , ρ ) − c 1 ( ξ , ρ ) cos ( θ 1 − μ 1 ) − c 2 ( ξ , ρ ) cos ( θ 2 − μ 2 ) − c 3 ( ξ , ρ ) cos ( θ 1 − μ 1 ) cos ( θ 2 − μ 2 ) − c 4 ( ξ , ρ ) sin ( θ 1 − μ 1 ) sin ( θ 2 − μ 2 ) } − 1 (5)
where μ ∈ T 2 \boldsymbol{\mu}\in\mathbb{T}_2 μ ∈ T 2 and c ( ξ , ρ ) c(\xi,\rho) c ( ξ , ρ ) , c 0 ( ξ , ρ ) c_0(\xi,\rho) c 0 ( ξ , ρ ) , c 1 ( ξ , ρ ) c_1(\xi,\rho) c 1 ( ξ , ρ ) , c 2 ( ξ , ρ ) c_2(\xi,\rho) c 2 ( ξ , ρ ) , c 3 ( ξ , ρ ) c_3(\xi,\rho) c 3 ( ξ , ρ ) , c 4 ( ξ , ρ ) c_4(\xi,\rho) c 4 ( ξ , ρ ) are functions of ξ ∈ [ 0 , 1 ) 2 \xi\in[0,1)^2 ξ ∈ [ 0 , 1 ) 2 and ρ ∈ ( − 1 , 1 ) \rho\in(-1,1) ρ ∈ ( − 1 , 1 ) (see [24 ] for details);
f S ( θ ; μ , κ , β ) = C S exp { κ 1 cos ( θ 1 − μ 1 ) + κ 2 cos ( θ 2 − μ 2 ) + β sin ( θ 1 − μ 1 ) sin ( θ 2 − μ 2 ) } f_{\mathrm{S}}(\boldsymbol{\theta};\boldsymbol{\mu},\boldsymbol{\kappa},\beta)=C_{\mathrm{S}}\exp\left\{\kappa_1\cos(\theta_1-\mu_1)+\kappa_2\cos(\theta_2-\mu_2)+\beta\sin(\theta_1-\mu_1)\sin(\theta_2-\mu_2)\right\} f S ( θ ; μ , κ , β ) = C S exp { κ 1 cos ( θ 1 − μ 1 ) + κ 2 cos ( θ 2 − μ 2 ) + β sin ( θ 1 − μ 1 ) sin ( θ 2 − μ 2 ) }
with appropriate yet complicated normalizing constant C S C_{\mathrm{S}} C S , μ ∈ T 2 \boldsymbol{\mu}\in\mathbb{T}_2 μ ∈ T 2 , κ ∈ R ≥ 0 2 \boldsymbol{\kappa}\in\mathbb{R}_{\geq0}^2 κ ∈ R ≥ 0 2 and β ∈ R \beta\in\mathbb{R} β ∈ R ;
f C ( θ ; μ , κ , β ) = C C exp { κ 1 cos ( θ 1 − μ 1 ) + κ 2 cos ( θ 2 − μ 2 ) − β cos ( θ 1 − μ 1 − θ 2 + μ 2 ) } f_{\mathrm{C}}(\boldsymbol{\theta};\boldsymbol{\mu},\boldsymbol{\kappa},\beta)=C_{\mathrm{C}}\exp\left\{\kappa_1\cos(\theta_1-\mu_1)+\kappa_2\cos(\theta_2-\mu_2)-\beta\cos(\theta_1-\mu_1-\theta_2+\mu_2)\right\} f C ( θ ; μ , κ , β ) = C C exp { κ 1 cos ( θ 1 − μ 1 ) + κ 2 cos ( θ 2 − μ 2 ) − β cos ( θ 1 − μ 1 − θ 2 + μ 2 ) }
with appropriate yet complicated normalizing constant C C C_{\mathrm{C}} C C , μ ∈ T 2 \boldsymbol{\mu}\in\mathbb{T}_2 μ ∈ T 2 , κ ∈ R ≥ 0 2 \boldsymbol{\kappa}\in\mathbb{R}_{\geq0}^2 κ ∈ R ≥ 0 2 and β ∈ R \beta\in\mathbb{R} β ∈ R .
In Figure 2 we delve more into the arctan-skewing effect on the bivariate wrapped Cauchy density (5) by varying the skewness parameter. Both figures combined provide a visual aid to better grasp how arctan-skewing gradually turns symmetric toroidal distributions into asymmetric ones.
In the rest of this section, we will investigate the main properties of our new model such as marginal and conditional distributions (§ 3.4 ), moment expressions (§ 3.5 ) and ensuing measures for dependence (§ 3.6 ), as well as random number generation (§ 3.7 ). However, before delving into these properties, we will first show in § 3.2 that our new model is indeed singularity-free for all known symmetric densities f 0 f_0 f 0 in the literature and explain why we did not opt for another possible arctan-skewing scheme in § 3.3 .
Fisher Information singularity investigation
In Theorem 1 below, we give a complete characterization of which densities f 0 f_0 f 0 lead to a singular Fisher Information matrix. Before providing the statement of the theorem, we need to define the function
h 0 ( θ − μ ) : = f 0 ( θ − μ ) ∏ i = 1 d ( sec 2 ( θ i − μ i 2 ) − 2 2 + 2 sec 2 ( θ i − μ i 2 ) + 2 2 + 2 ) δ i (6) h_0(\boldsymbol{\theta}-\boldsymbol{\mu}):=f_0(\boldsymbol{\theta}-\boldsymbol{\mu})\prod_{i=1}^{d}\left(\frac{\sec^2\left(\frac{\theta_i-\mu_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i-\mu_i}{2}\right)+2\sqrt{2}+2}\right)^{\delta_i} \tag*{(6)} h 0 ( θ − μ ) := f 0 ( θ − μ ) i = 1 ∏ d sec 2 ( 2 θ i − μ i ) + 2 2 + 2 sec 2 ( 2 θ i − μ i ) − 2 2 + 2 δ i (6)
for δ = ( δ 1 , … , δ d ) T ∈ R d ∖ { 0 } \boldsymbol{\delta}=(\delta_1,\ldots,\delta_d)^\mathsf{T}\in\mathbb{R}^d\setminus\{\boldsymbol{0}\} δ = ( δ 1 , … , δ d ) T ∈ R d ∖ { 0 } .
Theorem 1. Suppose that the mapping θ ↦ f 0 ( θ ) \boldsymbol{\theta}\mapsto f_0(\boldsymbol{\theta}) θ ↦ f 0 ( θ ) is differentiable on T d \mathbb{T}_d T d . The Fisher Information matrix of the arctan-skewed version of f 0 ( θ − μ ) f_0(\boldsymbol{\theta}-\boldsymbol{\mu}) f 0 ( θ − μ ) in the vicinity of symmetry is singular if and only if there exists a vector α = ( α 1 , … , α d ) T ∈ R d \boldsymbol{\alpha}=(\alpha_1,\ldots,\alpha_d)^\mathsf{T}\in\mathbb{R}^d α = ( α 1 , … , α d ) T ∈ R d with at least one α i ≠ 0 \alpha_i\ne0 α i = 0 , i ∈ { 1 , … , d } i\in\{1,\ldots,d\} i ∈ { 1 , … , d } , such that h 0 ( θ − μ ) h_0(\boldsymbol{\theta}-\boldsymbol{\mu}) h 0 ( θ − μ ) defined in (6) satisfies
h 0 ( θ − μ + t α ) = h 0 ( θ − μ ) h_0(\boldsymbol{\theta}-\boldsymbol{\mu}+t\boldsymbol{\alpha})=h_0(\boldsymbol{\theta}-\boldsymbol{\mu}) h 0 ( θ − μ + t α ) = h 0 ( θ − μ ) for all t ∈ R t\in\mathbb{R} t ∈ R and θ ∈ [ − π , π ) d \boldsymbol{\theta}\in[-\pi,\pi)^d θ ∈ [ − π , π ) d .
The proof is given in § 7 . Using Theorem 1, it holds that the arctan-skewed version of a symmetric base density f 0 ( ⋅ ) f_0(\cdot) f 0 ( ⋅ ) has singularity issues if and only if it is of the form
f 0 ( θ − μ ) = h 0 ( θ − μ ) ∏ i = 1 d ( sec 2 ( θ i − μ i 2 ) + 2 2 + 2 sec 2 ( θ i − μ i 2 ) − 2 2 + 2 ) δ i . f_0(\boldsymbol{\theta}-\boldsymbol{\mu})=h_0(\boldsymbol{\theta}-\boldsymbol{\mu})\prod_{i=1}^{d}\left(\frac{\sec^2\left(\frac{\theta_i-\mu_i}{2}\right)+2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i-\mu_i}{2}\right)-2\sqrt{2}+2}\right)^{\delta_i}. f 0 ( θ − μ ) = h 0 ( θ − μ ) i = 1 ∏ d sec 2 ( 2 θ i − μ i ) − 2 2 + 2 sec 2 ( 2 θ i − μ i ) + 2 2 + 2 δ i .
As no distributions of this form have been proposed in the literature, no known distributions combined with our arctan-skewing suffer from singularity of the Fisher Information matrix in the vicinity of symmetry, and hence our proposal overcomes the Fisher Information matrix singularity issue related to sine-skewing. Note that setting δ = 0 \boldsymbol{\delta}=\boldsymbol{0} δ = 0 corresponds to the symmetric density f 0 ( θ − μ ) f_0(\boldsymbol{\theta}-\boldsymbol{\mu}) f 0 ( θ − μ ) being singular, and thus we do not consider this case in the definition of (6).
An alternative model: product arctan-skewing
A natural alternative construction would be a product type model of the form
f 0 ( θ − μ ) ∏ i = 1 d ( 1 + 2 π arctan ( λ i sin ( θ i − μ i ) 1 + sin 2 ( θ i − μ i ) ) ) . (7) f_0(\boldsymbol{\theta}-\boldsymbol{\mu})\prod_{i=1}^{d}\left(1+\frac{2}{\pi}\arctan\left(\frac{\lambda_i\sin(\theta_i-\mu_i)}{1+\sin^2(\theta_i-\mu_i)}\right)\right). \tag*{(7)} f 0 ( θ − μ ) i = 1 ∏ d ( 1 + π 2 arctan ( 1 + sin 2 ( θ i − μ i ) λ i sin ( θ i − μ i ) ) ) . (7)
Such a product form could also exist for the sine-skewing approach but has never been discussed in the literature to the best of the authors’ knowledge. However it has often been orally debated at conferences. Hence our discussion here about our product model (7) will also shed light on a product sine-skewing option.
It is clear that (7) is positive, however it does not integrate to 1 like our original proposal (3) and a normalizing constant calculation is required. Moreover, random variate generation cannot be done in the same simple way as for our arctan-skewing (see § 3.7 ), likely requiring the use of acceptance-rejection algorithms. These are two clear disadvantages of the product form (7) compared to (3). Regarding the Fisher Information singularity problem, immediate calculations yield that the score function of (7) in the vicinity of symmetry corresponds to
( − ∂ ∂ θ 1 f 0 ( θ − μ ) f 0 ( θ − μ ) , … , − ∂ ∂ θ d f 0 ( θ − μ ) f 0 ( θ − μ ) , 2 π sin ( θ 1 − μ 1 ) 1 + sin 2 ( θ 1 − μ 1 ) , … , 2 π sin ( θ d − μ d ) 1 + sin 2 ( θ d − μ d ) ) T . (8) \left(-\frac{\frac{\partial}{\partial\theta_1}f_0(\boldsymbol{\theta}-\boldsymbol{\mu})}{f_0(\boldsymbol{\theta}-\boldsymbol{\mu})},\ldots,-\frac{\frac{\partial}{\partial\theta_d}f_0(\boldsymbol{\theta}-\boldsymbol{\mu})}{f_0(\boldsymbol{\theta}-\boldsymbol{\mu})},\frac{2}{\pi}\frac{\sin(\theta_1-\mu_1)}{1+\sin^2(\theta_1-\mu_1)},\ldots,\frac{2}{\pi}\frac{\sin(\theta_d-\mu_d)}{1+\sin^2(\theta_d-\mu_d)}\right)^{\mathsf{T}}. \tag*{(8)} ( − f 0 ( θ − μ ) ∂ θ 1 ∂ f 0 ( θ − μ ) , … , − f 0 ( θ − μ ) ∂ θ d ∂ f 0 ( θ − μ ) , π 2 1 + sin 2 ( θ 1 − μ 1 ) sin ( θ 1 − μ 1 ) , … , π 2 1 + sin 2 ( θ d − μ d ) sin ( θ d − μ d ) ) T . (8)
The score vector (8) is the same as (21), up to multiplying by 1 / d 1/d 1/ d the last d d d terms. This means that the result proved in Theorem 1 also holds for the product model.
Summarizing, the product idea retains positive properties of our proposal (3), meaning the absence of any Fisher Information singularity issues and unrestricted skewness parameter space, but suffers from the drawbacks of normalizing constant needing to be determined and a more involved random number generation procedure. For these reasons we opted for our proposal (3).
Marginals and conditionals
Let Θ = ( Θ 1 , … , Θ d ) T \boldsymbol{\Theta}=(\Theta_1,\ldots,\Theta_d)^{\mathsf{T}} Θ = ( Θ 1 , … , Θ d ) T follow a d d d -dimensional arctan-skewed toroidal distribution and let m m m be a subset of { 1 , … , d } \{1,\ldots,d\} { 1 , … , d } of size M M M and m c m^c m c its complementary. Assume without loss of generality that μ = 0 \boldsymbol{\mu}=0 μ = 0 and denote by f m f_m f m and f 0 ; m f_{0;m} f 0 ; m the marginal skewed and symmetric densities associated with the subvector Θ m \boldsymbol{\Theta}_m Θ m of Θ \boldsymbol{\Theta} Θ corresponding to the subset m m m of indices. The marginal distribution of the subvector Θ m \boldsymbol{\Theta}_m Θ m then is given in the following theorem, whose proof is given in Section 6.
Theorem 2. Let f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F . If f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) f_0(\boldsymbol{\theta}_m,\boldsymbol{\theta}_{m^c})=f_0(\boldsymbol{\theta}_m,-\boldsymbol{\theta}_{m^c}) f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) , then
f m ( θ m ) = f 0 ; m ( θ m ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) f_m(\boldsymbol{\theta}_m)=f_{0;m}(\boldsymbol{\theta}_m)\left(1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right) f m ( θ m ) = f 0 ; m ( θ m ) ( 1 + π d 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) for θ m ∈ T M \boldsymbol{\theta}_m\in\mathbb{T}^{M} θ m ∈ T M and θ m c ∈ T d − M \boldsymbol{\theta}_{m^c}\in\mathbb{T}^{d-M} θ m c ∈ T d − M .
The marginal distribution thus is of a simple form and almost arctan-skewed (the ratio 2 π d \frac{2\pi}{d} d 2 π would need to be 2 π M \frac{2\pi}{M} M 2 π ). Let us consider a slightly more general version of our proposed transformation, namely
f ( θ − μ ; λ ) = S { 1 , … , d } , d , λ ( 1 ) f 0 ( θ − μ ) (9) f(\boldsymbol{\theta}-\boldsymbol{\mu};\boldsymbol{\lambda})=S_{\{1,\ldots,d\},d,\boldsymbol{\lambda}}(1)f_0(\boldsymbol{\theta}-\boldsymbol{\mu}) \tag*{(9)} f ( θ − μ ; λ ) = S { 1 , … , d } , d , λ ( 1 ) f 0 ( θ − μ ) (9)
where
S A , d , λ ( c ) = 1 + 2 π d c ∑ i ∈ A arctan ( λ i sin ( θ i − μ i ) 1 + sin 2 ( θ i − μ i ) ) S_{A,d,\boldsymbol{\lambda}}(c)=1+\frac{2}{\pi d c}\sum_{i\in A}\arctan\left(\frac{\lambda_i\sin(\theta_i-\mu_i)}{1+\sin^2(\theta_i-\mu_i)}\right) S A , d , λ ( c ) = 1 + π d c 2 i ∈ A ∑ arctan ( 1 + sin 2 ( θ i − μ i ) λ i sin ( θ i − μ i ) )
for a set A ⊆ { 1 , … , d } A\subseteq\{1,\ldots,d\} A ⊆ { 1 , … , d } and c ≥ 1 c\geq1 c ≥ 1 can depend on the observations, meaning that c = c ( θ 1 , … , θ d ) c=c(\theta_1,\ldots,\theta_d) c = c ( θ 1 , … , θ d ) . Setting c = 1 c=1 c = 1 is the largest value that ensures that the density is non-negative. For this family, the result from Theorem 2 reads
f m ( θ m ) = f 0 ; m ( θ m ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) = S m , d , λ ( 1 ) f 0 ; m ( θ m ) f_m(\boldsymbol{\theta}_m)=f_{0;m}(\boldsymbol{\theta}_m)\left(1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)=S_{m,d,\boldsymbol{\lambda}}(1)f_{0;m}(\boldsymbol{\theta}_m) f m ( θ m ) = f 0 ; m ( θ m ) ( 1 + π d 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) = S m , d , λ ( 1 ) f 0 ; m ( θ m )
and hence we obtain closure under marginalization.
We now consider conditional distributions for (3).
Theorem 3. Let f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F . If f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) f_0(\theta_m,\theta_{m^c})=f_0(\theta_m,-\theta_{m^c}) f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) , then
f m ∣ m c ( θ m ∣ θ m c ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) 1 + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) f_{m\mid m^c}(\theta_m\mid\theta_{m^c})=f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c})\left(1+\frac{\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}{1+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}\right) f m ∣ m c ( θ m ∣ θ m c ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) 1 + 1 + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) π d 2 ∑ i ∈ m arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) for θ m ∈ T M \theta_m \in\mathcal{T}_M θ m ∈ T M and θ m c ∈ T d − M \theta_{m^c} \in\mathcal{T}_{d-M} θ m c ∈ T d − M .
The proof is given in Section 6. As for the marginals, we obtain a simple tractable expression, but the model is not closed under conditioning. Adopting the same more general model (9), one can see that
f m ∣ m c ( θ m ∣ θ m c ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) 1 + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) ( 1 + 2 π d S m c , d , λ ( 1 ) ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) = S m , d , λ ( S m c , d , λ ( 1 ) ) f 0 ; m ∣ m c ( θ m ∣ θ m c ) , \begin{aligned}
f_{m\mid m^c}(\theta_m\mid\theta_{m^c})=f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c})\left(1+\frac{\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}{1+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}\right) \\
&=f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c})\left(1+\frac{2}{\pi d S_{m^c,d,\lambda}(1)}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right) \\
&=S_{m,d,\lambda}\left(S_{m^c,d,\lambda}(1)\right)f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c}),
\end{aligned} f m ∣ m c ( θ m ∣ θ m c ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) 1 + 1 + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) π d 2 ∑ i ∈ m arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) ( 1 + π d S m c , d , λ ( 1 ) 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) = S m , d , λ ( S m c , d , λ ( 1 ) ) f 0 ; m ∣ m c ( θ m ∣ θ m c ) ,
which thus corresponds to closure under both marginalization and conditioning.
Trigonometric moments
We denote the characteristic function by { ϕ p : p j = 0 , ± 1 , ± 2 , … ; j = 1 , … , d } \{\phi_p:p_j=0,\pm1,\pm2,\ldots;j=1,\ldots,d\} { ϕ p : p j = 0 , ± 1 , ± 2 , … ; j = 1 , … , d } where
ϕ p : = E [ e i p T Θ ] = E [ cos ( p T Θ ) ] + i E [ sin ( p T Θ ) ] = : α p + i β p , (10) \phi_p:=\mathbb{E}\left[e^{i p^\mathsf{T}\Theta}\right]=\mathbb{E}\left[\cos(p^\mathsf{T}\Theta)\right]+i\mathbb{E}\left[\sin(p^\mathsf{T}\Theta)\right]=:\alpha_p+i\beta_p, \tag*{(10)} ϕ p := E [ e i p T Θ ] = E [ cos ( p T Θ ) ] + i E [ sin ( p T Θ ) ] =: α p + i β p , (10)
and we adopt the notation α p 0 \alpha_p^0 α p 0 and β p 0 \beta_p^0 β p 0 for the trigonometric moments of the original symmetric density f 0 f_0 f 0 . The trigonometric moments for our arctan-skewed distribution are then given in the following result.
Theorem 4. Let f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F . The trigonometric moments of the arctan-skewed model correspond to
α p = α p 0 , \alpha_p=\alpha_p^0, α p = α p 0 , β p = 1 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ( α p − n e i 0 − α p + n e i 0 ) , \beta_p=\frac{1}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\left(\alpha_{p-ne_i}^0-\alpha_{p+ne_i}^0\right), β p = π d 1 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ( α p − n e i 0 − α p + n e i 0 ) , where e i = ( 0 , … , 0 , 1 , 0 , … , 0 ) T e_i=(0,\ldots,0,1,0,\ldots,0)^\mathsf{T} e i = ( 0 , … , 0 , 1 , 0 , … , 0 ) T denotes the vector with all elements equal to 0 0 0 except position i i i which is equal to 1 1 1 and
b n ( λ i ) = 1 π ∫ − π π arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) sin ( n θ i ) d θ i (11) b_n(\lambda_i)=\frac{1}{\pi}\int_{-\pi}^{\pi}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\sin(n\theta_i)\,\mathrm{d}\theta_i \tag*{(11)} b n ( λ i ) = π 1 ∫ − π π arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) sin ( n θ i ) d θ i (11) is the Fourier sine series coefficient of the function arctan ( λ i sin ( θ i ) / ( 1 + sin 2 ( θ i ) ) ) \arctan\left(\lambda_i\sin(\theta_i)/(1+\sin^2(\theta_i))\right) arctan ( λ i sin ( θ i ) / ( 1 + sin 2 ( θ i )) ) .
The proof of this theorem is given in Section 6. The moments can also be calculated numerically for a chosen symmetric density f 0 ( ⋅ ) f_0(\cdot) f 0 ( ⋅ ) . In this case, it is more convenient to use form (25) of the moment expression.
We conclude this section by providing the toroidal mean, concentration, skewness and kurtosis. The elements of the toroidal mean μ m = ( μ m ; 1 , … , μ m ; d ) T \mu_m=(\mu_{m;1},\ldots,\mu_{m;d})^\mathsf{T} μ m = ( μ m ; 1 , … , μ m ; d ) T are given by
μ m ; s = atan2 ( β e s , α e s ) = atan2 ( 1 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ( α e s − n e i 0 − α e s + n e i 0 ) , α e s 0 ) \mu_{m;s}=\operatorname{atan2}(\beta_{e_s},\alpha_{e_s})=\operatorname{atan2}\left(\frac{1}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\left(\alpha_{e_s-ne_i}^0-\alpha_{e_s+ne_i}^0\right),\alpha_{e_s}^0\right) μ m ; s = atan2 ( β e s , α e s ) = atan2 ( π d 1 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ( α e s − n e i 0 − α e s + n e i 0 ) , α e s 0 )
for s ∈ { 1 , … , d } s\in\{1,\ldots,d\} s ∈ { 1 , … , d } , where atan2 ( y , x ) \operatorname{atan2}(y,x) atan2 ( y , x ) computes the principal value of the argument function applied to the complex number x + i y x+iy x + i y . Note that when λ = 0 \lambda=0 λ = 0 , the mean direction coincides with the mean of the symmetric density f 0 ( ⋅ ) f_0(\cdot) f 0 ( ⋅ ) . The elements of the concentration vector R = ( R 1 , … , R d ) T \boldsymbol{R}=(R_1,\ldots,R_d)^\mathsf{T} R = ( R 1 , … , R d ) T and the variance V = ( V 1 , … , V d ) T \boldsymbol{V}=(V_1,\ldots,V_d)^\mathsf{T} V = ( V 1 , … , V d ) T are given by
R s = α e s 2 + β e s 2 = ( α e s 0 ) 2 + ( 1 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ( α e s − n e i 0 − α e s + n e i 0 ) ) 2 , V s = 1 − R s R_s=\sqrt{\alpha_{e_s}^2+\beta_{e_s}^2}=\sqrt{\left(\alpha_{e_s}^0\right)^2+\left(\frac{1}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\left(\alpha_{e_s-ne_i}^0-\alpha_{e_s+ne_i}^0\right)\right)^2},\qquad V_s=1-R_s R s = α e s 2 + β e s 2 = ( α e s 0 ) 2 + ( π d 1 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ( α e s − n e i 0 − α e s + n e i 0 ) ) 2 , V s = 1 − R s
for s ∈ { 1 , … , d } s \in\{1,\ldots,d\} s ∈ { 1 , … , d } . The measures of circular skewness, S = ( S 1 , … , S d ) T \mathbf{S}=(S_1,\ldots,S_d)^{\mathsf{T}} S = ( S 1 , … , S d ) T , and kurtosis, K = ( K 1 , … , K d ) T \mathbf{K}=(K_1,\ldots,K_d)^{\mathsf{T}} K = ( K 1 , … , K d ) T , are given by [33 Section 3.4.2]
S s = β ˉ 2 e s V s 3 / 2 , K s = α ˉ 2 e s − R s 4 V s 2 . S_s=\frac{\bar{\beta}_{2e_s}}{V_s^{3/2}},\qquad\mathcal{K}_s=\frac{\bar{\alpha}_{2e_s}-R_s^4}{V_s^2}. S s = V s 3/2 β ˉ 2 e s , K s = V s 2 α ˉ 2 e s − R s 4 .
for s ∈ { 1 , … , d } s\in\{1,\ldots,d\} s ∈ { 1 , … , d } , where α ˉ p \bar{\alpha}_p α ˉ p and β ˉ p \bar{\beta}_p β ˉ p are the trigonometric moments about the mean direction μ m \boldsymbol{\mu}_m μ m , given by α ˉ p = E [ cos ( p T ( Θ − μ m ) ) ] \bar{\alpha}_p=\mathbb{E}[\cos(\mathbf{p}^{\mathsf{T}}(\boldsymbol{\Theta}-\boldsymbol{\mu}_m))] α ˉ p = E [ cos ( p T ( Θ − μ m ))] and β ˉ p = E [ sin ( p T ( Θ − μ m ) ) ] \bar{\beta}_p=\mathbb{E}[\sin(\mathbf{p}^{\mathsf{T}}(\boldsymbol{\Theta}-\boldsymbol{\mu}_m))] β ˉ p = E [ sin ( p T ( Θ − μ m ))] . It holds that
α ˉ 2 e s = E [ cos ( 2 e s T ( Θ − μ m ) ) ] = E [ cos ( 2 ( Θ s − μ m ; s ) ) ] = E [ cos ( 2 Θ s ) cos ( 2 μ m ; s ) + sin ( 2 Θ s ) sin ( 2 μ m ; s ) ] = ( cos 2 ( μ m ; s ) − sin 2 ( μ m ; s ) ) E [ cos ( 2 Θ s ) ] + 2 sin ( μ m ; s ) cos ( μ m ; s ) E [ sin ( 2 Θ s ) ] = α ˉ e s 2 − β ˉ e s 2 α ˉ e s 2 + β ˉ e s 2 α ˉ 2 e s + 2 α ˉ e s β ˉ e s α ˉ e s 2 + β ˉ e s 2 β ˉ 2 e s = 1 R s 2 [ ( α ˉ e s 2 − β ˉ e s 2 ) α ˉ 2 e s + 2 α ˉ e s β ˉ e s β ˉ 2 e s ] . \begin{aligned}
\bar{\alpha}_{2e_s}
&=\mathbb{E}\left[\cos(2e_s^{\mathsf{T}}(\boldsymbol{\Theta}-\boldsymbol{\mu}_m))\right]
=\mathbb{E}\left[\cos(2(\Theta_s-\mu_{m;s}))\right] \\
&=\mathbb{E}[\cos(2\Theta_s)\cos(2\mu_{m;s})+\sin(2\Theta_s)\sin(2\mu_{m;s})] \\
&=(\cos^2(\mu_{m;s})-\sin^2(\mu_{m;s}))\mathbb{E}[\cos(2\Theta_s)]
+2\sin(\mu_{m;s})\cos(\mu_{m;s})\mathbb{E}[\sin(2\Theta_s)] \\
&=\frac{\bar{\alpha}_{e_s}^2-\bar{\beta}_{e_s}^2}{\bar{\alpha}_{e_s}^2+\bar{\beta}_{e_s}^2}\bar{\alpha}_{2e_s}
+\frac{2\bar{\alpha}_{e_s}\bar{\beta}_{e_s}}{\bar{\alpha}_{e_s}^2+\bar{\beta}_{e_s}^2}\bar{\beta}_{2e_s}
=\frac{1}{R_s^2}\left[(\bar{\alpha}_{e_s}^2-\bar{\beta}_{e_s}^2)\bar{\alpha}_{2e_s}
+2\bar{\alpha}_{e_s}\bar{\beta}_{e_s}\bar{\beta}_{2e_s}\right].
\end{aligned} α ˉ 2 e s = E [ cos ( 2 e s T ( Θ − μ m )) ] = E [ cos ( 2 ( Θ s − μ m ; s )) ] = E [ cos ( 2 Θ s ) cos ( 2 μ m ; s ) + sin ( 2 Θ s ) sin ( 2 μ m ; s )] = ( cos 2 ( μ m ; s ) − sin 2 ( μ m ; s )) E [ cos ( 2 Θ s )] + 2 sin ( μ m ; s ) cos ( μ m ; s ) E [ sin ( 2 Θ s )] = α ˉ e s 2 + β ˉ e s 2 α ˉ e s 2 − β ˉ e s 2 α ˉ 2 e s + α ˉ e s 2 + β ˉ e s 2 2 α ˉ e s β ˉ e s β ˉ 2 e s = R s 2 1 [ ( α ˉ e s 2 − β ˉ e s 2 ) α ˉ 2 e s + 2 α ˉ e s β ˉ e s β ˉ 2 e s ] .
and similarly,
β ˉ 2 e s = E [ sin ( 2 e s T ( Θ − μ m ) ) ] = E [ sin ( 2 ( Θ s − μ m ; s ) ) ] = E [ sin ( 2 Θ s ) cos ( 2 μ m ; s ) − cos ( 2 Θ s ) sin ( 2 μ m ; s ) ] = ( cos 2 ( μ m ; s ) − sin 2 ( μ m ; s ) ) E [ sin ( 2 Θ s ) ] − 2 sin ( μ m ; s ) cos ( μ m ; s ) E [ cos ( 2 Θ s ) ] = α ˉ e s 2 − β ˉ e s 2 α ˉ e s 2 + β ˉ e s 2 β ˉ 2 e s − 2 α ˉ e s β ˉ e s α ˉ e s 2 + β ˉ e s 2 α ˉ 2 e s = 1 R s 2 [ ( α ˉ e s 2 − β ˉ e s 2 ) β ˉ 2 e s − 2 α ˉ e s β ˉ e s α ˉ 2 e s ] . \begin{aligned}
\bar{\beta}_{2e_s}
&=\mathbb{E}\left[\sin(2e_s^{\mathsf{T}}(\boldsymbol{\Theta}-\boldsymbol{\mu}_m))\right]
=\mathbb{E}\left[\sin(2(\Theta_s-\mu_{m;s}))\right] \\
&=\mathbb{E}[\sin(2\Theta_s)\cos(2\mu_{m;s})-\cos(2\Theta_s)\sin(2\mu_{m;s})] \\
&=(\cos^2(\mu_{m;s})-\sin^2(\mu_{m;s}))\mathbb{E}[\sin(2\Theta_s)]
-2\sin(\mu_{m;s})\cos(\mu_{m;s})\mathbb{E}[\cos(2\Theta_s)] \\
&=\frac{\bar{\alpha}_{e_s}^2-\bar{\beta}_{e_s}^2}{\bar{\alpha}_{e_s}^2+\bar{\beta}_{e_s}^2}\bar{\beta}_{2e_s}
-\frac{2\bar{\alpha}_{e_s}\bar{\beta}_{e_s}}{\bar{\alpha}_{e_s}^2+\bar{\beta}_{e_s}^2}\bar{\alpha}_{2e_s}
=\frac{1}{R_s^2}\left[(\bar{\alpha}_{e_s}^2-\bar{\beta}_{e_s}^2)\bar{\beta}_{2e_s}
-2\bar{\alpha}_{e_s}\bar{\beta}_{e_s}\bar{\alpha}_{2e_s}\right].
\end{aligned} β ˉ 2 e s = E [ sin ( 2 e s T ( Θ − μ m )) ] = E [ sin ( 2 ( Θ s − μ m ; s )) ] = E [ sin ( 2 Θ s ) cos ( 2 μ m ; s ) − cos ( 2 Θ s ) sin ( 2 μ m ; s )] = ( cos 2 ( μ m ; s ) − sin 2 ( μ m ; s )) E [ sin ( 2 Θ s )] − 2 sin ( μ m ; s ) cos ( μ m ; s ) E [ cos ( 2 Θ s )] = α ˉ e s 2 + β ˉ e s 2 α ˉ e s 2 − β ˉ e s 2 β ˉ 2 e s − α ˉ e s 2 + β ˉ e s 2 2 α ˉ e s β ˉ e s α ˉ 2 e s = R s 2 1 [ ( α ˉ e s 2 − β ˉ e s 2 ) β ˉ 2 e s − 2 α ˉ e s β ˉ e s α ˉ 2 e s ] .
Thanks to the expression for the measure of skewness, we can compare the range of skewness of our arctan-skewed model to that of the original sine-skewed model. Both models share in common that the cosine moment corresponds to the cosine moment of the original symmetric density f 0 f_0 f 0 , hence the skewness measure S s S_s S s is only affected by the sine moments of each model. As − π / 2 ≤ arctan ( ⋅ ) ≤ π / 2 -\pi/2\leq\arctan(\cdot)\leq\pi/2 − π /2 ≤ arctan ( ⋅ ) ≤ π /2 , straightforward calculations for the arctan-skewed model lead to
β p = 2 π d ∑ i = 1 d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ ≤ 2 π d ∑ i = 1 d ∫ T d ∣ sin ( p T θ ) ∣ f 0 ( θ ) π 2 d θ = ∫ T d ∣ sin ( p T θ ) ∣ f 0 ( θ ) d θ = : γ p 0 \begin{aligned}
\beta_p=\frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\,\mathrm{d}\boldsymbol{\theta} \\
&\leq\frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\lvert\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})\rvert f_0(\boldsymbol{\theta})\frac{\pi}{2}\,\mathrm{d}\boldsymbol{\theta}
=\int_{\mathcal{T}_d}\lvert\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})\rvert f_0(\boldsymbol{\theta})\,\mathrm{d}\boldsymbol{\theta}=:\gamma_p^0
\end{aligned} β p = π d 2 i = 1 ∑ d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ ≤ π d 2 i = 1 ∑ d ∫ T d ∣ sin ( p T θ )∣ f 0 ( θ ) 2 π d θ = ∫ T d ∣ sin ( p T θ )∣ f 0 ( θ ) d θ =: γ p 0
and, similarly, β p ≥ − γ p 0 \beta_p\geq-\gamma_p^0 β p ≥ − γ p 0 , so we can conclude that
− γ p 0 ≤ β p ≤ γ p 0 . (12) -\gamma_p^0\leq\beta_p\leq\gamma_p^0. \tag*{(12)} − γ p 0 ≤ β p ≤ γ p 0 . (12)
Along the same lines, for the sine-skewed model it holds that
β p S S = ∫ T d sin ( p T θ ) f 0 ( θ ) ( 1 + ∑ j = 1 d λ j sin θ j ) d θ = ∑ j = 1 d λ j ∫ T d sin ( p T θ ) f 0 ( θ ) sin θ j d θ ≤ ∑ j = 1 d ∣ λ j ∣ ∫ T d ∣ sin ( p T θ ) ∣ f 0 ( θ ) d θ ≤ γ p 0 \begin{aligned}
\beta_p^{\mathrm{SS}}=\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\left(1+\sum_{j=1}^{d}\lambda_j\sin\theta_j\right)\,\mathrm{d}\boldsymbol{\theta}
=\sum_{j=1}^{d}\lambda_j\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\sin\theta_j\,\mathrm{d}\boldsymbol{\theta} \\
&\leq\sum_{j=1}^{d}\lvert\lambda_j\rvert\int_{\mathcal{T}_d}\lvert\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})\rvert f_0(\boldsymbol{\theta})\,\mathrm{d}\boldsymbol{\theta}\leq\gamma_p^0
\end{aligned} β p SS = ∫ T d sin ( p T θ ) f 0 ( θ ) ( 1 + j = 1 ∑ d λ j sin θ j ) d θ = j = 1 ∑ d λ j ∫ T d sin ( p T θ ) f 0 ( θ ) sin θ j d θ ≤ j = 1 ∑ d ∣ λ j ∣ ∫ T d ∣ sin ( p T θ )∣ f 0 ( θ ) d θ ≤ γ p 0
where in the last line we used the condition ∑ j = 1 d ∣ λ j ∣ ≤ 1 \sum_{j=1}^{d}\lvert\lambda_j\rvert\leq1 ∑ j = 1 d ∣ λ j ∣ ≤ 1 . Similarly we find that β p S S ≥ − γ p 0 \beta_p^{\mathrm{SS}}\geq-\gamma_p^0 β p SS ≥ − γ p 0 and hence the same range as in (12). Both skewness measures thus are contained in the same bounded interval.
Dependence measures
We consider two well-known types of correlation coefficients proposed in the literature. For s , t ∈ { 1 , … , d } s,t\in\{1,\ldots,d\} s , t ∈ { 1 , … , d } we define
Σ s = ( E [ cos ( Θ s ) ] E [ sin ( Θ s ) ] ) , Σ s t = ( E [ cos ( Θ s ) cos ( Θ t ) ] E [ sin ( Θ s ) cos ( Θ t ) ] E [ sin ( Θ s ) cos ( Θ t ) ] E [ sin ( Θ s ) sin ( Θ t ) ] ) . \boldsymbol{\Sigma}_s=\begin{pmatrix}\mathbb{E}[\cos(\Theta_s)]\\\mathbb{E}[\sin(\Theta_s)]\end{pmatrix},\qquad
\boldsymbol{\Sigma}_{st}=
\begin{pmatrix}
\mathbb{E}[\cos(\Theta_s)\cos(\Theta_t)] & \mathbb{E}[\sin(\Theta_s)\cos(\Theta_t)]\\
\mathbb{E}[\sin(\Theta_s)\cos(\Theta_t)] & \mathbb{E}[\sin(\Theta_s)\sin(\Theta_t)]
\end{pmatrix}. Σ s = ( E [ cos ( Θ s )] E [ sin ( Θ s )] ) , Σ s t = ( E [ cos ( Θ s ) cos ( Θ t )] E [ sin ( Θ s ) cos ( Θ t )] E [ sin ( Θ s ) cos ( Θ t )] E [ sin ( Θ s ) sin ( Θ t )] ) .
Using this notation, we investigate the following two dependence measures and note that further can be found in [20 ] :
[12 ] : ρ F L = det ( Σ s t ) ( det ( Σ s s ) det ( Σ t t ) ) 1 / 2 \rho_{\mathrm{FL}}=\frac{\det(\boldsymbol{\Sigma}_{st})}{(\det(\boldsymbol{\Sigma}_{ss})\det(\boldsymbol{\Sigma}_{tt}))^{1/2}} ρ FL = ( d e t ( Σ ss ) d e t ( Σ tt ) ) 1/2 d e t ( Σ s t ) , \quad [30 , 42 ] : ρ S M = tr [ ( Σ s t Σ t s ) 1 / 2 ] \rho_{\mathrm{SM}}=\operatorname{tr}\left[(\boldsymbol{\Sigma}_{st}\boldsymbol{\Sigma}_{ts})^{1/2}\right] ρ SM = tr [ ( Σ s t Σ t s ) 1/2 ] .
From the definition of trigonometric moments, it holds that Σ s = ( α e s T , β e s T ) T \boldsymbol{\Sigma}_{s} = (\alpha_{e_s}^{\mathsf{T}}, \beta_{e_s}^{\mathsf{T}})^{\mathsf{T}} Σ s = ( α e s T , β e s T ) T , and through trigonometric identities it can be shown that
Σ s t = 1 2 ( α e s + e t + α e s − e t β e s + e t + β e s − e t β e s + e t + β e s − e t α e s − e t − α e s + e t ) and Σ s s = 1 2 ( α 2 e s + 1 β 2 e s β 2 e s 1 − α 2 e s ) . \boldsymbol{\Sigma}_{st} = \frac{1}{2} \begin{pmatrix} \alpha_{e_s+e_t} + \alpha_{e_s-e_t} & \beta_{e_s+e_t} + \beta_{e_s-e_t} \\ \beta_{e_s+e_t} + \beta_{e_s-e_t} & \alpha_{e_s-e_t} - \alpha_{e_s+e_t} \end{pmatrix}
\quad\text{and}\quad
\boldsymbol{\Sigma}_{ss} = \frac{1}{2} \begin{pmatrix} \alpha_{2e_s} + 1 & \beta_{2e_s} \\ \beta_{2e_s} & 1 - \alpha_{2e_s} \end{pmatrix}. Σ s t = 2 1 ( α e s + e t + α e s − e t β e s + e t + β e s − e t β e s + e t + β e s − e t α e s − e t − α e s + e t ) and Σ ss = 2 1 ( α 2 e s + 1 β 2 e s β 2 e s 1 − α 2 e s ) .
Random variate generation
We will now show how one can generate random variates from our arctan-skewed model in a straightforward way. Theorem 5 below provides the simple algorithm and its proof is given in Section 6.
Theorem 5. Let f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F . Consider the following simple algorithm to generate a random quantity Θ ∈ T d \boldsymbol{\Theta} \in\mathbb{T}_d Θ ∈ T d :
Step 1. Generate a random vector X = ( X 1 , … , X d ) T \boldsymbol{X} = (X_1, \ldots, X_d)^{\mathsf{T}} X = ( X 1 , … , X d ) T from f 0 ( ⋅ − μ ) f_0(\cdot- \boldsymbol{\mu}) f 0 ( ⋅ − μ ) ;
Step 2. Generate an independent random variable U U U from the uniform distribution U [ 0 , 1 ] U[0,1] U [ 0 , 1 ] ;
Step 3. Set
Θ = { X if U ≤ 1 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) , 2 μ − X if U > 1 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) . \boldsymbol{\Theta} =
\begin{cases}
\boldsymbol{X} & \text{if } U \le\frac{1}{2}\left(1 + \frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right),\\
2\boldsymbol{\mu} - \boldsymbol{X} & \text{if } U > \frac{1}{2}\left(1 + \frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right).
\end{cases} Θ = ⎩ ⎨ ⎧ X 2 μ − X if U ≤ 2 1 ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( X i − μ i ) λ i s i n ( X i − μ i ) ) ) , if U > 2 1 ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( X i − μ i ) λ i s i n ( X i − μ i ) ) ) . The resulting random vector Θ \boldsymbol{\Theta} Θ then follows the f 0 f_0 f 0 -arctan-skewed density (3).
We note the simplicity and efficiency of the algorithm, which is well in line with the notoriously good random number generation algorithms accompanying the symmetry modulation approach, as mentioned in the Introduction.
Inference
We first develop maximum likelihood estimation for the parameters of asymmetric models resulting from our arctan-skewing in Section 3.1. The associated (observed) Fisher Information matrix is given in Section S1 of the Supplementary Material. Based on the Maximum Likelihood Estimators (MLEs), one can right away develop likelihood ratio tests for testing symmetry (λ = 0 \boldsymbol{\lambda} = \boldsymbol{0} λ = 0 ) against arctan-skewed alternatives. We do not provide these tests here, as we propose instead efficient semi-parametric tests for symmetry in Section 3.2. The performance of those tests is evaluated by means of Monte Carlo simulations in Section S2 of the Supplementary Material. We consider there the setting d = 3 d = 3 d = 3 for which we generate the symmetric data from the trivariate wrapped Cauchy (TWC) copula [23 , 29 ] with marginal distributions chosen to be the wrapped Cauchy distribution.
Maximum likelihood estimation
We now develop methods to estimate the parameters of arctan-skewed asymmetric models. More concretely, we will perform maximum likelihood estimation. For notational simplicity, we adopt the notations
M ( μ k , λ k ; θ j k ) = ∂ ∂ μ k ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ i ) 1 + sin 2 ( θ j i − μ i ) ) ) = 2 λ k π d 1 + sin 2 ( θ j k − μ k ) − cos 3 ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) M(\mu_k,\lambda_k;\theta_{jk}) = \frac{\partial}{\partial\mu_k}\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_i)}{1+\sin^2(\theta_{ji}-\mu_i)}\right)\right)
= \frac{2\lambda_k}{\pi d}\frac{1+\sin^2(\theta_{jk}-\mu_k)-\cos^3(\theta_{jk}-\mu_k)}{\left(1+\sin^2(\theta_{jk}-\mu_k)\right)^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)} M ( μ k , λ k ; θ j k ) = ∂ μ k ∂ ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ j i − μ i ) λ i sin ( θ j i − μ i ) ) ) = π d 2 λ k ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) 1 + sin 2 ( θ j k − μ k ) − cos 3 ( θ j k − μ k )
and
L ( μ k , λ k ; θ j k ) = ∂ ∂ λ k ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ i ) 1 + sin 2 ( θ j i − μ i ) ) ) = 2 π d sin ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) . L(\mu_k,\lambda_k;\theta_{jk}) = \frac{\partial}{\partial\lambda_k}\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_i)}{1+\sin^2(\theta_{ji}-\mu_i)}\right)\right)
= \frac{2}{\pi d}\frac{\sin(\theta_{jk}-\mu_k)\left(1+\sin^2(\theta_{jk}-\mu_k)\right)}{\left(1+\sin^2(\theta_{jk}-\mu_k)\right)^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)}. L ( μ k , λ k ; θ j k ) = ∂ λ k ∂ ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ j i − μ i ) λ i sin ( θ j i − μ i ) ) ) = π d 2 ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) sin ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) .
and note that
M ( μ k , 0 ; θ j k ) = 0 and L ( μ k , 0 ; θ j k ) = 2 π d sin ( θ j k − μ k ) 1 + sin 2 ( θ j k − μ k ) . M(\mu_k,0;\theta_{jk}) = 0
\quad\text{and}\quad
L(\mu_k,0;\theta_{jk}) = \frac{2}{\pi d}\frac{\sin(\theta_{jk}-\mu_k)}{1+\sin^2(\theta_{jk}-\mu_k)}. M ( μ k , 0 ; θ j k ) = 0 and L ( μ k , 0 ; θ j k ) = π d 2 1 + sin 2 ( θ j k − μ k ) sin ( θ j k − μ k ) .
To obtain MLEs, we consider the following score functions for the parameters μ \boldsymbol{\mu} μ and λ \boldsymbol{\lambda} λ :
∂ ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n ∂ ∂ μ k f 0 ( θ j − μ ) f 0 ( θ j − μ ) + ∑ j = 1 n M ( μ k , λ k ; θ j k ) 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ i ) 1 + sin 2 ( θ j i − μ i ) ) (13) \frac{\partial}{\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\boldsymbol{\mu})\right)
=
\sum_{j=1}^{n}\frac{\frac{\partial}{\partial\mu_k}f_0(\theta_j-\boldsymbol{\mu})}{f_0(\theta_j-\boldsymbol{\mu})}
+
\sum_{j=1}^{n}\frac{M(\mu_k,\lambda_k;\theta_{jk})}{1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_i)}{1+\sin^2(\theta_{ji}-\mu_i)}\right)} \tag*{(13)} ∂ μ k ∂ log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n f 0 ( θ j − μ ) ∂ μ k ∂ f 0 ( θ j − μ ) + j = 1 ∑ n 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ i ) λ i s i n ( θ j i − μ i ) ) M ( μ k , λ k ; θ j k ) (13)
and
∂ ∂ λ k log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n L ( μ k , λ k ; θ j k ) 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ i ) 1 + sin 2 ( θ j i − μ i ) ) \frac{\partial}{\partial\lambda_k}\log\left(\prod_{j=1}^{n} f(\theta_j-\mu)\right)
=
\sum_{j=1}^{n}
\frac{L(\mu_k,\lambda_k;\theta_{jk})}
{1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_i)}{1+\sin^2(\theta_{ji}-\mu_i)}\right)} ∂ λ k ∂ log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ i ) λ i s i n ( θ j i − μ i ) ) L ( μ k , λ k ; θ j k )
The MLEs μ ^ \hat{\mu} μ ^ and λ ^ \hat{\lambda} λ ^ are obtained by setting these score equations equal to 0 and solving the resulting score equations numerically, along with other score equations that could arise through the existence of some other parameter ϑ \vartheta ϑ that might be present in the base density f 0 f_0 f 0 (concentration, peakedness, shape, . . . ). Contrary to the sine-skewed models, we have no constraints on the skewness parameter, which we have observed in practice to simplify estimation.
Optimal tests for symmetry
In this section we construct tests for symmetry which are most efficient against our arctan-skewed alternatives and are moreover semi-parametric, unlike purely parametric likelihood ratio tests. Here we will propose procedures that are valid under a broad class of symmetric densities. Moreover, we will consider both cases of tests about a specified and unspecified symmetry center. The backbone of our approach is the Le Cam theory of asymptotic experiments and we draw upon the methodology presented in [4 ] (we also refer the reader to that paper for details about the Le Cam theory). Of course, our procedure can also be adapted to optimal tests for symmetry in subvectors of λ \lambda λ .
In what follows, the symmetric densities f 0 f_0 f 0 need to satisfy slightly stronger conditions than those of F \mathcal{F} F , and we formulate those in the class of functions
H : = { f 0 : f 0 ( θ ) > 0 ∀ θ ∈ T d , f 0 unimodal in θ ∈ T d with a mode at 0 , θ ↦ f 0 1 / 2 ( θ ) is C 1 ∀ θ ∈ T d with continuous derivative ∇ μ f 0 1 / 2 ( θ − μ ) . } (14) \mathcal{H}:=\left\{f_0:
\begin{aligned}
&f_0(\theta)>0\ \forall\theta\in\mathbb{T}_d,\\
&f_0\text{ unimodal in }\theta\in\mathbb{T}_d\text{ with a mode at }0,\\
&\theta\mapsto f_0^{1/2}(\theta)\text{ is }C^1\ \forall\theta\in\mathbb{T}_d\text{ with continuous derivative }\nabla_\mu f_0^{1/2}(\theta-\mu).
\end{aligned}
\right\} \tag*{(14)} H := ⎩ ⎨ ⎧ f 0 : f 0 ( θ ) > 0 ∀ θ ∈ T d , f 0 unimodal in θ ∈ T d with a mode at 0 , θ ↦ f 0 1/2 ( θ ) is C 1 ∀ θ ∈ T d with continuous derivative ∇ μ f 0 1/2 ( θ − μ ) . ⎭ ⎬ ⎫ (14)
where C 1 C^1 C 1 denotes the class of continuously differentiable functions and it holds that
∇ μ f 0 1 / 2 ( θ − μ ) = ( ∂ ∂ μ 1 f 0 ( θ − μ ) / ( 2 f 0 1 / 2 ( θ − μ ) ) ⋮ ∂ ∂ μ d f 0 ( θ − μ ) / ( 2 f 0 1 / 2 ( θ − μ ) ) ) = 1 2 ( ϕ 1 f 0 ( θ − μ ) ⋮ ϕ d f 0 ( θ − μ ) ) f 0 1 / 2 ( θ − μ ) , \nabla_\mu f_0^{1/2}(\theta-\mu)
=
\begin{pmatrix}
\frac{\partial}{\partial\mu_1}f_0(\theta-\mu)/(2f_0^{1/2}(\theta-\mu))\\
\vdots\\
\frac{\partial}{\partial\mu_d}f_0(\theta-\mu)/(2f_0^{1/2}(\theta-\mu))
\end{pmatrix}
=
\frac{1}{2}
\begin{pmatrix}
\phi_1^{f_0}(\theta-\mu)\\
\vdots\\
\phi_d^{f_0}(\theta-\mu)
\end{pmatrix}
f_0^{1/2}(\theta-\mu), ∇ μ f 0 1/2 ( θ − μ ) = ∂ μ 1 ∂ f 0 ( θ − μ ) / ( 2 f 0 1/2 ( θ − μ )) ⋮ ∂ μ d ∂ f 0 ( θ − μ ) / ( 2 f 0 1/2 ( θ − μ )) = 2 1 ϕ 1 f 0 ( θ − μ ) ⋮ ϕ d f 0 ( θ − μ ) f 0 1/2 ( θ − μ ) ,
where
ϕ j f 0 ( θ − μ ) = − ∂ ∂ θ j f 0 ( θ − μ ) f 0 ( θ − μ ) , for j ∈ { 1 , … , d } . \phi_j^{f_0}(\theta-\mu)
=
-\frac{\frac{\partial}{\partial\theta_j}f_0(\theta-\mu)}
{f_0(\theta-\mu)},
\qquad\text{for }j\in\{1,\ldots,d\}. ϕ j f 0 ( θ − μ ) = − f 0 ( θ − μ ) ∂ θ j ∂ f 0 ( θ − μ ) , for j ∈ { 1 , … , d } .
Most known models from the literature, such as the von Mises, wrapped Cauchy, cardioid, Sine, Cosine, bivariate wrapped Cauchy, or the trivariate wrapped Cauchy with specified marginals [23 , 29 ] satisfy the condition to belong to the intersection F ∩ H \mathcal{F}\cap\mathcal{H} F ∩ H .
Let us denote by P μ , λ ; f 0 ( n ) P_{\mu,\lambda;f_0}^{(n)} P μ , λ ; f 0 ( n ) , with f 0 ∈ F ∩ H f_0\in\mathcal{F}\cap\mathcal{H} f 0 ∈ F ∩ H as in (2) and (13), the joint distribution of a sequence { θ i } i = 1 n = { ( θ i 1 , … , θ i d ) T } i = 1 n \{\theta_i\}_{i=1}^n=\{(\theta_{i1},\ldots,\theta_{id})^\mathsf{T}\}_{i=1}^n { θ i } i = 1 n = {( θ i 1 , … , θ i d ) T } i = 1 n of independent and identically distributed hyper-toroidal random observations with density (3). Any f 0 f_0 f 0 then induces a toroidal location-skewness model
P f 0 ( n ) : = { P μ , λ ; f 0 ( n ) : μ ∈ T d , λ ∈ R d } . \mathcal{P}_{f_0}^{(n)}:=\left\{P_{\mu,\lambda;f_0}^{(n)}:\mu\in\mathbb{T}_d,\lambda\in\mathbb{R}^d\right\}. P f 0 ( n ) := { P μ , λ ; f 0 ( n ) : μ ∈ T d , λ ∈ R d } .
In order to derive tests for symmetry that are optimal in the Le Cam sense, we establish the Uniform Local Asymptotic Normality (ULAN) property in the vicinity of symmetry, meaning at λ = 0 \lambda=0 λ = 0 , of the parametric model P f 0 ( n ) P_{f_0}^{(n)} P f 0 ( n ) .
Proposition 1. Let f 0 ∈ F ∩ H f_0\in\mathcal{F}\cap\mathcal{H} f 0 ∈ F ∩ H . Then the arctan-skewed family P f 0 ( n ) P_{f_0}^{(n)} P f 0 ( n ) is ULAN at ( μ T , 0 T ) T (\mu^\mathsf{T},0^\mathsf{T})^\mathsf{T} ( μ T , 0 T ) T . More precisely, for any μ i ( n ) = μ i + O ( n − 1 / 2 ) \mu_i^{(n)}=\mu_i+O(n^{-1/2}) μ i ( n ) = μ i + O ( n − 1/2 ) , i = 1 , … , d i=1,\ldots,d i = 1 , … , d , and for any bounded sequence τ ( n ) : = ( τ μ ( n ) T , τ λ ( n ) T ) T ∈ R 2 d \tau^{(n)}:=(\tau_\mu^{(n)\mathsf{T}},\tau_\lambda^{(n)\mathsf{T}})^\mathsf{T}\in\mathbb{R}^{2d} τ ( n ) := ( τ μ ( n ) T , τ λ ( n ) T ) T ∈ R 2 d with τ μ ( n ) = ( τ 1 ( n ) , … , τ d ( n ) ) T ∈ R d \tau_\mu^{(n)}=(\tau_1^{(n)},\ldots,\tau_d^{(n)})^\mathsf{T}\in\mathbb{R}^d τ μ ( n ) = ( τ 1 ( n ) , … , τ d ( n ) ) T ∈ R d , τ λ ( n ) = ( τ d + 1 ( n ) , … , τ 2 d ( n ) ) T ∈ R d \tau_\lambda^{(n)}=(\tau_{d+1}^{(n)},\ldots,\tau_{2d}^{(n)})^\mathsf{T}\in\mathbb{R}^d τ λ ( n ) = ( τ d + 1 ( n ) , … , τ 2 d ( n ) ) T ∈ R d such that μ i ( n ) + n − 1 / 2 τ i ( n ) \mu_i^{(n)}+n^{-1/2}\tau_i^{(n)} μ i ( n ) + n − 1/2 τ i ( n ) , i = 1 , … , d i=1,\ldots,d i = 1 , … , d , remains in T 1 \mathbb{T}_1 T 1 , we have
Λ ( n ) : = log ( P μ ( n ) + n − 1 / 2 τ μ ( n ) , n − 1 / 2 τ λ ( n ) ; f 0 ( n ) P μ ( n ) , 0 ; f 0 ( n ) ) = τ ( n ) T Δ f 0 ( n ) ( μ ( n ) ) − 1 2 τ ( n ) T Γ f 0 τ ( n ) + o P ( 1 ) \Lambda^{(n)}:=\log\left(\frac{P_{\mu^{(n)}+n^{-1/2}\tau_\mu^{(n)},\,n^{-1/2}\tau_\lambda^{(n)};f_0}^{(n)}}{P_{\mu^{(n)},0;f_0}^{(n)}}\right)
=
\tau^{(n)\mathsf{T}}\Delta_{f_0}^{(n)}(\mu^{(n)})
-\frac{1}{2}\tau^{(n)\mathsf{T}}\Gamma_{f_0}\tau^{(n)}
+o_P(1) Λ ( n ) := log P μ ( n ) , 0 ; f 0 ( n ) P μ ( n ) + n − 1/2 τ μ ( n ) , n − 1/2 τ λ ( n ) ; f 0 ( n ) = τ ( n ) T Δ f 0 ( n ) ( μ ( n ) ) − 2 1 τ ( n ) T Γ f 0 τ ( n ) + o P ( 1 )
as n → ∞ n \to\infty n → ∞ , and the central sequence
Δ f 0 ( n ) ( μ ) : = 1 n ∑ i = 1 n Δ f 0 ; i ( n ) ( μ ) = 1 n ∑ i = 1 n ( ϕ 1 f 0 ( θ i − μ ) , … , ϕ d f 0 ( θ i − μ ) , 2 π d sin ( θ i 1 − μ 1 ) 1 + sin 2 ( θ i 1 − μ 1 ) , … , 2 π d sin ( θ i d − μ d ) 1 + sin 2 ( θ i d − μ d ) ) T , \Delta_{f_0}^{(n)}(\mu) := \frac{1}{\sqrt{n}}\sum_{i=1}^{n}\Delta_{f_0;i}^{(n)}(\mu)
= \frac{1}{\sqrt{n}}\sum_{i=1}^{n}\left(\phi_1^{f_0}(\theta_i-\mu),\ldots,\phi_d^{f_0}(\theta_i-\mu),\frac{2}{\pi d}\frac{\sin(\theta_{i1}-\mu_1)}{1+\sin^2(\theta_{i1}-\mu_1)},\ldots,\frac{2}{\pi d}\frac{\sin(\theta_{id}-\mu_d)}{1+\sin^2(\theta_{id}-\mu_d)}\right)^\mathsf{T}, Δ f 0 ( n ) ( μ ) := n 1 i = 1 ∑ n Δ f 0 ; i ( n ) ( μ ) = n 1 i = 1 ∑ n ( ϕ 1 f 0 ( θ i − μ ) , … , ϕ d f 0 ( θ i − μ ) , π d 2 1 + sin 2 ( θ i 1 − μ 1 ) sin ( θ i 1 − μ 1 ) , … , π d 2 1 + sin 2 ( θ i d − μ d ) sin ( θ i d − μ d ) ) T ,
for ϕ j f 0 ( θ − μ ) \phi_j^{f_0}(\theta-\mu) ϕ j f 0 ( θ − μ ) as in (3.2), converges to N 2 d ( 0 , Γ f 0 ) \mathcal{N}_{2d}(0,\Gamma_{f_0}) N 2 d ( 0 , Γ f 0 ) under P μ , 0 ; f 0 ( n ) P_{\mu,0;f_0}^{(n)} P μ , 0 ; f 0 ( n ) as n → ∞ n\to\infty n → ∞ , where the Fisher Information matrix Γ f 0 \Gamma_{f_0} Γ f 0 is given by
Γ f 0 = ( I μ 1 μ 1 f 0 ⋯ I μ 1 μ d f 0 I μ 1 λ 1 f 0 ⋯ I μ 1 λ d f 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ I μ 1 μ d f 0 ⋯ I μ d μ d f 0 I μ d λ 1 f 0 ⋯ I μ d λ d f 0 I μ 1 λ 1 f 0 ⋯ I μ d λ 1 f 0 I λ 1 λ 1 f 0 ⋯ I λ 1 λ d f 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ I μ 1 λ d f 0 ⋯ I μ d λ d f 0 I λ 1 λ d f 0 ⋯ I λ d λ d f 0 ) \Gamma_{f_0} =
\begin{pmatrix}
I_{\mu_1\mu_1}^{f_0} & \cdots& I_{\mu_1\mu_d}^{f_0} & I_{\mu_1\lambda_1}^{f_0} & \cdots& I_{\mu_1\lambda_d}^{f_0}\\
\vdots& \ddots& \vdots& \vdots& \ddots& \vdots\\
I_{\mu_1\mu_d}^{f_0} & \cdots& I_{\mu_d\mu_d}^{f_0} & I_{\mu_d\lambda_1}^{f_0} & \cdots& I_{\mu_d\lambda_d}^{f_0}\\
I_{\mu_1\lambda_1}^{f_0} & \cdots& I_{\mu_d\lambda_1}^{f_0} & I_{\lambda_1\lambda_1}^{f_0} & \cdots& I_{\lambda_1\lambda_d}^{f_0}\\
\vdots& \ddots& \vdots& \vdots& \ddots& \vdots\\
I_{\mu_1\lambda_d}^{f_0} & \cdots& I_{\mu_d\lambda_d}^{f_0} & I_{\lambda_1\lambda_d}^{f_0} & \cdots& I_{\lambda_d\lambda_d}^{f_0}
\end{pmatrix} Γ f 0 = I μ 1 μ 1 f 0 ⋮ I μ 1 μ d f 0 I μ 1 λ 1 f 0 ⋮ I μ 1 λ d f 0 ⋯ ⋱ ⋯ ⋯ ⋱ ⋯ I μ 1 μ d f 0 ⋮ I μ d μ d f 0 I μ d λ 1 f 0 ⋮ I μ d λ d f 0 I μ 1 λ 1 f 0 ⋮ I μ d λ 1 f 0 I λ 1 λ 1 f 0 ⋮ I λ 1 λ d f 0 ⋯ ⋱ ⋯ ⋯ ⋱ ⋯ I μ 1 λ d f 0 ⋮ I μ d λ d f 0 I λ 1 λ d f 0 ⋮ I λ d λ d f 0
with
I μ j μ k f 0 = ∫ T d ϕ j f 0 ( θ ) ϕ k f 0 ( θ ) f 0 ( θ ) d θ , I μ j λ j f 0 = 2 π d ∫ T d ϕ j f 0 ( θ ) sin ( θ j ) 1 + sin 2 ( θ j ) f 0 ( θ ) d θ , I_{\mu_j\mu_k}^{f_0}=\int_{\mathcal{T}_d}\phi_j^{f_0}(\theta)\phi_k^{f_0}(\theta)f_0(\theta)\,d\theta,\qquad I_{\mu_j\lambda_j}^{f_0}=\frac{2}{\pi d}\int_{\mathcal{T}_d}\phi_j^{f_0}(\theta)\frac{\sin(\theta_j)}{1+\sin^2(\theta_j)}f_0(\theta)\,d\theta, I μ j μ k f 0 = ∫ T d ϕ j f 0 ( θ ) ϕ k f 0 ( θ ) f 0 ( θ ) d θ , I μ j λ j f 0 = π d 2 ∫ T d ϕ j f 0 ( θ ) 1 + sin 2 ( θ j ) sin ( θ j ) f 0 ( θ ) d θ ,
I λ j λ k f 0 = 4 π 2 d 2 ∫ T d sin ( θ j ) 1 + sin 2 ( θ j ) sin ( θ k ) 1 + sin 2 ( θ k ) f 0 ( θ ) d θ , I μ j λ k f 0 = 0 , for j ≠ k , (15) I_{\lambda_j\lambda_k}^{f_0}=\frac{4}{\pi^2d^2}\int_{\mathcal{T}_d}\frac{\sin(\theta_j)}{1+\sin^2(\theta_j)}\frac{\sin(\theta_k)}{1+\sin^2(\theta_k)}f_0(\theta)\,d\theta,\qquad I_{\mu_j\lambda_k}^{f_0}=0,\ \text{for }j\ne k, \tag*{(15)} I λ j λ k f 0 = π 2 d 2 4 ∫ T d 1 + sin 2 ( θ j ) sin ( θ j ) 1 + sin 2 ( θ k ) sin ( θ k ) f 0 ( θ ) d θ , I μ j λ k f 0 = 0 , for j = k , (15)
where j , k ∈ { 1 , … , d } j,k\in\{1,\ldots,d\} j , k ∈ { 1 , … , d } .
The proof of this theorem goes along the same lines as the proof of ULAN for sine-skewing in [4 ] with only minimal variations. The quadratic mean differentiability of arctan-skewed densities f 0 f_0 f 0 can be obtained via Proposition 2.1 of [4 ] ; we leave the details to the reader. We also draw the reader’s attention to the fact that the elements of the Fisher Information matrix Γ f 0 \Gamma_{f_0} Γ f 0 are obtained from the observed Fisher Information quantities at λ = 0 \lambda=0 λ = 0 given in § 11 through calculations involving integration by parts.
Optimal tests for symmetry about a specified center
We firstly assume that the center of symmetry is known and fixed to μ ∈ T d \mu\in\mathcal{T}_d μ ∈ T d . Our goal is to derive semi-parametrically optimal tests for the following hypothesis testing problem:
H 0 ; μ ( n ) : = ⋃ f 0 ∈ F ∩ H P μ , 0 ; f 0 ( n ) vs H 1 ; μ ( n ) : = ⋃ λ ∈ R d ∖ { 0 } ⋃ f 0 ∈ F ∩ H P μ , λ ; f 0 ( n ) . \mathcal{H}_{0;\mu}^{(n)}:=\bigcup_{f_0\in\mathcal{F}\cap\mathcal{H}}P_{\mu,0;f_0}^{(n)}
\quad\text{vs}\quad
\mathcal{H}_{1;\mu}^{(n)}:=\bigcup_{\lambda\in\mathbb{R}^d\setminus\{0\}}\ \bigcup_{f_0\in\mathcal{F}\cap\mathcal{H}}P_{\mu,\lambda;f_0}^{(n)}. H 0 ; μ ( n ) := f 0 ∈ F ∩ H ⋃ P μ , 0 ; f 0 ( n ) vs H 1 ; μ ( n ) := λ ∈ R d ∖ { 0 } ⋃ f 0 ∈ F ∩ H ⋃ P μ , λ ; f 0 ( n ) .
Since μ \mu μ is known, we focus on the parts of the central sequence and Fisher Information matrix that only depend on λ \lambda λ . To this end, we define
Δ λ ( n ) ( μ ) = 1 n ∑ i = 1 n ( 2 π d sin ( θ i 1 − μ 1 ) 1 + sin 2 ( θ i 1 − μ 1 ) ⋮ 2 π d sin ( θ i d − μ d ) 1 + sin 2 ( θ i d − μ d ) ) and Γ f 0 ; λ = ( I λ 1 λ 1 f 0 ⋯ I λ 1 λ d f 0 ⋮ ⋱ ⋮ I λ 1 λ d f 0 ⋯ I λ d λ d f 0 ) . (16) \Delta_{\lambda}^{(n)}(\mu)=\frac{1}{\sqrt{n}}\sum_{i=1}^{n}
\begin{pmatrix}
\frac{2}{\pi d}\frac{\sin(\theta_{i1}-\mu_1)}{1+\sin^2(\theta_{i1}-\mu_1)}\\
\vdots\\
\frac{2}{\pi d}\frac{\sin(\theta_{id}-\mu_d)}{1+\sin^2(\theta_{id}-\mu_d)}
\end{pmatrix}
\quad\text{and}\quad
\Gamma_{f_0;\lambda}=
\begin{pmatrix}
I_{\lambda_1\lambda_1}^{f_0} & \cdots& I_{\lambda_1\lambda_d}^{f_0}\\
\vdots& \ddots& \vdots\\
I_{\lambda_1\lambda_d}^{f_0} & \cdots& I_{\lambda_d\lambda_d}^{f_0}
\end{pmatrix}. \tag*{(16)} Δ λ ( n ) ( μ ) = n 1 i = 1 ∑ n π d 2 1 + s i n 2 ( θ i 1 − μ 1 ) s i n ( θ i 1 − μ 1 ) ⋮ π d 2 1 + s i n 2 ( θ i d − μ d ) s i n ( θ i d − μ d ) and Γ f 0 ; λ = I λ 1 λ 1 f 0 ⋮ I λ 1 λ d f 0 ⋯ ⋱ ⋯ I λ 1 λ d f 0 ⋮ I λ d λ d f 0 . (16)
where I λ i λ j f 0 I_{\lambda_i\lambda_j}^{f_0} I λ i λ j f 0 for i , j = 1 , … , d i,j=1,\ldots,d i , j = 1 , … , d is defined in (14). Note that the central sequence for skewness does not depend on f 0 f_0 f 0 , meaning that the most efficient parametric test statistic ( Δ λ ( n ) ( μ ) ) T ( Γ f 0 ; λ ) − 1 Δ λ ( n ) ( μ ) \left(\Delta_{\lambda}^{(n)}(\mu)\right)^\mathsf{T}\left(\Gamma_{f_0;\lambda}\right)^{-1}\Delta_{\lambda}^{(n)}(\mu) ( Δ λ ( n ) ( μ ) ) T ( Γ f 0 ; λ ) − 1 Δ λ ( n ) ( μ ) can readily be turned into a semi-parametric one by estimating Γ f 0 ; λ \Gamma_{f_0;\lambda} Γ f 0 ; λ , and that any f 0 f_0 f 0 will lead to the same most efficient semi-parametric test, which we present and study in the following result whose proof is left to the reader (see the proof of Theorem 3.1 in [4 ] ).
Theorem 6. We define the semi-parametric test statistic as
Q ∗ ( n ) ; μ = ( Δ λ ( n ) ( μ ) ) T ( Γ ^ λ ) − 1 Δ λ ( n ) ( μ ) . Q^{*(n);\mu}=\left(\Delta_{\lambda}^{(n)}(\mu)\right)^\mathsf{T}\left(\widehat{\Gamma}_{\lambda}\right)^{-1}\Delta_{\lambda}^{(n)}(\mu). Q ∗ ( n ) ; μ = ( Δ λ ( n ) ( μ ) ) T ( Γ λ ) − 1 Δ λ ( n ) ( μ ) .
where
Γ ^ λ = ( I ^ λ 1 λ 1 ⋯ I ^ λ 1 λ d ⋮ ⋱ ⋮ I ^ λ 1 λ d ⋯ I ^ λ d λ d ) , I ^ λ j λ k = 4 n π 2 d 2 ∑ i = 1 n sin ( θ i j − μ j ) 1 + sin 2 ( θ i j − μ j ) sin ( θ i k − μ k ) 1 + sin 2 ( θ i k − μ k ) for j , k = 1 , … , d , \widehat{\Gamma}_{\lambda}=\begin{pmatrix}
\widehat{I}_{\lambda_{1}\lambda_{1}} & \cdots& \widehat{I}_{\lambda_{1}\lambda_{d}}\\
\vdots& \ddots& \vdots\\
\widehat{I}_{\lambda_{1}\lambda_{d}} & \cdots& \widehat{I}_{\lambda_{d}\lambda_{d}}
\end{pmatrix},\qquad
\widehat{I}_{\lambda_j\lambda_k}=\frac{4}{n\pi^2d^2}\sum_{i=1}^{n}
\frac{\sin(\theta_{ij}-\mu_j)}{1+\sin^2(\theta_{ij}-\mu_j)}
\frac{\sin(\theta_{ik}-\mu_k)}{1+\sin^2(\theta_{ik}-\mu_k)}
\text{ for }j,k=1,\ldots,d, Γ λ = I λ 1 λ 1 ⋮ I λ 1 λ d ⋯ ⋱ ⋯ I λ 1 λ d ⋮ I λ d λ d , I λ j λ k = n π 2 d 2 4 i = 1 ∑ n 1 + sin 2 ( θ ij − μ j ) sin ( θ ij − μ j ) 1 + sin 2 ( θ ik − μ k ) sin ( θ ik − μ k ) for j , k = 1 , … , d ,
is the empirical estimate of Γ f 0 ; λ \Gamma_{f_0;\lambda} Γ f 0 ; λ defined in (15). Let ϕ ∗ ( n ) ; μ \phi^{*(n);\mu} ϕ ∗ ( n ) ; μ denote the test that rejects H 0 ; μ ( n ) \mathcal{H}^{(n)}_{0;\mu} H 0 ; μ ( n ) against the alternative H 1 ; μ ( n ) \mathcal{H}^{(n)}_{1;\mu} H 1 ; μ ( n ) at asymptotic level α \alpha α whenever the statistic Q ∗ ( n ) ; μ > χ d ; α 2 Q^{*(n);\mu}>\chi^2_{d;\alpha} Q ∗ ( n ) ; μ > χ d ; α 2 , with χ d ; α 2 \chi^2_{d;\alpha} χ d ; α 2 the α \alpha α -upper quantile of a chi-square distribution with d d d degrees of freedom. The following hold for f 0 ∈ F ∩ H f_0\in\mathcal{F}\cap\mathcal{H} f 0 ∈ F ∩ H :
(i) Under H 0 ; μ ( n ) \mathcal{H}^{(n)}_{0;\mu} H 0 ; μ ( n ) , we have that
Q ∗ ( n ) ; μ → D χ d 2 Q^{*(n);\mu}\xrightarrow{\mathcal{D}}\chi^2_d Q ∗ ( n ) ; μ D χ d 2
as n → ∞ n\to\infty n → ∞ , so that the test ϕ ∗ ( n ) ; μ \phi^{*(n);\mu} ϕ ∗ ( n ) ; μ has asymptotic level α \alpha α under the null.
(ii) Under P μ , n − 1 / 2 τ λ ( n ) ; f 0 ( n ) P^{(n)}_{\mu,n^{-1/2}\tau^{(n)}_\lambda;f_0} P μ , n − 1/2 τ λ ( n ) ; f 0 ( n ) for f 0 ∈ F ∩ H f_0\in\mathcal{F}\cap\mathcal{H} f 0 ∈ F ∩ H and τ λ ( n ) \tau^{(n)}_\lambda τ λ ( n ) as defined in Proposition 1, it holds that
Q ∗ ( n ) ; μ → D χ d 2 ( τ λ T Γ f 0 ; λ τ λ ) Q^{*(n);\mu}\xrightarrow{\mathcal{D}}\chi^2_d(\tau_\lambda^\mathsf{T}\Gamma_{f_0;\lambda}\tau_\lambda) Q ∗ ( n ) ; μ D χ d 2 ( τ λ T Γ f 0 ; λ τ λ )
as n → ∞ n\to\infty n → ∞ , where χ ν 2 ( κ ) \chi^2_\nu(\kappa) χ ν 2 ( κ ) denotes a non-central χ 2 \chi^2 χ 2 distribution with ν \nu ν degrees of freedom and non-centrality parameter κ \kappa κ , with τ λ = lim n → ∞ τ λ ( n ) \tau_\lambda=\lim_{n\to\infty}\tau^{(n)}_\lambda τ λ = lim n → ∞ τ λ ( n ) .
(iii) The test ϕ ∗ ( n ) ; μ \phi^{*(n);\mu} ϕ ∗ ( n ) ; μ is universally (in f 0 f_0 f 0 ) locally and asymptotically maximin at level α \alpha α when testing H 0 ; μ ( n ) \mathcal{H}^{(n)}_{0;\mu} H 0 ; μ ( n ) against H 1 ; μ ( n ) \mathcal{H}^{(n)}_{1;\mu} H 1 ; μ ( n ) .
The universal optimality under Theorem 6(iii) follows from the aforementioned fact that the central sequence for skewness does not depend on f 0 f_0 f 0 . Thanks to Theorem 6(ii), one can even express the power of our test in a concise formula.
Optimal tests for symmetry about an unspecified center
We now consider the case of an unspecified symmetry center. In formal terms we consider the hypothesis testing problem
H 0 ( n ) : = ⋃ μ ∈ T d ⋃ g 0 ∈ F ∩ H P μ , 0 ; g 0 ( n ) vs H 1 ( n ) : = ⋃ λ ∈ R d ∖ { 0 } ⋃ μ ∈ T d ⋃ g 0 ∈ F ∩ H P μ , λ ; g 0 ( n ) \mathcal{H}^{(n)}_0:=\bigcup_{\mu\in\mathbb{T}_d}\bigcup_{g_0\in\mathcal{F}\cap\mathcal{H}}P^{(n)}_{\mu,0;g_0}
\quad\text{vs}\quad
\mathcal{H}^{(n)}_1:=\bigcup_{\lambda\in\mathbb{R}^d\setminus\{0\}}\bigcup_{\mu\in\mathbb{T}_d}\bigcup_{g_0\in\mathcal{F}\cap\mathcal{H}}P^{(n)}_{\mu,\lambda;g_0} H 0 ( n ) := μ ∈ T d ⋃ g 0 ∈ F ∩ H ⋃ P μ , 0 ; g 0 ( n ) vs H 1 ( n ) := λ ∈ R d ∖ { 0 } ⋃ μ ∈ T d ⋃ g 0 ∈ F ∩ H ⋃ P μ , λ ; g 0 ( n )
The principal change compared to the previous section lies in the fact that we now need to estimate the nuisance parameter μ \mu μ by some estimator μ ^ ( n ) \widehat{\mu}^{(n)} μ ( n ) . To this end as well as for other developments, we adopt the following assumption.
Assumption 1. [(i)]
The estimators μ ^ ( n ) = ( μ ^ 1 ( n ) , … , μ ^ d ( n ) ) T \widehat{\mu}^{(n)}=(\widehat{\mu}^{(n)}_1,\ldots,\widehat{\mu}^{(n)}_d)^\mathsf{T} μ ( n ) = ( μ 1 ( n ) , … , μ d ( n ) ) T for μ \mu μ are n \sqrt{n} n -consistent and locally asymptotic discrete.
The mapping θ ↦ f 0 ( θ − μ ) \theta\mapsto f_0(\theta-\mu) θ ↦ f 0 ( θ − μ ) is C 2 C^2 C 2 almost everywhere on $\mathbb{T}_d.
Assumption 1(i) is needed to ensure that we can use Lemma 4.4 of [25 ] which is a crucial ingredient to replace a nuisance parameter μ \mu μ with an estimator and still get asymptotic results. We refer the reader to Section 4 of [4 ] for more details, as well as a definition and discussion of the concept of locally asymptotic discrete estimators. Assumption 1(i) is a purely technical requirement, and for a fixed sample size, any estimator can be considered part of a locally asymptotically discrete sequence.
Constructing optimal tests for symmetry under an unspecified center requires many more steps compared to the specified center scenario. Establishing optimal tests requires working with two distinct symmetric densities f 0 , g 0 ∈ F ∩ H f_0,g_0\in\mathcal{F}\cap\mathcal{H} f 0 , g 0 ∈ F ∩ H , f 0 f_0 f 0 being the assumed one and g 0 g_0 g 0 the true unknown one (see below for more details), and we need to define the following:
Δ f 0 ; μ ( n ) ( μ ) = 1 n ∑ i = 1 n ( ϕ 1 f 0 ( θ i − μ ) , … , ϕ d f 0 ( θ i − μ ) ) T , \Delta^{(n)}_{f_0;\mu}(\mu)=\frac{1}{\sqrt{n}}\sum_{i=1}^{n}\left(\phi^{f_0}_1(\theta_i-\mu),\ \ldots,\ \phi^{f_0}_d(\theta_i-\mu)\right)^\mathsf{T}, Δ f 0 ; μ ( n ) ( μ ) = n 1 i = 1 ∑ n ( ϕ 1 f 0 ( θ i − μ ) , … , ϕ d f 0 ( θ i − μ ) ) T ,
C μ ; μ f 0 ; g 0 : = Cov g 0 ( Δ f 0 ; μ ( n ) ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) = ( I μ 1 μ 1 f 0 ; g 0 ⋯ I μ 1 μ d f 0 ; g 0 ⋮ ⋱ ⋮ I μ d μ 1 f 0 ; g 0 ⋯ I μ d μ d f 0 ; g 0 ) , C_{\mu;\mu}^{f_0;g_0}:=\operatorname{Cov}_{g_0}\left(\Delta_{f_0;\mu}^{(n)}(\mu),\Delta_{g_0;\mu}^{(n)}(\mu)\right)=\begin{pmatrix} I_{\mu_1\mu_1}^{f_0;g_0} & \cdots& I_{\mu_1\mu_d}^{f_0;g_0} \\ \vdots& \ddots& \vdots\\ I_{\mu_d\mu_1}^{f_0;g_0} & \cdots& I_{\mu_d\mu_d}^{f_0;g_0} \end{pmatrix}, C μ ; μ f 0 ; g 0 := Cov g 0 ( Δ f 0 ; μ ( n ) ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) = I μ 1 μ 1 f 0 ; g 0 ⋮ I μ d μ 1 f 0 ; g 0 ⋯ ⋱ ⋯ I μ 1 μ d f 0 ; g 0 ⋮ I μ d μ d f 0 ; g 0 ,
C μ ; λ g 0 : = Cov g 0 ( Δ λ ( n ) ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) = ( I μ 1 λ 1 g 0 ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ I μ d λ d g 0 ) , C_{\mu;\lambda}^{g_0}:=\operatorname{Cov}_{g_0}\left(\Delta_{\lambda}^{(n)}(\mu),\Delta_{g_0;\mu}^{(n)}(\mu)\right)=\begin{pmatrix} I_{\mu_1\lambda_1}^{g_0} & \cdots& 0 \\ \vdots& \ddots& \vdots\\ 0 & \cdots& I_{\mu_d\lambda_d}^{g_0} \end{pmatrix}, C μ ; λ g 0 := Cov g 0 ( Δ λ ( n ) ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) = I μ 1 λ 1 g 0 ⋮ 0 ⋯ ⋱ ⋯ 0 ⋮ I μ d λ d g 0 ,
where
I μ j μ k f 0 ; g 0 = ∫ T d ϕ j f 0 ( θ − μ ) ϕ k g 0 ( θ − μ ) g 0 ( θ − μ ) d θ , I μ j λ j g 0 = 2 π d ∫ T d sin ( θ j − μ j ) 1 + sin 2 ( θ j − μ j ) ϕ j g 0 ( θ − μ ) g 0 ( θ − μ ) d θ (17) I_{\mu_j\mu_k}^{f_0;g_0}=\int_{\mathcal{T}_d}\phi_j^{f_0}(\theta-\mu)\phi_k^{g_0}(\theta-\mu)g_0(\theta-\mu)\,\mathrm{d}\theta,\qquad I_{\mu_j\lambda_j}^{g_0}=\frac{2}{\pi d}\int_{\mathcal{T}_d}\frac{\sin(\theta_j-\mu_j)}{1+\sin^2(\theta_j-\mu_j)}\phi_j^{g_0}(\theta-\mu)g_0(\theta-\mu)\,\mathrm{d}\theta \tag*{(17)} I μ j μ k f 0 ; g 0 = ∫ T d ϕ j f 0 ( θ − μ ) ϕ k g 0 ( θ − μ ) g 0 ( θ − μ ) d θ , I μ j λ j g 0 = π d 2 ∫ T d 1 + sin 2 ( θ j − μ j ) sin ( θ j − μ j ) ϕ j g 0 ( θ − μ ) g 0 ( θ − μ ) d θ (17)
for j , k ∈ { 1 , … , d } j,k\in\{1,\ldots,d\} j , k ∈ { 1 , … , d } as well as their estimates
C ^ μ ; μ f 0 = ( I ^ μ 1 μ 1 f 0 ⋯ I ^ μ 1 μ d f 0 ⋮ ⋱ ⋮ I ^ μ d μ 1 f 0 ⋯ I ^ μ d μ d f 0 ) , C ^ μ ; λ = ( I ^ μ 1 λ 1 ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ I ^ μ d λ d ) , \widehat{C}_{\mu;\mu}^{f_0}=\begin{pmatrix} \widehat{I}_{\mu_1\mu_1}^{f_0} & \cdots& \widehat{I}_{\mu_1\mu_d}^{f_0} \\ \vdots& \ddots& \vdots\\ \widehat{I}_{\mu_d\mu_1}^{f_0} & \cdots& \widehat{I}_{\mu_d\mu_d}^{f_0} \end{pmatrix},\qquad\widehat{C}_{\mu;\lambda}=\begin{pmatrix} \widehat{I}_{\mu_1\lambda_1} & \cdots& 0 \\ \vdots& \ddots& \vdots\\ 0 & \cdots& \widehat{I}_{\mu_d\lambda_d} \end{pmatrix}, C μ ; μ f 0 = I μ 1 μ 1 f 0 ⋮ I μ d μ 1 f 0 ⋯ ⋱ ⋯ I μ 1 μ d f 0 ⋮ I μ d μ d f 0 , C μ ; λ = I μ 1 λ 1 ⋮ 0 ⋯ ⋱ ⋯ 0 ⋮ I μ d λ d ,
where
I ^ μ j μ k f 0 = 1 n ∑ i = 1 n ∂ ∂ θ k ϕ j f 0 ( θ i − μ ^ ( n ) ) , I ^ μ j λ j = 1 n π d 2 ∑ i = 1 n log ( sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) − 2 2 + 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) + 2 2 + 2 ) . (18) \widehat{I}_{\mu_j\mu_k}^{f_0}=\frac{1}{n}\sum_{i=1}^{n}\frac{\partial}{\partial\theta_k}\phi_j^{f_0}(\theta_i-\widehat{\mu}^{(n)}),\qquad\widehat{I}_{\mu_j\lambda_j}=\frac{1}{n\pi d\sqrt{2}}\sum_{i=1}^{n}\log\left(\frac{\sec^2\left((\theta_{ji}-\widehat{\mu}_j^{(n)})/2\right)-2\sqrt{2}+2}{\sec^2\left((\theta_{ji}-\widehat{\mu}_j^{(n)})/2\right)+2\sqrt{2}+2}\right). \tag*{(18)} I μ j μ k f 0 = n 1 i = 1 ∑ n ∂ θ k ∂ ϕ j f 0 ( θ i − μ ( n ) ) , I μ j λ j = nπ d 2 1 i = 1 ∑ n log sec 2 ( ( θ j i − μ j ( n ) ) /2 ) + 2 2 + 2 sec 2 ( ( θ j i − μ j ( n ) ) /2 ) − 2 2 + 2 . (18)
The quantities (17) are indeed estimates for (16) thanks to the law of large numbers and integration by parts under the measure induced by g 0 g_0 g 0 . For the link between I ^ μ j λ j \widehat{I}_{\mu_j\lambda_j} I μ j λ j and I μ j μ k g 0 I_{\mu_j\mu_k}^{g_0} I μ j μ k g 0 we remind the equality (23).
Equipped with these notations, we can develop our tests and start by optimal f 0 f_0 f 0 -parametric tests which we later render valid under g 0 g_0 g 0 . We first note that the Fisher Information matrix is not block-diagonal, meaning that asymptotically there is no independence under the null between the central sequences for skewness Δ λ ( n ) ( μ ) \Delta_{\lambda}^{(n)}(\mu) Δ λ ( n ) ( μ ) and location Δ f 0 ; μ ( n ) ( μ ) \Delta_{f_0;\mu}^{(n)}(\mu) Δ f 0 ; μ ( n ) ( μ ) . Consequently, any variation in μ \mu μ (as occurs when estimating it) induces an impact on the central sequence for skewness, which implies that we need to work with the so-called f 0 f_0 f 0 -efficient central sequence
Δ f 0 ; λ ( n ) ∗ ( μ ) = Δ λ ( n ) ( μ ) − Cov f 0 ( Δ λ ( n ) ( μ ) , Δ f 0 ; μ ( n ) ( μ ) ) Var f 0 ( Δ f 0 ; μ ( n ) ( μ ) ) − 1 Δ f 0 ; μ ( n ) ( μ ) , \Delta_{f_0;\lambda}^{(n)*}(\mu)=\Delta_{\lambda}^{(n)}(\mu)-\operatorname{Cov}_{f_0}\left(\Delta_{\lambda}^{(n)}(\mu),\Delta_{f_0;\mu}^{(n)}(\mu)\right)\operatorname{Var}_{f_0}\left(\Delta_{f_0;\mu}^{(n)}(\mu)\right)^{-1}\Delta_{f_0;\mu}^{(n)}(\mu), Δ f 0 ; λ ( n ) ∗ ( μ ) = Δ λ ( n ) ( μ ) − Cov f 0 ( Δ λ ( n ) ( μ ) , Δ f 0 ; μ ( n ) ( μ ) ) Var f 0 ( Δ f 0 ; μ ( n ) ( μ ) ) − 1 Δ f 0 ; μ ( n ) ( μ ) ,
obtained through a Gram-Schmidt orthogonalization procedure ensuring orthogonality of Δ f 0 ; λ ( n ) ∗ ( μ ) \Delta_{f_0;\lambda}^{(n)*}(\mu) Δ f 0 ; λ ( n ) ∗ ( μ ) with respect to the location central sequence Δ f 0 ; μ ( n ) ( μ ) \Delta_{f_0;\mu}^{(n)}(\mu) Δ f 0 ; μ ( n ) ( μ ) . Under f 0 f_0 f 0 , one can now replace μ \mu μ with an estimator μ ^ \widehat{\mu} μ satisfying Assumption 1 without altering the asymptotic distribution of Δ f 0 ; λ ( n ) ∗ ( μ ) \Delta_{f_0;\lambda}^{(n)*}(\mu) Δ f 0 ; λ ( n ) ∗ ( μ ) . The test statistic based on Δ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) \Delta_{f_0;\lambda}^{(n)*}(\widehat{\mu}^{(n)}) Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) , which we do not write out for the sake of space, will be optimal under f 0 f_0 f 0 but not valid under any other density g 0 g_0 g 0 . Hence, whenever the true data density g 0 g_0 g 0 differs from the assumed density f 0 f_0 f 0 , the parametric test will not work, which is why we now focus on rendering it semi-parametric. To this end, we need to modify directly the f 0 f_0 f 0 -efficient central sequence Δ f 0 ; λ ( n ) ∗ ( μ ) \Delta_{f_0;\lambda}^{(n)*}(\mu) Δ f 0 ; λ ( n ) ∗ ( μ ) . It is easy to see that Cov g 0 ( Δ f 0 ; λ ( n ) ∗ ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) ≠ 0 \operatorname{Cov}_{g_0}\left(\Delta_{f_0;\lambda}^{(n)*}(\mu),\Delta_{g_0;\mu}^{(n)}(\mu)\right)\ne0 Cov g 0 ( Δ f 0 ; λ ( n ) ∗ ( μ ) , Δ g 0 ; μ ( n ) ( μ ) ) = 0 , hence orthogonalization needs to occur under g 0 g_0 g 0 , not under f 0 f_0 f 0 . This leads to the new quantity
Δ ~ f 0 ; g 0 ; λ ( n ) ( μ ) = Δ λ ( n ) ( μ ) − C μ ; λ g 0 ( C μ ; μ f 0 ; g 0 ) − 1 Δ f 0 ; μ ( n ) ( μ ) , (19) \widetilde{\Delta}_{f_0;g_0;\lambda}^{(n)}(\mu)=\Delta_{\lambda}^{(n)}(\mu)-C_{\mu;\lambda}^{g_0}\left(C_{\mu;\mu}^{f_0;g_0}\right)^{-1}\Delta_{f_0;\mu}^{(n)}(\mu), \tag*{(19)} Δ f 0 ; g 0 ; λ ( n ) ( μ ) = Δ λ ( n ) ( μ ) − C μ ; λ g 0 ( C μ ; μ f 0 ; g 0 ) − 1 Δ f 0 ; μ ( n ) ( μ ) , (19)
which is now orthogonal to Δ g 0 ; μ ( n ) ( μ ) \Delta_{g_0;\mu}^{(n)}(\mu) Δ g 0 ; μ ( n ) ( μ ) under the null hypothesis induced by g 0 g_0 g 0 . The expression Δ ~ f 0 ; g 0 ; λ ( n ) ( μ ) \widetilde{\Delta}_{f_0;g_0;\lambda}^{(n)}(\mu) Δ f 0 ; g 0 ; λ ( n ) ( μ ) is thus the right starting point for building the desired semi-parametric tests. Replacing μ \mu μ by an adequate estimator μ ^ ( n ) \widehat{\mu}^{(n)} μ ( n ) and estimating the matrices by the estimates mentioned before yields the efficient central sequence
Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) = Δ λ ( n ) ( μ ^ ( n ) ) − C ^ μ ; λ ( C ^ μ ; μ f 0 ) − 1 Δ f 0 ; μ ( n ) ( μ ^ ( n ) ) . (20) \widetilde{\Delta}_{f_0;\lambda}^{(n)*}(\widehat{\mu}^{(n)})=\Delta_{\lambda}^{(n)}(\widehat{\mu}^{(n)})-\widehat{C}_{\mu;\lambda}\left(\widehat{C}_{\mu;\mu}^{f_0}\right)^{-1}\Delta_{f_0;\mu}^{(n)}(\widehat{\mu}^{(n)}). \tag*{(20)} Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) = Δ λ ( n ) ( μ ( n ) ) − C μ ; λ ( C μ ; μ f 0 ) − 1 Δ f 0 ; μ ( n ) ( μ ( n ) ) . (20)
In Proposition 2 below we show that the asymptotic behavior of Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) \widetilde{\Delta}_{f_0;\lambda}^{(n)*}(\widehat{\mu}^{(n)}) Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) can be derived from that of Δ ~ f 0 ; g 0 ; λ ( n ) ( μ ) \widetilde{\Delta}_{f_0;g_0;\lambda}^{(n)}(\mu) Δ f 0 ; g 0 ; λ ( n ) ( μ ) . This naturally brings us to build a most efficient test statistic on a quadratic product involving Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) \widetilde{\Delta}_{f_0;\lambda}^{(n)*}(\widehat{\mu}^{(n)}) Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) and a quantity that estimates the variance of Δ ~ f 0 ; g 0 ; λ ( μ ) \widetilde{\Delta}_{f_0;g_0;\lambda}(\mu) Δ f 0 ; g 0 ; λ ( μ ) under g 0 g_0 g 0 , denoted by V g 0 f 0 ( μ ) V^{f_0}_{g_0}(\mu) V g 0 f 0 ( μ ) . Such an estimate is given by
V ^ f 0 ( μ ^ ( n ) ) = 1 n ∑ i = 1 n Δ ~ f 0 ; λ ; i ( n ) ∗ ( μ ^ ( n ) ) Δ ~ f 0 ; λ ; i ( n ) ∗ ( μ ^ ( n ) ) T (21) \widehat{V}_{f_0}\left(\widehat{\mu}^{(n)}\right)=\frac{1}{n}\sum_{i=1}^{n}\widetilde{\Delta}^{(n)*}_{f_0;\lambda;i}\left(\widehat{\mu}^{(n)}\right)\widetilde{\Delta}^{(n)*}_{f_0;\lambda;i}\left(\widehat{\mu}^{(n)}\right)^{\mathsf{T}} \tag*{(21)} V f 0 ( μ ( n ) ) = n 1 i = 1 ∑ n Δ f 0 ; λ ; i ( n ) ∗ ( μ ( n ) ) Δ f 0 ; λ ; i ( n ) ∗ ( μ ( n ) ) T (21)
for Δ ~ f 0 ; λ ; i ( n ) ∗ ( μ ^ ( n ) ) \widetilde{\Delta}^{(n)*}_{f_0;\lambda;i}\left(\widehat{\mu}^{(n)}\right) Δ f 0 ; λ ; i ( n ) ∗ ( μ ( n ) ) defined via
Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) = 1 n ∑ i = 1 n Δ ~ f 0 ; λ ; i ( n ) ∗ ( μ ^ ( n ) ) . \widetilde{\Delta}^{(n)*}_{f_0;\lambda}\left(\widehat{\mu}^{(n)}\right)=\frac{1}{\sqrt{n}}\sum_{i=1}^{n}\widetilde{\Delta}^{(n)*}_{f_0;\lambda;i}\left(\widehat{\mu}^{(n)}\right). Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) = n 1 i = 1 ∑ n Δ f 0 ; λ ; i ( n ) ∗ ( μ ( n ) ) .
Proposition 2. Suppose that f 0 , g 0 ∈ F ∩ H f_0,g_0\in\mathcal{F}\cap\mathcal{H} f 0 , g 0 ∈ F ∩ H and that Assumption 1 holds. Then, for j , k ∈ { 1 , … , d } j,k\in\{1,\ldots,d\} j , k ∈ { 1 , … , d } , it holds that
(i) I μ j λ j g 0 − I ^ μ j λ j = o P ( 1 ) I^{g_0}_{\mu_j\lambda_j}-\widehat{I}_{\mu_j\lambda_j}=o_P(1) I μ j λ j g 0 − I μ j λ j = o P ( 1 ) , as defined in (16) and (17);
(ii) I μ j μ k f 0 ; g 0 − I ^ μ j μ k f 0 = o P ( 1 ) I^{f_0;g_0}_{\mu_j\mu_k}-\widehat{I}^{f_0}_{\mu_j\mu_k}=o_P(1) I μ j μ k f 0 ; g 0 − I μ j μ k f 0 = o P ( 1 ) , as defined in (16) and (17);
(iii) Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) − Δ ~ f 0 ; g 0 ; λ ( n ) ( μ ) = o P ( 1 ) 1 d × 1 \widetilde{\Delta}^{(n)*}_{f_0;\lambda}\left(\widehat{\mu}^{(n)}\right)-\widetilde{\Delta}^{(n)}_{f_0;g_0;\lambda}(\mu)=o_P(1)\mathbf{1}_{d\times1} Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) − Δ f 0 ; g 0 ; λ ( n ) ( μ ) = o P ( 1 ) 1 d × 1 , as defined in (18) and (19);
(iv) V ^ f 0 ( μ ^ ( n ) ) − V g 0 f 0 ( μ ) = o P ( 1 ) 1 d × d \widehat{V}_{f_0}\left(\widehat{\mu}^{(n)}\right)-V^{f_0}_{g_0}(\mu)=o_P(1)\mathbf{1}_{d\times d} V f 0 ( μ ( n ) ) − V g 0 f 0 ( μ ) = o P ( 1 ) 1 d × d , as defined in (20),
as n → ∞ n\to\infty n → ∞ under P μ , 0 ; g 0 ( n ) P^{(n)}_{\mu,0;g_0} P μ , 0 ; g 0 ( n ) , where 1 n × m \mathbf{1}_{n\times m} 1 n × m is the n × m n\times m n × m matrix of ones.
Elements of this proof are given in Section 6. Proposition 2 is crucial in establishing the final semi-parametric test statistic and its asymptotic properties, as done in the following result.
Theorem 7. We define the test statistic
Q f 0 ∗ ( n ) : = ( Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) ) T ( V ^ f 0 ( μ ^ ( n ) ) ) − 1 Δ ~ f 0 ; λ ( n ) ∗ ( μ ^ ( n ) ) Q^{*(n)}_{f_0}:=\left(\widetilde{\Delta}^{(n)*}_{f_0;\lambda}\left(\widehat{\mu}^{(n)}\right)\right)^{\mathsf{T}}\left(\widehat{V}_{f_0}\left(\widehat{\mu}^{(n)}\right)\right)^{-1}\widetilde{\Delta}^{(n)*}_{f_0;\lambda}\left(\widehat{\mu}^{(n)}\right) Q f 0 ∗ ( n ) := ( Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) ) T ( V f 0 ( μ ( n ) ) ) − 1 Δ f 0 ; λ ( n ) ∗ ( μ ( n ) ) and let ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) denote the test that rejects H 0 ( n ) \mathcal{H}^{(n)}_0 H 0 ( n ) at asymptotic level α \alpha α whenever the statistic Q f 0 ∗ ( n ) > χ d ; α 2 Q^{*(n)}_{f_0}>\chi^2_{d;\alpha} Q f 0 ∗ ( n ) > χ d ; α 2 . Considering f 0 , g 0 ∈ F ∩ H f_0,g_0\in\mathcal{F}\cap\mathcal{H} f 0 , g 0 ∈ F ∩ H and working under Assumption 1, the following hold:
(i) Under H 0 ( n ) \mathcal{H}^{(n)}_0 H 0 ( n ) ,
Q f 0 ∗ ( n ) → D χ d 2 Q^{*(n)}_{f_0}\xrightarrow{\mathcal{D}}\chi^2_d Q f 0 ∗ ( n ) D χ d 2 as n → ∞ n\to\infty n → ∞ , so that the test ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) has asymptotic level α \alpha α under the same hypothesis.
(ii) Under ⋃ μ ∈ T d P μ , n − 1 / 2 τ λ ( n ) ; g 0 ( n ) \bigcup_{\mu\in\mathbb{T}_d}P^{(n)}_{\mu,n^{-1/2}\tau_\lambda^{(n)};g_0} ⋃ μ ∈ T d P μ , n − 1/2 τ λ ( n ) ; g 0 ( n ) ,
Q f 0 ∗ ( n ) → D χ d 2 ( τ λ T C g 0 f 0 ( μ ) V g 0 f 0 ( μ ) − 1 C g 0 f 0 ( μ ) τ λ ) Q^{*(n)}_{f_0}\xrightarrow{\mathcal{D}}\chi^2_d\left(\tau_\lambda^{\mathsf{T}}C^{f_0}_{g_0}(\mu)V^{f_0}_{g_0}(\mu)^{-1}C^{f_0}_{g_0}(\mu)\tau_\lambda\right) Q f 0 ∗ ( n ) D χ d 2 ( τ λ T C g 0 f 0 ( μ ) V g 0 f 0 ( μ ) − 1 C g 0 f 0 ( μ ) τ λ ) as n → ∞ n\to\infty n → ∞ with τ λ = lim n → ∞ τ λ ( n ) \tau_\lambda=\lim_{n\to\infty}\tau_\lambda^{(n)} τ λ = lim n → ∞ τ λ ( n ) and C g 0 f 0 ( μ ) = Cov g 0 ( Δ ~ f 0 ; g 0 ; λ ( n ) ( μ ) , Δ λ ( n ) ( μ ) ) C^{f_0}_{g_0}(\mu)=\operatorname{Cov}_{g_0}\left(\widetilde{\Delta}^{(n)}_{f_0;g_0;\lambda}(\mu),\Delta^{(n)}_{\lambda}(\mu)\right) C g 0 f 0 ( μ ) = Cov g 0 ( Δ f 0 ; g 0 ; λ ( n ) ( μ ) , Δ λ ( n ) ( μ ) ) .
(iii) The test ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) is locally and asymptotically maximin at level α \alpha α when testing H 0 ( n ) \mathcal{H}^{(n)}_0 H 0 ( n ) against ⋃ μ ∈ T d P μ , n − 1 / 2 τ λ ( n ) ; f 0 ( n ) \bigcup_{\mu\in\mathbb{T}_d}P^{(n)}_{\mu,n^{-1/2}\tau_\lambda^{(n)};f_0} ⋃ μ ∈ T d P μ , n − 1/2 τ λ ( n ) ; f 0 ( n ) .
The proof of this theorem is left to the reader (see the proof of Theorem 4.3 of [4 ] ). We obtain a different test ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) for each density f 0 f_0 f 0 it is based on, and each test is valid under the entire null hypothesis H 0 ( n ) \mathcal{H}^{(n)}_0 H 0 ( n ) . Thanks to our result on Fisher Information singularity for arctan-skewing (see Theorem 1), we know that we can use any density f 0 f_0 f 0 from the literature without running into any issues, which is one of the main shortcomings of sine-skewing where optimal tests should not be based on f 0 f_0 f 0 being the von Mises or the Cosine density, for instance (see [4 ] and [39 ] ). This is a further advantage of our arctan-skewing compared to sine-skewing.
Real data analysis
In this section, we compare our arctan-skewing scheme to sine-skewing in terms of fitting real data. The chosen dataset includes data from the protein folding problem, which involves predicting the three-dimensional structure of a protein using the sequence of amino acids that make up the protein. This is an important and challenging problem with implications to vaccine and medicine development. Proteins are made up of amino acids, which in turn are made up of the backbone and the sidechains. In this analysis, we only focus on the backbone but one could also consider the angles formed in the sidechains. The backbone consists of two flexible chemical bonds, NH-Cα \alpha α and Cα \alpha α -CO, where Cα \alpha α denotes the central Carbon atom. The angle that can be found at the beginning of each residue is the NH-Cα \alpha α torsion angle, denoted by ϕ \phi ϕ and at the end is the Cα \alpha α -CO torsion angle, denoted by ψ \psi ψ . These angles need to be studied as specific combinations of them allow the favourable hydrogen bonding patterns, while others can ‘result in clashes within the backbone or between adjacent sidechains’ [17 ] . The dihedral angles ϕ \phi ϕ , ψ \psi ψ form data on the two-dimensional torus and [4 ] showed that such data are not symmetric, hence are best modelled with asymmetric toroidal distributions.
For the present data analysis, we consider position 55 at 2000 randomly selected times in the molecular dynamic trajectory of the SARS-CoV-2 spike domain from [13 ] . The position occurs in α \alpha α -helix throughout the trajectory. Since we only use data from an α \alpha α -helix, the data used have a unique mode and need not be modelled by a mixture model. Applying our test ϕ f 0 ∗ ( n ) \phi_{f_0}^{*(n)} ϕ f 0 ∗ ( n ) using the Sine distribution as f 0 f_0 f 0 , with various combinations of κ 1 \kappa_1 κ 1 , κ 2 \kappa_2 κ 2 and ρ \rho ρ , rejects the null hypothesis of symmetry at the 5% level of significance. Applying the same test with the Cosine model gives a p-value of around 0.06-0.07 for different values of the parameters, thus we can reject the null hypothesis at the 10% level but not at 5%. The bwC model is not used as the data is likely too concentrated for the heavy tails of the bwC distribution. Our evidence for asymmetry confirms the conclusion of [4 ] when using 2 dihedral angles instead of 3. Thus, we compute the fit of skewed models on our data, and more specifically we compare the arctan-skewed and sine-skewed versions of the bwC, Sine and Cosine models in Table 1 . We provide the maximum likelihood estimates of all parameters along with the value of the log-likelihood. Since all models have the same number of parameters, there is no need to give the Akaike or Bayesian Information Criteria and we compare the fitting capacity of the different models in terms of the log-likelihood: the higher the better. We see that for each symmetric density, its arctan-skewed version provides a better fit than the sine-skewed version. We observe that for the bwC and the Sine models, the sine-skewed version reaches the limit of the parameter space for the skewness parameter, meaning that ∣ λ 1 ∣ + ∣ λ 2 ∣ = 1 |\lambda_1| + |\lambda_2| = 1 ∣ λ 1 ∣ + ∣ λ 2 ∣ = 1 . The overall best fit is given by the arctan-skewed Sine model. The skewness for each component corresponding to this model is given by S 1 = 0.36 S_1 = 0.36 S 1 = 0.36 and S 2 = − 0.46 S_2 = -0.46 S 2 = − 0.46 . The dependence between ϕ \phi ϕ and ψ \psi ψ is given by ρ F L = − 0.83 \rho_{\mathrm{FL}} = -0.83 ρ FL = − 0.83 , where we focus on the signed correlation coefficient ρ F L \rho_{\mathrm{FL}} ρ FL . We note that both the skewness direction as well as the negative correlation correspond to what we observe visually, see Figure 3 which also illustrates the good fit of the arctan-skewed Sine model. We notice the bad fit provided by any skewed version of the bwC model. This is due to the fact that the bwC is not suitable for light tails, as already mentioned.
Table 1. Maximum likelihood estimates of the parameters of the bivariate wrapped Cauchy, Sine and Cosine models combined with arctan- or sine-skewing mechanisms, along with the resulting log-likelihood values. In boldface we indicate the best-fitting model.
Figure 3. Contour plots of the best-fitting arctan-skewed Sine density with parameters μ ^ 1 = 1.85 \hat{\mu}_1 = 1.85 μ ^ 1 = 1.85 , μ ^ 2 = 2.93 \hat{\mu}_2 = 2.93 μ ^ 2 = 2.93 , κ ^ 1 = 33.49 \hat{\kappa}_1 = 33.49 κ ^ 1 = 33.49 , κ ^ 2 = 20.80 \hat{\kappa}_2 = 20.80 κ ^ 2 = 20.80 , ρ ^ = − 15.83 \hat{\rho} = -15.83 ρ ^ = − 15.83 and skewness parameters λ ^ 1 = 8.15 \hat{\lambda}_1 = 8.15 λ ^ 1 = 8.15 λ ^ 2 = − 7.51 \hat{\lambda}_2 = -7.51 λ ^ 2 = − 7.51 . Plots without (left) and with (right) the data points are provided.
Discussion
In this paper, we have proposed the arctan-skewing scheme, an alternative to sine-skewing that retains the latter’s advantages while overcoming its main shortcomings, namely the restriction imposed on the skewness parameter and the singularity of the Fisher Information matrix in the vicinity of symmetry when sine-skewing is combined with some of the most popular symmetric densities f 0 f_0 f 0 from the literature like the circular von Mises or bivariate Cosine models. Removing the information singularity issue also entails the advantage that the optimal tests for symmetry we have built in this paper can be based on any density f 0 f_0 f 0 from the literature, unlike for the tests built in [4 ] which are optimal against sine-skewing. The real data analysis on protein data moreover revealed a superior fit of arctan-skewing over sine-skewing. Our arctan-skewing scheme therefore provides a compelling alternative to sine-skewing.
Technical details
Proof of Theorem 1. The Fisher Information Matrix I f 0 I_{f_0} I f 0 for any symmetric distribution f 0 f_0 f 0 subject to the arctan-skewing is given by
I f 0 = E [ S f 0 ( S f 0 ) T ] . I_{f_0} = \mathbb{E}\left[S_{f_0}\left(S_{f_0}\right)^{\mathsf{T}}\right]. I f 0 = E [ S f 0 ( S f 0 ) T ] .
with S f 0 S_{f_0} S f 0 the notation for the score function evaluated in the vicinity of symmetry. The matrix I f 0 I_{f_0} I f 0 is singular if and only if the components of S f 0 S_{f_0} S f 0 are linearly dependent. Immediate calculations yield that the score function of (3) in the vicinity of symmetry corresponds to
S f 0 = ( − ∂ ∂ θ 1 f 0 ( θ − μ ) f 0 ( θ − μ ) , … , − ∂ ∂ θ d f 0 ( θ − μ ) f 0 ( θ − μ ) , 2 π d sin ( θ 1 − μ 1 ) 1 + sin 2 ( θ 1 − μ 1 ) , … , 2 π d sin ( θ d − μ d ) 1 + sin 2 ( θ d − μ d ) ) T . (22) S_{f_0} = \left(-\frac{\frac{\partial}{\partial\theta_1}f_0(\boldsymbol{\theta}-\boldsymbol{\mu})}{f_0(\boldsymbol{\theta}-\boldsymbol{\mu})},\ldots,-\frac{\frac{\partial}{\partial\theta_d}f_0(\boldsymbol{\theta}-\boldsymbol{\mu})}{f_0(\boldsymbol{\theta}-\boldsymbol{\mu})},\frac{2}{\pi d}\frac{\sin(\theta_1-\mu_1)}{1+\sin^2(\theta_1-\mu_1)},\ldots,\frac{2}{\pi d}\frac{\sin(\theta_d-\mu_d)}{1+\sin^2(\theta_d-\mu_d)}\right)^{\mathsf{T}}. \tag*{(22)} S f 0 = ( − f 0 ( θ − μ ) ∂ θ 1 ∂ f 0 ( θ − μ ) , … , − f 0 ( θ − μ ) ∂ θ d ∂ f 0 ( θ − μ ) , π d 2 1 + sin 2 ( θ 1 − μ 1 ) sin ( θ 1 − μ 1 ) , … , π d 2 1 + sin 2 ( θ d − μ d ) sin ( θ d − μ d ) ) T . (22)
For the rest of the proof, we set μ = 0 \boldsymbol{\mu} = 0 μ = 0 without loss of generality, for notational convenience. Therefore, the Fisher Information matrix is singular if and only if there exist real coefficients α 1 , … , α d , β 1 , … , β d \alpha_1,\ldots,\alpha_d,\beta_1,\ldots,\beta_d α 1 , … , α d , β 1 , … , β d not all equal to 0 satisfying
− ∑ i = 1 d α i ∂ ∂ θ i f 0 ( θ ) f 0 ( θ ) + 2 π d ∑ i = 1 d β i sin θ i 1 + sin 2 θ i = 0 -\sum_{i=1}^{d}\alpha_i\frac{\frac{\partial}{\partial\theta_i}f_0(\boldsymbol{\theta})}{f_0(\boldsymbol{\theta})}+\frac{2}{\pi d}\sum_{i=1}^{d}\beta_i\frac{\sin\theta_i}{1+\sin^2\theta_i}=0 − i = 1 ∑ d α i f 0 ( θ ) ∂ θ i ∂ f 0 ( θ ) + π d 2 i = 1 ∑ d β i 1 + sin 2 θ i sin θ i = 0
which can be re-written as
∑ i = 1 d α i ∂ ∂ θ i f 0 ( θ ) = 2 π d f 0 ( θ ) ∑ i = 1 d β i sin θ i 1 + sin 2 θ i . (23) \sum_{i=1}^{d}\alpha_i\frac{\partial}{\partial\theta_i}f_0(\boldsymbol{\theta})=\frac{2}{\pi d}f_0(\boldsymbol{\theta})\sum_{i=1}^{d}\beta_i\frac{\sin\theta_i}{1+\sin^2\theta_i}. \tag*{(23)} i = 1 ∑ d α i ∂ θ i ∂ f 0 ( θ ) = π d 2 f 0 ( θ ) i = 1 ∑ d β i 1 + sin 2 θ i sin θ i . (23)
Our goal is to solve the partial differential equation (PDE) (22) with the initial condition θ = θ 0 \boldsymbol{\theta}=\boldsymbol{\theta}_0 θ = θ 0 , using the method of characteristics (for more details see [35 ] ). Note that if α 1 = … = α d = 0 \alpha_1=\ldots=\alpha_d=0 α 1 = … = α d = 0 , then (22) cannot hold for all θ ∈ T d \boldsymbol{\theta}\in\mathbb{T}_d θ ∈ T d , so we require at least one α i ≠ 0 \alpha_i\ne0 α i = 0 . The transport structure of this PDE leads to a family of curves, known as the characteristic curves, along which the PDE (22) reduces to an ODE. Those curves are classically defined by integrating the transport coefficients, and are here given by
∂ ∂ t φ ( t , θ 0 ) = α . \frac{\partial}{\partial t}\varphi(t,\boldsymbol{\theta}_0)=\boldsymbol{\alpha}. ∂ t ∂ φ ( t , θ 0 ) = α .
Combining this with the initial condition φ ( 0 , θ 0 ) = θ 0 \varphi(0,\boldsymbol{\theta}_0)=\boldsymbol{\theta}_0 φ ( 0 , θ 0 ) = θ 0 , the characteristic curves are the straight lines given by
φ ( t , θ 0 ) = θ 0 + t α . \varphi(t,\boldsymbol{\theta}_0)=\boldsymbol{\theta}_0+t\boldsymbol{\alpha}. φ ( t , θ 0 ) = θ 0 + t α .
Next, in order to simplify the PDE (23) by absorbing its right-hand side, we define
h 0 ( θ ) = f 0 ( θ ) exp ( − 2 π d 2 ∑ i = 1 d β i α i log ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) ) = f 0 ( θ ) exp ( log ( ∏ i = 1 d ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) − β i 2 π d α i ) ) = f 0 ( θ ) ∏ i = 1 d ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) − β i 2 π d α i = f 0 ( θ ) ∏ i = 1 d ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) δ i . \begin{aligned}
h_0(\theta) &= f_0(\theta)\exp\left(-\frac{2}{\pi d\sqrt{2}}\sum_{i=1}^{d}\frac{\beta_i}{\alpha_i}\log\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)\right) \\
&= f_0(\theta)\exp\left(\log\left(\prod_{i=1}^{d}\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)^{-\frac{\beta_i}{\sqrt{2}\pi d\alpha_i}}\right)\right) \\
&= f_0(\theta)\prod_{i=1}^{d}\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)^{-\frac{\beta_i}{\sqrt{2}\pi d\alpha_i}}
= f_0(\theta)\prod_{i=1}^{d}\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)^{\delta_i}.
\end{aligned} h 0 ( θ ) = f 0 ( θ ) exp ( − π d 2 2 i = 1 ∑ d α i β i log ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) ) = f 0 ( θ ) exp log i = 1 ∏ d ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) − 2 π d α i β i = f 0 ( θ ) i = 1 ∏ d ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) − 2 π d α i β i = f 0 ( θ ) i = 1 ∏ d ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) δ i .
where
δ i = { − β i 2 π d α i α i ≠ 0 , − β i 2 π d α i = 0. \delta_i =
\begin{cases}
-\dfrac{\beta_i}{\sqrt{2}\pi d\alpha_i} & \alpha_i \ne0,\\
-\dfrac{\beta_i}{\sqrt{2}\pi d} & \alpha_i = 0.
\end{cases} δ i = ⎩ ⎨ ⎧ − 2 π d α i β i − 2 π d β i α i = 0 , α i = 0.
We note that
d d θ i log ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) = 2 2 sin θ i 1 + sin 2 θ i . (24) \frac{d}{d\theta_i}\log\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)=\frac{2\sqrt{2}\sin\theta_i}{1+\sin^2\theta_i}. \tag*{(24)} d θ i d log ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) = 1 + sin 2 θ i 2 2 sin θ i . (24)
Solving (23) is equivalent to solving the homogeneous PDE
∑ i = 1 d α i ∂ h 0 ( θ ) ∂ θ i = ∑ i = 1 d α i ∂ f 0 ( θ ) ∂ θ i exp ( − 1 2 π d ∑ i = 1 d β i α i log ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) ) − f 0 ( θ ) ∑ i = 1 d 2 β i π d sin θ i 1 + sin 2 θ i exp ( − 1 2 π d ∑ i = 1 d β i α i log ( sec 2 ( θ i 2 ) − 2 2 + 2 sec 2 ( θ i 2 ) + 2 2 + 2 ) ) = 0. (25) \sum_{i=1}^{d}\alpha_i\frac{\partial h_0(\theta)}{\partial\theta_i}=\sum_{i=1}^{d}\alpha_i\frac{\partial f_0(\theta)}{\partial\theta_i}\exp\left(-\frac{1}{\sqrt{2}\pi d}\sum_{i=1}^{d}\frac{\beta_i}{\alpha_i}\log\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)\right)
-f_0(\theta)\sum_{i=1}^{d}\frac{2\beta_i}{\pi d}\frac{\sin\theta_i}{1+\sin^2\theta_i}\exp\left(-\frac{1}{\sqrt{2}\pi d}\sum_{i=1}^{d}\frac{\beta_i}{\alpha_i}\log\left(\frac{\sec^2\left(\frac{\theta_i}{2}\right)-2\sqrt{2}+2}{\sec^2\left(\frac{\theta_i}{2}\right)+2\sqrt{2}+2}\right)\right)=0. \tag*{(25)} i = 1 ∑ d α i ∂ θ i ∂ h 0 ( θ ) = i = 1 ∑ d α i ∂ θ i ∂ f 0 ( θ ) exp ( − 2 π d 1 i = 1 ∑ d α i β i log ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) ) − f 0 ( θ ) i = 1 ∑ d π d 2 β i 1 + sin 2 θ i sin θ i exp ( − 2 π d 1 i = 1 ∑ d α i β i log ( sec 2 ( 2 θ i ) + 2 2 + 2 sec 2 ( 2 θ i ) − 2 2 + 2 ) ) = 0. (25)
We then derive the simple ODE verified by the solution of this transport problem along the characteristic curves:
∂ h 0 ( φ ( t , θ 0 ) ) ∂ t = ∑ i = 1 d ∂ h 0 ∂ θ i ( φ ( t , θ 0 ) ) ⋅ ∂ ( θ 0 + t α ) ∂ t = ∑ i = 1 d α i ∂ h 0 ∂ θ i ( φ ( t , θ 0 ) ) . \frac{\partial h_0(\varphi(t,\theta_0))}{\partial t}
=\sum_{i=1}^{d}\frac{\partial h_0}{\partial\theta_i}(\varphi(t,\theta_0))\cdot\frac{\partial(\theta_0+t\alpha)}{\partial t}
=\sum_{i=1}^{d}\alpha_i\frac{\partial h_0}{\partial\theta_i}(\varphi(t,\theta_0)). ∂ t ∂ h 0 ( φ ( t , θ 0 )) = i = 1 ∑ d ∂ θ i ∂ h 0 ( φ ( t , θ 0 )) ⋅ ∂ t ∂ ( θ 0 + t α ) = i = 1 ∑ d α i ∂ θ i ∂ h 0 ( φ ( t , θ 0 )) .
Reminding its equivalent formulation (25) , the PDE (23) is true if and only if for all t , θ 0 t,\theta_0 t , θ 0 ,
∂ h 0 ( φ ( t , θ 0 ) ) ∂ t = 0 , \frac{\partial h_0(\varphi(t,\theta_0))}{\partial t}=0, ∂ t ∂ h 0 ( φ ( t , θ 0 )) = 0 ,
namely if h 0 h_0 h 0 is constant along each characteristic curve. This holds if and only if there exist α i ≠ 0 \alpha_i\ne0 α i = 0 such that, for all t ∈ R t\in\mathbb{R} t ∈ R and θ 0 ∈ T d \theta_0\in\mathbb{T}^d θ 0 ∈ T d , we have h 0 ( θ 0 + t α ) = h 0 ( θ 0 ) h_0(\theta_0+t\alpha)=h_0(\theta_0) h 0 ( θ 0 + t α ) = h 0 ( θ 0 ) .
Proof of Theorem 2. Under the condition that f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) f_0(\theta_m,\theta_{m^c})=f_0(\theta_m,-\theta_{m^c}) f 0 ( θ m , θ m c ) = f 0 ( θ m , − θ m c ) , it holds that
f m ( θ m ) = ∫ T d f 0 ( θ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) + 2 π d ∑ i ∈ m c ∫ − π π ⋯ ∫ − π π f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) + 2 π d ∑ i ∈ m c ∫ 0 π ⋯ ∫ 0 π f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ m c + 2 π d ∑ i ∈ m c ∫ 0 π ⋯ ∫ 0 π f 0 ( θ m , − θ m c ) arctan ( λ i sin ( − θ i ) 1 + sin 2 ( − θ i ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) . \begin{aligned}
f_m(\theta_m)
&=\int_{\mathbb{T}_d}f_0(\theta)\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)\,d\theta_{m^c}\\
&=f_{0;m}(\theta_m)\left(1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)\\
&\quad+\frac{2}{\pi d}\sum_{i\in m^c}\int_{-\pi}^{\pi}\cdots\int_{-\pi}^{\pi}f_0(\theta)\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\,d\theta_{m^c}\\
&=f_{0;m}(\theta_m)\left(1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)\\
&\quad+\frac{2}{\pi d}\sum_{i\in m^c}\int_{0}^{\pi}\cdots\int_{0}^{\pi}f_0(\theta)\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\,d\theta_{m^c}\\
&\quad+\frac{2}{\pi d}\sum_{i\in m^c}\int_{0}^{\pi}\cdots\int_{0}^{\pi}f_0(\theta_m,-\theta_{m^c})\arctan\left(\frac{\lambda_i\sin(-\theta_i)}{1+\sin^2(-\theta_i)}\right)\,d\theta_{m^c}\\
&=f_{0;m}(\theta_m)\left(1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right).
\end{aligned} f m ( θ m ) = ∫ T d f 0 ( θ ) ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + π d 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) + π d 2 i ∈ m c ∑ ∫ − π π ⋯ ∫ − π π f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + π d 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) + π d 2 i ∈ m c ∑ ∫ 0 π ⋯ ∫ 0 π f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ m c + π d 2 i ∈ m c ∑ ∫ 0 π ⋯ ∫ 0 π f 0 ( θ m , − θ m c ) arctan ( 1 + sin 2 ( − θ i ) λ i sin ( − θ i ) ) d θ m c = f 0 ; m ( θ m ) ( 1 + π d 2 i ∈ m ∑ arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) .
Proof of Theorem 3. Straightforward calculations yield
f m ∣ m c ( θ m ∣ θ m c ) = f ( θ ) f m c ( θ m c ) = f 0 ( θ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) f 0 ; m c ( θ m c ) ( 1 + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) 1 + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) ( 1 + 2 π d ∑ i ∈ m arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) 1 + 2 π d ∑ i ∈ m c arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) . \begin{aligned}
f_{m\mid m^c}(\theta_m\mid\theta_{m^c})=\frac{f(\theta)}{f_{m^c}(\theta_{m^c})}=\frac{f_0(\theta)\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)}{f_{0;m^c}(\theta_{m^c})\left(1+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)} \\
&=f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c})\frac{1+\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}{1+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)} \\
&=f_{0;m\mid m^c}(\theta_m\mid\theta_{m^c})\left(1+\frac{\frac{2}{\pi d}\sum_{i\in m}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}{1+\frac{2}{\pi d}\sum_{i\in m^c}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)}\right).
\end{aligned} f m ∣ m c ( θ m ∣ θ m c ) = f m c ( θ m c ) f ( θ ) = f 0 ; m c ( θ m c ) ( 1 + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) ) f 0 ( θ ) ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) 1 + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) 1 + π d 2 ∑ i ∈ m arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) = f 0 ; m ∣ m c ( θ m ∣ θ m c ) 1 + 1 + π d 2 ∑ i ∈ m c arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) π d 2 ∑ i ∈ m arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) .
Proof of Theorem 4. Simple manipulations yield
α p = E [ cos ( p T Θ ) ] = ∫ T d cos ( p T θ ) f ( θ ) d θ = ∫ T d cos ( p T θ ) f 0 ( θ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) d θ = ∫ T d cos ( p T θ ) f 0 ( θ ) d θ + 2 π d ∑ i = 1 d ∫ T d cos ( p T θ ) f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ = α p 0 \begin{aligned}
\alpha_p=\mathbb{E}[\cos(\mathbf{p}^{\mathsf{T}}\boldsymbol{\Theta})]=\int_{\mathcal{T}_d}\cos(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f(\boldsymbol{\theta})\mathrm{d}\boldsymbol{\theta} \\
&=\int_{\mathcal{T}_d}\cos(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)\mathrm{d}\boldsymbol{\theta} \\
&=\int_{\mathcal{T}_d}\cos(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\mathrm{d}\boldsymbol{\theta}+\frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\cos(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\mathrm{d}\boldsymbol{\theta}=\alpha_p^0
\end{aligned} α p = E [ cos ( p T Θ )] = ∫ T d cos ( p T θ ) f ( θ ) d θ = ∫ T d cos ( p T θ ) f 0 ( θ ) ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) d θ = ∫ T d cos ( p T θ ) f 0 ( θ ) d θ + π d 2 i = 1 ∑ d ∫ T d cos ( p T θ ) f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ = α p 0
where the last equality follows from integrating an odd function over a symmetric domain. With a similar reasoning we obtain
β p = E [ sin ( p T Θ ) ] = ∫ T d sin ( p T θ ) f ( θ ) d θ = ∫ T d sin ( p T θ ) f 0 ( θ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) ) d θ = ∫ T d sin ( p T θ ) f 0 ( θ ) d θ + 2 π d ∑ i = 1 d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ = 2 π d ∑ i = 1 d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) d θ (26) \begin{aligned}
\beta_p=\mathbb{E}[\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\Theta})]=\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f(\boldsymbol{\theta})\mathrm{d}\boldsymbol{\theta} \\
&=\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\right)\mathrm{d}\boldsymbol{\theta} \\
&=\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\mathrm{d}\boldsymbol{\theta}+\frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\mathrm{d}\boldsymbol{\theta} \\
&=\frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\boldsymbol{\theta})f_0(\boldsymbol{\theta})\arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)\mathrm{d}\boldsymbol{\theta} \tag*{(26)}
\end{aligned} β p = E [ sin ( p T Θ )] = ∫ T d sin ( p T θ ) f ( θ ) d θ = ∫ T d sin ( p T θ ) f 0 ( θ ) ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) ) d θ = ∫ T d sin ( p T θ ) f 0 ( θ ) d θ + π d 2 i = 1 ∑ d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ = π d 2 i = 1 ∑ d ∫ T d sin ( p T θ ) f 0 ( θ ) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) d θ (26)
Using Fourier sine series, we can rewrite
arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) = ∑ n = 1 ∞ b n ( λ i ) sin ( n θ i ) \arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right)=\sum_{n=1}^{\infty}b_n(\lambda_i)\sin(n\theta_i) arctan ( 1 + sin 2 ( θ i ) λ i sin ( θ i ) ) = n = 1 ∑ ∞ b n ( λ i ) sin ( n θ i )
for b n ( λ i ) b_n(\lambda_i) b n ( λ i ) as in (11) since arctan ( λ i sin ( θ i ) 1 + sin 2 ( θ i ) ) \arctan\left(\frac{\lambda_i\sin(\theta_i)}{1+\sin^2(\theta_i)}\right) arctan ( 1 + s i n 2 ( θ i ) λ i s i n ( θ i ) ) is odd and periodic on T 1 \mathcal{T}_1 T 1 . With this in hand (26) turns into
β p = 2 π d ∑ i = 1 d ∫ T d sin ( p T θ ) f 0 ( θ ) ∑ n = 1 ∞ b n ( λ i ) sin ( n θ i ) d θ = 2 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ∫ T d sin ( p T θ ) f 0 ( θ ) sin ( n θ i ) d θ = 2 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ∫ T d 1 2 ( cos ( p 1 θ 1 + ⋯ + p i − 1 θ i − 1 + ( p i − n ) θ i + p i + 1 θ i + 1 + ⋯ + p d θ d ) − cos ( p 1 θ 1 + ⋯ + p i − 1 θ i − 1 + ( p i + n ) θ i + p i + 1 θ i + 1 + ⋯ + p d θ d ) ) f 0 ( θ ) d θ = 1 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ( α [ p 1 , … , p i − 1 , p i − n , p i + 1 , … , p d ] 0 − α [ p 1 , … , p i − 1 , p i + n , p i + 1 , … , p d ] 0 ) = 1 π d ∑ i = 1 d ∑ n = 1 ∞ b n ( λ i ) ( α p − n e i 0 − α p + n e i 0 ) , \begin{aligned}
\beta_p &= \frac{2}{\pi d}\sum_{i=1}^{d}\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\theta)f_0(\theta)\sum_{n=1}^{\infty}b_n(\lambda_i)\sin(n\theta_i)\,\mathrm{d}\theta\\
&= \frac{2}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\int_{\mathcal{T}_d}\sin(\mathbf{p}^{\mathsf{T}}\theta)f_0(\theta)\sin(n\theta_i)\,\mathrm{d}\theta\\
&= \frac{2}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\int_{\mathcal{T}_d}\frac{1}{2}\left(\cos(p_1\theta_1+\cdots+p_{i-1}\theta_{i-1}+(p_i-n)\theta_i+p_{i+1}\theta_{i+1}+\cdots+p_d\theta_d)\right.\\
&\qquad\qquad\left.-\cos(p_1\theta_1+\cdots+p_{i-1}\theta_{i-1}+(p_i+n)\theta_i+p_{i+1}\theta_{i+1}+\cdots+p_d\theta_d)\right)f_0(\theta)\,\mathrm{d}\theta\\
&= \frac{1}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\left(\alpha^0_{[p_1,\ldots,p_{i-1},p_i-n,p_{i+1},\ldots,p_d]}-\alpha^0_{[p_1,\ldots,p_{i-1},p_i+n,p_{i+1},\ldots,p_d]}\right) \\
&= \frac{1}{\pi d}\sum_{i=1}^{d}\sum_{n=1}^{\infty}b_n(\lambda_i)\left(\alpha^0_{\mathbf{p}-n\mathbf{e}_i}-\alpha^0_{\mathbf{p}+n\mathbf{e}_i}\right),
\end{aligned} β p = π d 2 i = 1 ∑ d ∫ T d sin ( p T θ ) f 0 ( θ ) n = 1 ∑ ∞ b n ( λ i ) sin ( n θ i ) d θ = π d 2 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ∫ T d sin ( p T θ ) f 0 ( θ ) sin ( n θ i ) d θ = π d 2 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ∫ T d 2 1 ( cos ( p 1 θ 1 + ⋯ + p i − 1 θ i − 1 + ( p i − n ) θ i + p i + 1 θ i + 1 + ⋯ + p d θ d ) − cos ( p 1 θ 1 + ⋯ + p i − 1 θ i − 1 + ( p i + n ) θ i + p i + 1 θ i + 1 + ⋯ + p d θ d ) ) f 0 ( θ ) d θ = π d 1 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ( α [ p 1 , … , p i − 1 , p i − n , p i + 1 , … , p d ] 0 − α [ p 1 , … , p i − 1 , p i + n , p i + 1 , … , p d ] 0 ) = π d 1 i = 1 ∑ d n = 1 ∑ ∞ b n ( λ i ) ( α p − n e i 0 − α p + n e i 0 ) ,
where the second equality follows from the boundedness of all involved functions.
Proof of Theorem 5. For notational convenience, we define
A X : = { U ≤ 1 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) } A_X:=\left\{U\le\frac{1}{2}\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right)\right\} A X := { U ≤ 2 1 ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( X i − μ i ) λ i sin ( X i − μ i ) ) ) }
and note that
A 2 μ − X = { U ≤ 1 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( μ i − X i ) 1 + sin 2 ( μ i − X i ) ) ) } = { U ≤ 1 2 ( 1 − 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) } . A_{2\mu-X}=\left\{U\le\frac{1}{2}\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\mu_i-X_i)}{1+\sin^2(\mu_i-X_i)}\right)\right)\right\}=\left\{U\le\frac{1}{2}\left(1-\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right)\right\}. A 2 μ − X = { U ≤ 2 1 ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( μ i − X i ) λ i sin ( μ i − X i ) ) ) } = { U ≤ 2 1 ( 1 − π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( X i − μ i ) λ i sin ( X i − μ i ) ) ) } .
For θ ∈ T d \theta\in\mathcal{T}_d θ ∈ T d , it holds that
P ( Θ = θ ) = P ( X = θ , A X ) + P ( X = 2 μ − θ , A 2 μ − X c ) = P ( X = θ ) P ( A X ) + P ( X = 2 μ − θ ) P ( A 2 μ − X c ) = f 0 ( θ − μ ) 1 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) + f 0 ( μ − θ ) [ 1 − 1 2 ( 1 − 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) ] = f 0 ( θ − μ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( X i − μ i ) 1 + sin 2 ( X i − μ i ) ) ) , \begin{aligned}
\mathbb{P}(\boldsymbol{\Theta}=\theta)&=\mathbb{P}(\mathbf{X}=\theta,A_X)+\mathbb{P}(\mathbf{X}=2\mu-\theta,A^c_{2\mu-X})\\
&=\mathbb{P}(\mathbf{X}=\theta)\mathbb{P}(A_X)+\mathbb{P}(\mathbf{X}=2\mu-\theta)\mathbb{P}(A^c_{2\mu-X})\\
&=f_0(\theta-\mu)\frac{1}{2}\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right)\\
&\quad+f_0(\mu-\theta)\left[1-\frac{1}{2}\left(1-\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right)\right]\\
&=f_0(\theta-\mu)\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(X_i-\mu_i)}{1+\sin^2(X_i-\mu_i)}\right)\right),
\end{aligned} P ( Θ = θ ) = P ( X = θ , A X ) + P ( X = 2 μ − θ , A 2 μ − X c ) = P ( X = θ ) P ( A X ) + P ( X = 2 μ − θ ) P ( A 2 μ − X c ) = f 0 ( θ − μ ) 2 1 ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( X i − μ i ) λ i sin ( X i − μ i ) ) ) + f 0 ( μ − θ ) [ 1 − 2 1 ( 1 − π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( X i − μ i ) λ i sin ( X i − μ i ) ) ) ] = f 0 ( θ − μ ) ( 1 + π d 2 i = 1 ∑ d arctan ( 1 + sin 2 ( X i − μ i ) λ i sin ( X i − μ i ) ) ) ,
where we used that f 0 ( θ − μ ) = f 0 ( μ − θ ) f_0(\theta-\mu)=f_0(\mu-\theta) f 0 ( θ − μ ) = f 0 ( μ − θ ) thanks to the symmetry around μ \mu μ .
Elements of the proof of Proposition 2. Parts (ii), (iii) and (iv) can be proved the same way as Propositions 4.1 and 4.2 of [4 ] . For the proof of (i), we note that
sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) − 2 2 + 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) + 2 2 + 2 = 1 − 4 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) + 2 2 + 2 ∈ [ 3 − 2 2 3 + 2 2 , 1 ] \frac{\sec^2\left((\theta_{ji}-\hat{\mu}^{(n)}_j)/2\right)-2\sqrt{2}+2}{\sec^2\left((\theta_{ji}-\hat{\mu}^{(n)}_j)/2\right)+2\sqrt{2}+2}
=1-\frac{4\sqrt{2}}{\sec^2\left((\theta_{ji}-\hat{\mu}^{(n)}_j)/2\right)+2\sqrt{2}+2}
\in\left[\frac{3-2\sqrt{2}}{3+2\sqrt{2}},1\right] sec 2 ( ( θ j i − μ ^ j ( n ) ) /2 ) + 2 2 + 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) /2 ) − 2 2 + 2 = 1 − sec 2 ( ( θ j i − μ ^ j ( n ) ) /2 ) + 2 2 + 2 4 2 ∈ [ 3 + 2 2 3 − 2 2 , 1 ]
so
∣ log ( sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) − 2 2 + 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) / 2 ) + 2 2 + 2 ) ∣ ≤ log ( 3 + 2 2 3 − 2 2 ) . (27) \left|\log\left(\frac{\sec^2\left((\theta_{ji}-\hat{\mu}^{(n)}_j)/2\right)-2\sqrt{2}+2}{\sec^2\left((\theta_{ji}-\hat{\mu}^{(n)}_j)/2\right)+2\sqrt{2}+2}\right)\right|\le\log\left(\frac{3+2\sqrt{2}}{3-2\sqrt{2}}\right). \tag*{(27)} log sec 2 ( ( θ j i − μ ^ j ( n ) ) /2 ) + 2 2 + 2 sec 2 ( ( θ j i − μ ^ j ( n ) ) /2 ) − 2 2 + 2 ≤ log ( 3 − 2 2 3 + 2 2 ) . (27)
Using (26) instead of the inequality bounding the difference of two cosines by 2 in the proof of Proposition 4.1 of [4 ] , (i) can be proven along the same lines as in [4 ] .
□
Supplementary Material
The Supplementary Material contains the observed Fisher Information matrix and some simulations related to the tests of § 4.2 .
Code availability
The relevant code of the paper is available in https://github.com/Sophia-Loizidou/Arctan-skewing.
Acknowledgments
Sophia Loizidou was supported by the grant PRIDE/21/16747448/MATHCODA from the Luxembourg National Research Fund. Both authors thank Toshihiro Abe and Chiara Passamonti for helpful comments on an early draft of the paper and Thomas Hamelryck and Ola Rønning for the protein data.
Elements of the observed Fisher Information matrix
In this section we provide the elements of the observed Fisher Information matrix for our arctan-skewed models, first in the general case and then what they become when λ = 0 \lambda= 0 λ = 0 . Before that, we give the following results:
∂ ∂ μ k M ( μ k , λ k ; θ j k ) = − 2 λ k π d cos 2 ( θ j k − μ k ) sin ( θ j k − μ k ) ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 { 2 cos 2 ( θ j k − μ k ) ( 2 ( 1 + sin 2 ( θ j k − μ k ) ) + λ k 2 ) + 3 ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) } , \frac{\partial}{\partial\mu_k}M(\mu_k,\lambda_k;\theta_{jk})=-\frac{2\lambda_k}{\pi d}\frac{\cos^2(\theta_{jk}-\mu_k)\sin(\theta_{jk}-\mu_k)}{\left((1+\sin^2(\theta_{jk}-\mu_k))^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)\right)^2}
\left\{2\cos^2(\theta_{jk}-\mu_k)\left(2(1+\sin^2(\theta_{jk}-\mu_k))+\lambda_k^2\right)+3\left((1+\sin^2(\theta_{jk}-\mu_k))^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)\right)\right\}, ∂ μ k ∂ M ( μ k , λ k ; θ j k ) = − π d 2 λ k ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 cos 2 ( θ j k − μ k ) sin ( θ j k − μ k ) { 2 cos 2 ( θ j k − μ k ) ( 2 ( 1 + sin 2 ( θ j k − μ k )) + λ k 2 ) + 3 ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) } ,
∂ ∂ λ k M ( μ k , λ k ; θ j k ) = − 2 cos 3 ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) 2 − λ k 2 sin 2 ( θ j k − μ k ) π d ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 , \frac{\partial}{\partial\lambda_k}M(\mu_k,\lambda_k;\theta_{jk})=-\frac{2\cos^3(\theta_{jk}-\mu_k)\left(1+\sin^2(\theta_{jk}-\mu_k)\right)^2-\lambda_k^2\sin^2(\theta_{jk}-\mu_k)}{\pi d\left((1+\sin^2(\theta_{jk}-\mu_k))^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)\right)^2}, ∂ λ k ∂ M ( μ k , λ k ; θ j k ) = − π d ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 2 cos 3 ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) 2 − λ k 2 sin 2 ( θ j k − μ k ) ,
and
∂ ∂ λ k L ( μ k , λ k ; θ j k ) = − 4 λ k π d sin 3 ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 . \frac{\partial}{\partial\lambda_k}L(\mu_k,\lambda_k;\theta_{jk})=-\frac{4\lambda_k}{\pi d}\frac{\sin^3(\theta_{jk}-\mu_k)\left(1+\sin^2(\theta_{jk}-\mu_k)\right)}{\left((1+\sin^2(\theta_{jk}-\mu_k))^2+\lambda_k^2\sin^2(\theta_{jk}-\mu_k)\right)^2}. ∂ λ k ∂ L ( μ k , λ k ; θ j k ) = − π d 4 λ k ( ( 1 + sin 2 ( θ j k − μ k ) ) 2 + λ k 2 sin 2 ( θ j k − μ k ) ) 2 sin 3 ( θ j k − μ k ) ( 1 + sin 2 ( θ j k − μ k ) ) .
Making use of the newly established notations and these results, we get
∂ 2 ∂ μ k 2 log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n ( ∂ 2 ∂ μ k 2 f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ( ∂ ∂ μ k f 0 ( θ j − μ ) ) 2 f 0 2 ( θ j − μ ) + ∑ j = 1 n ∂ ∂ μ k M ( μ k , λ k ; θ j k ) 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) − ∑ j = 1 n ( M ( μ k , λ k ; θ j k ) ) 2 ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 , \frac{\partial^2}{\partial\mu_k^2}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=\sum_{j=1}^{n}\frac{\left(\frac{\partial^2}{\partial\mu_k^2}f_0(\theta_j-\mu)\right)f_0(\theta_j-\mu)-\left(\frac{\partial}{\partial\mu_k}f_0(\theta_j-\mu)\right)^2}{f_0^2(\theta_j-\mu)}
+\sum_{j=1}^{n}\frac{\frac{\partial}{\partial\mu_k}M(\mu_k,\lambda_k;\theta_{jk})}{1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)}
-\sum_{j=1}^{n}\frac{\left(M(\mu_k,\lambda_k;\theta_{jk})\right)^2}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}, ∂ μ k 2 ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n f 0 2 ( θ j − μ ) ( ∂ μ k 2 ∂ 2 f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ( ∂ μ k ∂ f 0 ( θ j − μ ) ) 2 + j = 1 ∑ n 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ∂ μ k ∂ M ( μ k , λ k ; θ j k ) − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 ( M ( μ k , λ k ; θ j k ) ) 2 ,
∂ 2 ∂ μ ℓ ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n ( ∂ 2 ∂ μ ℓ ∂ μ k f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ∂ ∂ μ ℓ f 0 ( θ j − μ ) ∂ ∂ μ k f 0 ( θ j − μ ) f 0 2 ( θ j − μ ) − ∑ j = 1 n M ( μ k , λ k ; θ j k ) M ( μ ℓ , λ ℓ ; θ j ℓ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 , \frac{\partial^2}{\partial\mu_\ell\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=\sum_{j=1}^{n}\frac{\left(\frac{\partial^2}{\partial\mu_\ell\partial\mu_k}f_0(\theta_j-\mu)\right)f_0(\theta_j-\mu)-\frac{\partial}{\partial\mu_\ell}f_0(\theta_j-\mu)\frac{\partial}{\partial\mu_k}f_0(\theta_j-\mu)}{f_0^2(\theta_j-\mu)}
-\sum_{j=1}^{n}\frac{M(\mu_k,\lambda_k;\theta_{jk})M(\mu_\ell,\lambda_\ell;\theta_{j\ell})}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}, ∂ μ ℓ ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n f 0 2 ( θ j − μ ) ( ∂ μ ℓ ∂ μ k ∂ 2 f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ∂ μ ℓ ∂ f 0 ( θ j − μ ) ∂ μ k ∂ f 0 ( θ j − μ ) − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 M ( μ k , λ k ; θ j k ) M ( μ ℓ , λ ℓ ; θ j ℓ ) ,
∂ 2 ∂ λ k ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n ∂ ∂ λ k M ( μ k , λ k ; θ j k ) 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) − ∑ j = 1 n M ( μ k , λ k ; θ j k ) L ( μ k , λ k ; θ j k ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 , \frac{\partial^2}{\partial\lambda_k\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=\sum_{j=1}^{n}\frac{\frac{\partial}{\partial\lambda_k}M(\mu_k,\lambda_k;\theta_{jk})}{1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)}
-\sum_{j=1}^{n}\frac{M(\mu_k,\lambda_k;\theta_{jk})L(\mu_k,\lambda_k;\theta_{jk})}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}, ∂ λ k ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ∂ λ k ∂ M ( μ k , λ k ; θ j k ) − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 M ( μ k , λ k ; θ j k ) L ( μ k , λ k ; θ j k ) ,
∂ 2 ∂ λ ℓ ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) = − ∑ j = 1 n M ( μ k , λ k ; θ j k ) L ( μ ℓ , λ ℓ ; θ j ℓ ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 . \frac{\partial^2}{\partial\lambda_\ell\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=-\sum_{j=1}^{n}\frac{M(\mu_k,\lambda_k;\theta_{jk})L(\mu_\ell,\lambda_\ell;\theta_{j\ell})}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}. ∂ λ ℓ ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 M ( μ k , λ k ; θ j k ) L ( μ ℓ , λ ℓ ; θ j ℓ ) .
∂ 2 ∂ λ ℓ ∂ λ k log ( ∏ j = 1 n f ( θ j − μ ) ) = − ∑ j = 1 n L ( μ k , λ k ; θ j k ) L ( μ ℓ , λ ℓ ; θ j k ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 , \frac{\partial^2}{\partial\lambda_\ell\partial\lambda_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=-\sum_{j=1}^{n}\frac{L(\mu_k,\lambda_k;\theta_{jk})L(\mu_\ell,\lambda_\ell;\theta_{jk})}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}, ∂ λ ℓ ∂ λ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 L ( μ k , λ k ; θ j k ) L ( μ ℓ , λ ℓ ; θ j k ) ,
and finally
∂ 2 ∂ λ k ∂ λ k log ( ∏ j = 1 n f ( θ j − μ ) ) = ∑ j = 1 n ∂ ∂ λ k L ( μ k , λ k ; θ j k ) 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) − ∑ j = 1 n L 2 ( μ k , λ k ; θ j k ) ( 1 + 2 π d ∑ i = 1 d arctan ( λ i sin ( θ j i − μ j i ) 1 + sin 2 ( θ j i − μ j i ) ) ) 2 . \frac{\partial^2}{\partial\lambda_k\partial\lambda_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)=\sum_{j=1}^{n}\frac{\frac{\partial}{\partial\lambda_k}L(\mu_k,\lambda_k;\theta_{jk})}{1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)}
-\sum_{j=1}^{n}\frac{L^2(\mu_k,\lambda_k;\theta_{jk})}{\left(1+\frac{2}{\pi d}\sum_{i=1}^{d}\arctan\left(\frac{\lambda_i\sin(\theta_{ji}-\mu_{ji})}{1+\sin^2(\theta_{ji}-\mu_{ji})}\right)\right)^2}. ∂ λ k ∂ λ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) = j = 1 ∑ n 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ∂ λ k ∂ L ( μ k , λ k ; θ j k ) − j = 1 ∑ n ( 1 + π d 2 ∑ i = 1 d arctan ( 1 + s i n 2 ( θ j i − μ j i ) λ i s i n ( θ j i − μ j i ) ) ) 2 L 2 ( μ k , λ k ; θ j k ) .
When λ = 0 \boldsymbol{\lambda}=\mathbf{0} λ = 0 , these expressions simplify into
∂ 2 ∂ 2 μ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = ∑ j = 1 n ( ∂ 2 ∂ 2 μ k f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ( ∂ ∂ μ k f 0 ( θ j − μ ) ) 2 f 0 2 ( θ j − μ ) , \left.\frac{\partial^2}{\partial^2\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=\sum_{j=1}^{n}\frac{\left(\frac{\partial^2}{\partial^2\mu_k}f_0(\theta_j-\mu)\right)f_0(\theta_j-\mu)-\left(\frac{\partial}{\partial\mu_k}f_0(\theta_j-\mu)\right)^2}{f_0^2(\theta_j-\mu)}, ∂ 2 μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = j = 1 ∑ n f 0 2 ( θ j − μ ) ( ∂ 2 μ k ∂ 2 f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ( ∂ μ k ∂ f 0 ( θ j − μ ) ) 2 ,
∂ 2 ∂ μ ℓ ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = ∑ j = 1 n ( ∂ 2 ∂ μ ℓ ∂ μ k f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ∂ ∂ μ ℓ f 0 ( θ j − μ ) ∂ ∂ μ k f 0 ( θ j − μ ) f 0 2 ( θ j − μ ) , \left.\frac{\partial^2}{\partial\mu_\ell\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=\sum_{j=1}^{n}\frac{\left(\frac{\partial^2}{\partial\mu_\ell\partial\mu_k}f_0(\theta_j-\mu)\right)f_0(\theta_j-\mu)-\frac{\partial}{\partial\mu_\ell}f_0(\theta_j-\mu)\frac{\partial}{\partial\mu_k}f_0(\theta_j-\mu)}{f_0^2(\theta_j-\mu)}, ∂ μ ℓ ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = j = 1 ∑ n f 0 2 ( θ j − μ ) ( ∂ μ ℓ ∂ μ k ∂ 2 f 0 ( θ j − μ ) ) f 0 ( θ j − μ ) − ∂ μ ℓ ∂ f 0 ( θ j − μ ) ∂ μ k ∂ f 0 ( θ j − μ ) ,
∂ 2 ∂ λ k ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = − ∑ j = 1 n 2 cos 3 ( θ j k − μ k ) π d ( 1 + sin 2 ( θ j k − μ k ) ) 2 , \left.\frac{\partial^2}{\partial\lambda_k\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=-\sum_{j=1}^{n}\frac{2\cos^3(\theta_{jk}-\mu_k)}{\pi d\left(1+\sin^2(\theta_{jk}-\mu_k)\right)^2}, ∂ λ k ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = − j = 1 ∑ n π d ( 1 + sin 2 ( θ j k − μ k ) ) 2 2 cos 3 ( θ j k − μ k ) ,
∂ 2 ∂ λ ℓ ∂ μ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = 0 , \left.\frac{\partial^2}{\partial\lambda_\ell\partial\mu_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=0, ∂ λ ℓ ∂ μ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = 0 ,
∂ 2 ∂ λ ℓ ∂ λ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = ∑ j = 1 n 4 π 2 d 2 sin ( θ j k − μ k ) 1 + sin 2 ( θ j k − μ k ) sin ( θ j ℓ − μ ℓ ) 1 + sin 2 ( θ j ℓ − μ ℓ ) , \left.\frac{\partial^2}{\partial\lambda_\ell\partial\lambda_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=\sum_{j=1}^{n}\frac{4}{\pi^2d^2}\frac{\sin(\theta_{jk}-\mu_k)}{1+\sin^2(\theta_{jk}-\mu_k)}\frac{\sin(\theta_{j\ell}-\mu_\ell)}{1+\sin^2(\theta_{j\ell}-\mu_\ell)}, ∂ λ ℓ ∂ λ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = j = 1 ∑ n π 2 d 2 4 1 + sin 2 ( θ j k − μ k ) sin ( θ j k − μ k ) 1 + sin 2 ( θ j ℓ − μ ℓ ) sin ( θ j ℓ − μ ℓ ) ,
and
∂ 2 ∂ 2 λ k log ( ∏ j = 1 n f ( θ j − μ ) ) ∣ λ = 0 = − ∑ j = 1 n 4 π 2 d 2 ( sin ( θ j k − μ k ) 1 + sin 2 ( θ j k − μ k ) ) 2 . \left.\frac{\partial^2}{\partial^2\lambda_k}\log\left(\prod_{j=1}^{n}f(\theta_j-\mu)\right)\right|_{\boldsymbol{\lambda}=\mathbf{0}}=-\sum_{j=1}^{n}\frac{4}{\pi^2d^2}\left(\frac{\sin(\theta_{jk}-\mu_k)}{1+\sin^2(\theta_{jk}-\mu_k)}\right)^2. ∂ 2 λ k ∂ 2 log ( j = 1 ∏ n f ( θ j − μ ) ) λ = 0 = − j = 1 ∑ n π 2 d 2 4 ( 1 + sin 2 ( θ j k − μ k ) sin ( θ j k − μ k ) ) 2 .
Simulations
In this section we present the simulation results for the tests proposed in § 4.2 , ϕ 0 ; μ ∗ ( n ) \phi^{*(n)}_{0;\mu} ϕ 0 ; μ ∗ ( n ) and ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) , for the specified and unspecified symmetry center cases, respectively. More specifically, we consider correctly and incorrectly specified symmetry center μ \mu μ in ϕ 0 ; μ ∗ ( n ) \phi^{*(n)}_{0;\mu} ϕ 0 ; μ ∗ ( n ) (denoted Specified and Misspecified, respectively), and for ϕ f 0 ∗ ( n ) \phi^{*(n)}_{f_0} ϕ f 0 ∗ ( n ) (denoted Unspecified) the assumed model f 0 f_0 f 0 is indicated in the tables. For each setting under consideration, we conduct a simulation study with 1000 replications. The Monte Carlo estimates of the probability of rejection of the respective null hypotheses (H 0 ; μ ( n ) \mathcal{H}^{(n)}_{0;\mu} H 0 ; μ ( n ) and H 0 ( n ) \mathcal{H}^{(n)}_{0} H 0 ( n ) ) at the 5% level of significance are presented in Tables S1-S3. We focus on d = 3 d=3 d = 3 and use the trivariate wrapped Cauchy (TWC) copula [23 , 29 ] with marginal distributions chosen to be the wrapped Cauchy distribution. This distribution is denoted by TWC 0.25 , 1.4 0.5 , 0.7 , 0.9 \operatorname{TWC}^{0.5,0.7,0.9}_{0.25,1.4} TWC 0.25 , 1.4 0.5 , 0.7 , 0.9 , where ρ 12 , ρ 13 , ρ 23 ∈ R ∖ { 0 } \rho_{12},\rho_{13},\rho_{23}\in\mathbb{R}\setminus\{0\} ρ 12 , ρ 13 , ρ 23 ∈ R ∖ { 0 } are the copula parameters satisfying Equation (8) in [23 ] and β 1 , β 2 , β 3 \beta_1,\beta_2,\beta_3 β 1 , β 2 , β 3 are the parameters for the marginal distributions.
We firstly consider Table S1 , for which data are generated from the arctan-skewed TWC 0.25 , 1.4 0.5 , 0.7 , 0.9 \operatorname{TWC}^{0.5,0.7,0.9}_{0.25,1.4} TWC 0.25 , 1.4 0.5 , 0.7 , 0.9 model. As expected, the power of the tests increases as the sample size and the skewness degree increase. For the specified test, the desired percentage of rejection under the null hypothesis of symmetry is attained, while the unspecified test has a higher percentage of rejections.
Table S1. Percentage of rejections of Specified ( ϕ ∗ ( n ) ; μ ) (\phi^*(n);\mu) ( ϕ ∗ ( n ) ; μ ) and Unspecified ( ϕ ∗ ( n ) ) (\phi^*(n)) ( ϕ ∗ ( n )) tests when generating data from the arctan-skewed TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 \operatorname{TWC}_{0.25,1,4}^{0.5,0.7,0.9} TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 distribution. The variable n n n represents the sample size and λ \lambda λ the value of the skewness parameter.
The settings chosen Tables S2 and S3, described in the next paragraphs, both violate assumptions under which our optimal tests are built: the former because the skewing is not arctan, the latter because the center of symmetry is misspecified. It is relevant to know how our tests behave when different assumptions are not met.
In Table S2 , data are generated from the sine-skewed TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 \operatorname{TWC}_{0.25,1,4}^{0.5,0.7,0.9} TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 model. This table indicates that our tests can detect other types of skewing, although a larger sample size is required for deviations from symmetry to be detected consistently.
Table S2. Percentage of rejections of Specified ( ϕ ∗ ( n ) ; μ ) (\phi^*(n);\mu) ( ϕ ∗ ( n ) ; μ ) and Unspecified ( ϕ ∗ ( n ) ) (\phi^*(n)) ( ϕ ∗ ( n )) tests when generating data from the sine-skewed TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 \operatorname{TWC}_{0.25,1,4}^{0.5,0.7,0.9} TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 distribution. The variable n n n represents the sample size and λ \lambda λ the value of the skewness parameter.
Finally, Table S3 considers the case when the symmetry center μ \mu μ is slightly misspecified (μ = ( 0.05 , 0.05 , 0.05 ) T \mu=(0.05,0.05,0.05)^{\mathsf{T}} μ = ( 0.05 , 0.05 , 0.05 ) T instead of μ = 0 \mu=\mathbf{0} μ = 0 ) and data are generated from the arctan-skewed TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 \operatorname{TWC}_{0.25,1,4}^{0.5,0.7,0.9} TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 model. It is easy to see that the percentage of rejections decreases as the skewness increases. This can be explained by the fact that positively skewing data also slightly shifts their mean to larger values, and so the skewness with respect to a different symmetry center can be hidden.
Table S3. Percentage of rejections of Specified and Misspecified ( ϕ ∗ ( n ) ; μ ) (\phi^{*}(n);\mu) ( ϕ ∗ ( n ) ; μ ) tests when generating data from the arctan-skewed T W C 0.25 , 1 , 4 0.5 , 0.7 , 0.9 \mathrm{TWC}^{0.5,0.7,0.9}_{0.25,1,4} TWC 0.25 , 1 , 4 0.5 , 0.7 , 0.9 distribution. The variable n n n represents the sample size and λ \boldsymbol{\lambda} λ the value of the skewness parameter.