Statalist The Stata Listserver


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

st: regression with correlation matrix


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   st: regression with correlation matrix
Date   Mon, 9 Apr 2007 16:56:54 -0700 (PDT)

Is there a way to transfer a correlation matrix directly into a matrix
without retyping the results?

something like - mat def Rx = -

Does stata have an ado file that does regression with correlation
coefficients (a la SPSS)?

That is, I would generate the standardized betas something like

-mat def b=inv(Rx)*Ry	where Rx is the matrix of correlations among
Xs and Ry is the vector of correlations with Y.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index