[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: regression with correlation matrix
At 06:56 PM 4/9/2007, Caleb Southworth wrote:
See pages 8-10 of
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.
or else possibly
The first shows you how to analyze a correlation matrix when you
don't have the original raw data, e.g. you are working from a printed
article. The 2nd shows you how you can use matrix functions to
create a correlation matrix and do your own regression analysis.
Incidentally, -regi- (where i = immediate) would be a logical command
for Stata to have, given that it has other immediate commands (e.g.
-ttesti-), but as far as I know no one has written it.
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
* For searches and help try: