next up previous contents index
Next: Producing the diagram Up: Partial correlation diagrams Previous: Partial correlation diagrams

Overview

Note that this command is under construction. Conditional dependencies between quantities and collections of quantities can be explored by making various transformations of their joint variance-covariance matrices. The transformations essentially reveal certain features of the underlying linear relationships between the variables, and these features can be represented on diagrams.

Suppose that a number of collections tex2html_wrap_inline38458 together form a collection tex2html_wrap_inline38460 of elements whose variance matrix is tex2html_wrap_inline35842 . Firstly we transform to correlation form by determining tex2html_wrap_inline38464 , where D is the tex2html_wrap_inline38466 diagonal matrix whose entries are tex2html_wrap_inline38468 . Next we determine the Moore-Penrose generalised inverse of R as follows. The pseudo-inverse obtained is tex2html_wrap_inline38470 , where tex2html_wrap_inline38502 is the diagonal matrix of ordered eigenvalues of R, and tex2html_wrap_inline38472 has the non-zero diagonal elements inverted; and where Q is the matrix of corresponding orthonormal eigenvectors. Next we transform this generalised inverse itself into correlation form by calculating tex2html_wrap_inline38474 , where tex2html_wrap_inline38506 is the tex2html_wrap_inline38466 diagonal matrix whose entries are tex2html_wrap_inline38480 . However, we perform this final process only on the off-diagonal entries of tex2html_wrap_inline38482 , leaving alone the diagonal entries. Finally we multiply each off-diagonal entry by -1. The matrix G so constructed has the following properties.

  1. the diagonal values tex2html_wrap_inline38484 are such that

    displaymath38456

    where R is the multiple correlation coefficient between tex2html_wrap_inline34848 and the remaining tex2html_wrap_inline38488 elements.

  2. the off-diagonal values are tex2html_wrap_inline38490 , representing the partial correlation coefficient between tex2html_wrap_inline34848 and tex2html_wrap_inline38494 given the remaining tex2html_wrap_inline38496 elements.

In [B/D] we make available G given tex2html_wrap_inline34760 by using the PCDIAG:  command in combination with the pcdest  control, which sets the belief store in which these results are to be stored. The belief store containing the original variance matrix V can be switched using the pcsource  control. The partial correlation diagram summarising the linear relationships is obtained by using the PCDIAG:  command in combination with the pcdiag  option. A title may be defined for this diagram by using the PCTITLE:  command. Linear relationships (partial) are shown as arcs on the diagram. The number of arcs shown depends upon the value of the pcarc  control: arcs corresponding to partial correlations less than this value are supressed. The diagram itself needs to be designed beforehand, using the GRID:  or, more conveniently, the GRID0:  command.


next up previous contents index
Next: Producing the diagram Up: Partial correlation diagrams Previous: Partial correlation diagrams

David Wooff
Wed Oct 21 15:14:31 BST 1998