📚 الرئيسية

مسابقة دكتوراه 2017Université des Sciences et de la Technologie Houari Boumediène (USTHB) — الموضوع 02

مسابقة تخصص · Probabilités & Statistiques · المدة: 2سا

Concours d'accès au Doctorat LMD en Probabilité et Statistique appliquées, épreuve d'Analyse des données et Statistique non paramétrique, Faculté des Sciences Exactes, Département de Probabilités-Statistique, Université des Sciences et de la Technologie Houari Boumediène (USTHB), 28 octobre 2017, durée 2 heures.

التمرين 1

Exercice 1 — ACP normée d'un tableau de données

#data-analysis#pca#correlation-matrix#eigenvalues#standardization

On considère le tableau des données XX suivant :

X=(234561)X=\begin{pmatrix} 2 & 3 \\ 4 & 5 \\ 6 & 1 \end{pmatrix}

  1. Donner le tableau des données centrées et réduites.
  2. Déterminer la matrice des corrélations Γ\Gamma.
  3. Diagonaliser la matrice Γ\Gamma. On note λ1\lambda_1 et λ2\lambda_2 ses valeurs propres avec λ1>λ2\lambda_1>\lambda_2.
  4. Déterminer FiF_i les axes factoriels (ACP normée). Donner le vecteur unitaire uiu_i de chaque axe FiF_i. Vérifier que ces axes sont perpendiculaires.
  5. Écrire la matrice diagonale des valeurs propres Λ\Lambda et calculer sa trace tr(Λ)\mathrm{tr}(\Lambda), puis vérifier que tr(Λ)=tr(Γ)\mathrm{tr}(\Lambda)=\mathrm{tr}(\Gamma).
الحل

1.

Les deux variables : colonne 1 =(2,4,6)=(2,4,6), colonne 2 =(3,5,1)=(3,5,1). Moyennes : xˉ1=4\bar x_1=4, xˉ2=3\bar x_2=3.

Écarts-types (en divisant par n=3n=3) : σ12=13(4+0+4)=83\sigma_1^2=\tfrac13(4+0+4)=\tfrac83 et σ22=13(0+4+4)=83\sigma_2^2=\tfrac13(0+4+4)=\tfrac83, donc σ1=σ2=8/3=263\sigma_1=\sigma_2=\sqrt{8/3}=\dfrac{2\sqrt6}{3}.

Données centrées : colonne 1 (2,0,2)(-2,0,2), colonne 2 (0,2,2)(0,2,-2). Comme 2/σ=622/\sigma=\dfrac{\sqrt6}{2}, le tableau centré-réduit z=(xxˉ)/σz=(x-\bar x)/\sigma est

Z=(6200626262)(1.225001.2251.2251.225)Z=\begin{pmatrix} -\tfrac{\sqrt6}{2} & 0 \\ 0 & \tfrac{\sqrt6}{2} \\ \tfrac{\sqrt6}{2} & -\tfrac{\sqrt6}{2}\end{pmatrix}\approx\begin{pmatrix} -1.225 & 0 \\ 0 & 1.225 \\ 1.225 & -1.225\end{pmatrix}

2.

La matrice des corrélations est Γ=1nZZ\Gamma=\tfrac1n Z^{\top}Z. Le coefficient de corrélation vaut

Cov(X1,X2)=13[(2)(0)+(0)(2)+(2)(2)]=43,r=Cov(X1,X2)σ1σ2=4/38/3=12.\mathrm{Cov}(X_1,X_2)=\tfrac13\big[(-2)(0)+(0)(2)+(2)(-2)\big]=-\tfrac43,\qquad r=\frac{\mathrm{Cov}(X_1,X_2)}{\sigma_1\sigma_2}=\frac{-4/3}{8/3}=-\tfrac12.

Γ=(112121)\boxed{\Gamma=\begin{pmatrix} 1 & -\tfrac12 \\ -\tfrac12 & 1\end{pmatrix}}

3.

det(ΓλI)=(1λ)214=0  1λ=±12\det(\Gamma-\lambda I)=(1-\lambda)^2-\tfrac14=0\ \Rightarrow\ 1-\lambda=\pm\tfrac12.

