Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Covariance matrix of independent variables


From   "Hoetker, Glenn" <ghoetker@uiuc.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Covariance matrix of independent variables
Date   Mon, 18 Nov 2002 10:16:30 -0600

I need to place the covariance matrix of my RHS variables into a matrix
for further manipulation.  

In the entry for correlate (page 318 of REF[A]), I find how to put the
correlation matrix into a variable, but not the covariance matrix.
Since I have only 3 variable, I could do so mechanically by populating a
matrix with the results of corr,cov manually, but I'm wondering how to
do it for a larger set of RHS variables.

Many thanks for any hints.  I've looked through the help and manuals
repeatedly, but I still feel like I'm missing something obvious.

Glenn

Glenn Hoetker
Assistant Professor of Strategy
College of Commerce & Business Administration
University of Illinois at Urbana-Champaign
(217) 265-4081
ghoetker@uiuc.edu


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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