Presentation is loading. Please wait.

Presentation is loading. Please wait.

METHODS OF TRANSFORMING NON-POSITIVE DEFINITE CORRELATION MATRICES Katarzyna Wojtaszek student number 1118676 CROSS.

Similar presentations


Presentation on theme: "METHODS OF TRANSFORMING NON-POSITIVE DEFINITE CORRELATION MATRICES Katarzyna Wojtaszek student number 1118676 CROSS."— Presentation transcript:

1 METHODS OF TRANSFORMING NON-POSITIVE DEFINITE CORRELATION MATRICES Katarzyna Wojtaszek student number 1118676 CROSS

2 I will try to answer questions: How can I estimate correlation matrix when I have data? What can I do if matrices are non-PD?  Shrinking method  Eigenvalues method  Vines method How can we calculate distances between original and transformed matrices? Which method is the best?  comparing  conclusions

3 How can I estimate correlation matrix if I have data? I can estimate the correlation matrices from data as follows: 1. I can estimate each off-diagonal element separately

4 2. I can also estimate whole data together: with i=1,…,s ; j=1,…,n

5 What can I do when matrices are non- PD? We can use some methods for transforming these matrices to PD correlation matrices using:  Shrinking method  Eigenvalues method  Vines method

6 How can we calculate distances between original and transformed matrices? There are many methods which we can use to calculate the distance between matrices. In my project I used formula:

7 1. SHRINKING METHOD  linear shrinking Assumptions: R nxn is given non-PD pseudo correlation matrix is arbitrary correlation matrix Define:  (  [0,1]) =R+ (R* - R) is a pseudo correlation matrix.

8 Idea: find the smallest such that matrix will be PD. Since R is non-PD then the smallest eigenvalue of R is negative, so we have to choose such that will be positive. Hence: And  0 if  - / ( *- ). So we find matrix which is PD matrix given non-PD matrix R.

9  non-linear shrinking Assumption: R nxn is given non-PD pseudo correlation matrix Procedure: where f is strictly increasing odd function with f(0)=0 and  >0.

10 I considered the following four functions:    

11 InIn R nxn SET OF PD- MATRICES Linear shrinking Non-linear shrinking Comparison of the linear and non-linear shrinking methods

12 2.THE EIGENVALUE METHOD. Assumptions: R nxn non-PD pseudo correlation matrix P -orthogonal matrix such that R=PDP T D matrix which the eigenvalues of R on the diagonal  is some constant  0

13 Idea: Replaced negative values in matrix D by . We obtain: R*=PD*P T = where is a diagonal matrix with diagonal elements equal for i=1,2,…,n.

14 3.VINES METHOD. Assumptions: R nxn pseudo correlation matrix Idea:  First we have to check if our matrix is PD

15 If some (-1,1) we change the value V( ) (-1,1)) and recalculate partial correlation using: V( ) =V( ) + We obtain new matrix, witch we have check again.

16  Example  Let say that we have matrix R 4x4 Very useful is making graphical model 1 2 3 4

17 Which method is the best?  Comparing. Using Matlab I chose randomly 500 non-PD matrices, transformed them and calculated the average distances between non-PD and PD matrices. This table shows us my results. n345678910 Lin. shrinking2.78684.3716.72339.897714.002718.404723.710229.6013 Shrinking f10.13880.40281.12512.51614.36236.769.848413.8416 Shrinking f20.27560.96962.3824.64648.132711.481616.383520.5501 Shrinking f30.14410.45891.14322.51534.44836.912710.17613.7543 Shrinking f40.40911.43793.33655.73578.683911.703415.68618.9959 Eigenvalues0.08610.20390.4510.9131.57992.32633.38454.7033 Vines0.22851.29993.32516.639511.329517.81324.702134.4963

18  ILUSTATION: average distance

19 Conclusions: 1.The reason that the linear shrinking is very bad method is that we shrink all elements by the same relative amount 2.The eigenvalues method performes fast and gives very good results regardless matrices dimensions 3.For the non-linear shrinking method the best choice of the projection function are and


Download ppt "METHODS OF TRANSFORMING NON-POSITIVE DEFINITE CORRELATION MATRICES Katarzyna Wojtaszek student number 1118676 CROSS."

Similar presentations


Ads by Google