λ1=32,λ2=12\boxed{\lambda_1=\tfrac32,\qquad \lambda_2=\tfrac12}

4.

Pour λ1=32\lambda_1=\tfrac32 : (Γ32I)u=012u(1)12u(2)=0u(1)=u(2)(\Gamma-\tfrac32 I)u=0\Rightarrow -\tfrac12 u^{(1)}-\tfrac12 u^{(2)}=0\Rightarrow u^{(1)}=-u^{(2)}, d'où le vecteur unitaire

u1=12(11).u_1=\frac{1}{\sqrt2}\begin{pmatrix}1\\-1\end{pmatrix}.

Pour λ2=12\lambda_2=\tfrac12 : 12u(1)12u(2)=0u(1)=u(2)\tfrac12 u^{(1)}-\tfrac12 u^{(2)}=0\Rightarrow u^{(1)}=u^{(2)}, d'où

u2=12(11).u_2=\frac{1}{\sqrt2}\begin{pmatrix}1\\1\end{pmatrix}.

Les axes sont orthogonaux : u1u2=12(11+(1)1)=0u_1^{\top}u_2=\tfrac12\big(1\cdot1+(-1)\cdot1\big)=0.

u1u2\boxed{u_1\perp u_2}

5.

Λ=(320012),tr(Λ)=32+12=2,tr(Γ)=1+1=2.\Lambda=\begin{pmatrix}\tfrac32 & 0\\ 0 & \tfrac12\end{pmatrix},\qquad \mathrm{tr}(\Lambda)=\tfrac32+\tfrac12=2,\qquad \mathrm{tr}(\Gamma)=1+1=2.

tr(Λ)=tr(Γ)=2 (=p, nombre de variables)\boxed{\mathrm{tr}(\Lambda)=\mathrm{tr}(\Gamma)=2\ (=p,\ \text{nombre de variables})}

التمرين 2

Exercice 2 — Estimation à noyau de la loi conditionnelle : biais

#nonparametric-statistics#kernel-estimation#conditional-distribution#bias#asymptotics

Soient XX et YY deux variables aléatoires définies sur l'espace de probabilité (Ω,A,P)(\Omega,\mathcal{A},\mathbb{P}) à valeurs dans R×R\mathbb{R}\times\mathbb{R}. Pour tout xRx\in\mathbb{R}, on désigne par FxF^x la fonction de répartition conditionnelle de YY sachant X=xX=x ; on suppose que FxF^x est absolument continue par rapport à la mesure de Lebesgue, de densité fxf^x. Étant donné (X1,Y1),,(Xn,Yn)(X_1,Y_1),\dots,(X_n,Y_n) une suite d'observations de même loi que (X,Y)(X,Y), on estime par la méthode à noyau la fonction de répartition conditionnelle FxF^x par l'estimateur F^x\hat F^x défini par :

\hat F^x(y)=\frac{\sum_{i=1}^{n} K\!\left(h_K^{-1}(x-X_i)\right)H\!\left(h_H^{-1}(y-Y_i)\right)}{\sum_{i=1}^{n} K\!\left(h_K^{-1}(x-X_i)\right)},\qquad \forall y\in\mathbb{R} \tag{1}

KK est un noyau, HH une fonction de répartition et hK=hK,nh_K=h_{K,n} (resp. hH=hH,nh_H=h_{H,n}) une suite de réels positifs. On déduit de F^x\hat F^x un estimateur de la densité conditionnelle, noté f^x\hat f^x, défini par :

\hat f^x(y)=\frac{h_H^{-1}\sum_{i=1}^{n} K\!\left(h_K^{-1}(x-X_i)\right)H^{(1)}\!\left(h_H^{-1}(y-Y_i)\right)}{\sum_{i=1}^{n} K\!\left(h_K^{-1}(x-X_i)\right)},\qquad \forall y\in\mathbb{R} \tag{2}

Pour simplifier la notation, on pose

