help corrsq
--------------------------------------------------------------------------------------------------------------------------------------------
Title
corrsq -- Displays matrix of squared correlation coefficients
Syntax
corrsq [, matrix(mat_name) ]
options description
--------------------------------------------------------------------------------------------------------------------------------------
Main
matrix() Use correlation matrix other than r(C)
--------------------------------------------------------------------------------------------------------------------------------------
Remarks
corrsq displays matrix of squared correlation coefficients following correlate command. Starting with the 28Feb2008 update of version
10.0, Stata saves a copy of the correlation matrix in r(C). Alternatively, you can specify any correlation matrix using the matrix
option.
Examples
. corr read write math science
. corrsq
. matrix c = (1,.6.6,1)
. corrsq , matrix(c)
Author
Phil Ender
Statistical Consulting Group
UCLA Academic Technology Services
ender@ucla.edu
