Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Storing a correlation matrix (related topic)

From   "Feiveson, Alan H. (JSC-SK311)" <>
To   <>
Subject   st: RE: Storing a correlation matrix (related topic)
Date   Tue, 18 Apr 2006 09:57:18 -0500

This raises an important related issue. Does anyone know of or have a
Stata program for ML estimation (assuming multivariate normal) of a
covariance matrix using all the data, even if some vectors have missing

Al Feiveson

-----Original Message-----
[] On Behalf Of Marcello
Sent: Tuesday, April 18, 2006 9:32 AM
Subject: st: Storing a correlation matrix (more)

Dear Listers,

Bill Gould in 1999 answered the question of how to store pairwise
correlations of a varlist in a matrix--basically calculate the
covariance matrix and then convert it into a correlation matrix.  The
problem with that answer is that it does not use all the data--basically
the difference between -corr-and -pwcorr-.  Does anyone have a better
answer, one that uses all the data, like -pwcorr- does?


*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index