Ki(x)=K ⁣(hK1(xXi)),Hi(y)=H ⁣(hH1(yYi))K_i(x)=K\!\left(h_K^{-1}(x-X_i)\right),\qquad H_i(y)=H\!\left(h_H^{-1}(y-Y_i)\right)

et

fn(x)=1nhKi=1nKi(x),gn(j)(x,y)=1nhHjhKi=1nKi(x)Hi(j)(y),j=0,1.f_n(x)=\frac{1}{n\,h_K}\sum_{i=1}^{n}K_i(x),\qquad g_n^{(j)}(x,y)=\frac{1}{n\,h_H^{\,j}\,h_K}\sum_{i=1}^{n}K_i(x)\,H_i^{(j)}(y),\quad j=0,1.

Supposons que : a. La fonction de répartition conditionnelle est k+1k+1 fois continûment dérivable autour de SS, où SS est un compact de R\mathbb{R}. b. La densité de la variable explicative est strictement positive et de classe Ck\mathcal{C}^k au voisinage de xx. c. La fonction HH est strictement croissante, de dérivée bornée et d'ordre kk, et telle que (y1,y2)R2\forall(y_1,y_2)\in\mathbb{R}^2,  H(j)(y1)H(j)(y2)Ay1y2\ |H^{(j)}(y_1)-H^{(j)}(y_2)|\le A|y_1-y_2|,  j=0,1\ j=0,1. d. Le noyau KK est supposé d'ordre kk, intégrable, d'intégrale égale à 11, borné et positif. Montrer que :

\sup_{y\in S}\left|F^x(y)f(x)-\mathbb{E}\,g_n(x,y)\right|=\mathcal{O}\!\left(h_K^{k}+h_H^{k}\right) \tag{3}

\sup_{y\in S}\left|f^x(y)f(x)-\mathbb{E}\,g_n^{(1)}(x,y)\right|=\mathcal{O}\!\left(h_K^{k}+h_H^{k}\right) \tag{4}

(où ff désigne la densité marginale de XX et gn=gn(0)g_n=g_n^{(0)}).

الحل

Préliminaires

Notons ff la densité marginale de XX et fX,Y(u,v)=f(u)fu(v)f_{X,Y}(u,v)=f(u)\,f^u(v) la densité jointe, où fuf^u est la densité conditionnelle de YY sachant X=uX=u. Rappelons qu'un noyau LL est d'ordre kk si L=1\int L=1, tmL(t)dt=0\int t^m L(t)\,dt=0 pour 1mk11\le m\le k-1 et tkL(t)dt\int t^k L(t)\,dt est fini non nul ; il en résulte un biais de lissage en O(hk)\mathcal{O}(h^k). On note enfin que gn=gn(0)g_n=g_n^{(0)}, avec F^x=gn(0)/fn\hat F^x=g_n^{(0)}/f_n et f^x=gn(1)/fn\hat f^x=g_n^{(1)}/f_n.

Preuve de (3)

Les couples étant i.i.d., l'espérance de chaque terme est identique et

Egn(0)(x,y)=1hKE ⁣[K ⁣(xXhK)H ⁣(yYhH)]=1hKK ⁣(xuhK)H ⁣(yvhH)f(u)fu(v)dudv.\mathbb{E}\,g_n^{(0)}(x,y)=\frac{1}{h_K}\,\mathbb{E}\!\left[K\!\left(\tfrac{x-X}{h_K}\right)H\!\left(\tfrac{y-Y}{h_H}\right)\right]=\frac{1}{h_K}\iint K\!\left(\tfrac{x-u}{h_K}\right)H\!\left(\tfrac{y-v}{h_H}\right)f(u)\,f^u(v)\,du\,dv.

Intégration en vv. Posons J(u,y)=H ⁣(yvhH)fu(v)dvJ(u,y)=\displaystyle\int H\!\left(\tfrac{y-v}{h_H}\right)f^u(v)\,dv. Une intégration par parties (HH est une f.d.r. et FuF^u une primitive de fuf^u, les termes de bord étant nuls) puis le changement de variable t=(yv)/hHt=(y-v)/h_H donnent

J(u,y)=Fu(yhHt)H(1)(t)dt.J(u,y)=\int F^u(y-h_H t)\,H^{(1)}(t)\,dt.

Comme H(1)H^{(1)} est un noyau d'ordre kk, un développement de Taylor de FuF^u (suffisamment dérivable, hyp. (a)) donne, uniformément en ySy\in S,

J(u,y)=Fu(y)+(hH)kk!Fu(k)(y) ⁣tkH(1)(t)dt+o(hHk)=Fu(y)+O(hHk).J(u,y)=F^u(y)+\frac{(-h_H)^{k}}{k!}\,F^{u\,(k)}(y)\!\int t^{k}H^{(1)}(t)\,dt+o(h_H^{k})=F^u(y)+\mathcal{O}(h_H^{k}).

Intégration en uu. En posant φ(u)=f(u)Fu(y)\varphi(u)=f(u)\,F^u(y) (de classe Ck\mathcal{C}^k d'après (a)-(b)) et en effectuant le changement s=(xu)/hKs=(x-u)/h_K, le noyau KK étant d'ordre kk :

Egn(0)(x,y)=K(s)φ(xhKs)ds+O(hHk)=φ(x)+O(hKk)+O(hHk).\mathbb{E}\,g_n^{(0)}(x,y)=\int K(s)\,\varphi(x-h_K s)\,ds+\mathcal{O}(h_H^{k})=\varphi(x)+\mathcal{O}(h_K^{k})+\mathcal{O}(h_H^{k}).

Or φ(x)=f(x)Fx(y)\varphi(x)=f(x)\,F^x(y). D'où, uniformément en ySy\in S,

supySFx(y)f(x)Egn(x,y)=O ⁣(hKk+hHk).\boxed{\sup_{y\in S}\left|F^x(y)f(x)-\mathbb{E}\,g_n(x,y)\right|=\mathcal{O}\!\left(h_K^{k}+h_H^{k}\right).}

Preuve de (4)

De la même façon,

Egn(1)(x,y)=1hHhKK ⁣(xuhK)H(1) ⁣(yvhH)f(u)fu(v)dudv.\mathbb{E}\,g_n^{(1)}(x,y)=\frac{1}{h_H h_K}\iint K\!\left(\tfrac{x-u}{h_K}\right)H^{(1)}\!\left(\tfrac{y-v}{h_H}\right)f(u)\,f^u(v)\,du\,dv.

En vv, avec t=(yv)/hHt=(y-v)/h_H et H(1)H^{(1)} noyau d'ordre kk :

1hHH(1) ⁣(yvhH)fu(v)dv=H(1)(t)fu(yhHt)dt=fu(y)+O(hHk),\frac{1}{h_H}\int H^{(1)}\!\left(\tfrac{y-v}{h_H}\right)f^u(v)\,dv=\int H^{(1)}(t)\,f^u(y-h_H t)\,dt=f^u(y)+\mathcal{O}(h_H^{k}),

uniformément (car fu=yFuf^u=\partial_y F^u est kk fois dérivable, hyp. (a)).

En uu, avec ψ(u)=f(u)fu(y)Ck\psi(u)=f(u)\,f^u(y)\in\mathcal{C}^k et KK d'ordre kk :

Egn(1)(x,y)=K(s)ψ(xhKs)ds+O(hHk)=f(x)fx(y)+O(hKk)+O(hHk).\mathbb{E}\,g_n^{(1)}(x,y)=\int K(s)\,\psi(x-h_K s)\,ds+\mathcal{O}(h_H^{k})=f(x)\,f^x(y)+\mathcal{O}(h_K^{k})+\mathcal{O}(h_H^{k}).

D'où

supySfx(y)f(x)Egn(1)(x,y)=O ⁣(hKk+hHk).\boxed{\sup_{y\in S}\left|f^x(y)f(x)-\mathbb{E}\,g_n^{(1)}(x,y)\right|=\mathcal{O}\!\left(h_K^{k}+h_H^{k}\right).}

Les hypothèses (c) (caractère lipschitzien et bornitude de H(1)H^{(1)}) et (d) (KK borné, positif, intégrable) garantissent l'uniformité en ySy\in S des développements ci-dessus.