Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: How define an asymmetric matrix on .dta file as an asymmetric matrix in Stata?
From
Erik Aadland <[email protected]>
To
<[email protected]>
Subject
st: How define an asymmetric matrix on .dta file as an asymmetric matrix in Stata?
Date
Wed, 27 Jul 2011 08:50:33 +0000
Dear statalist.
I have fairly large asymmetric matrices (e.g. 200 by 200) from which I want to compute eigenvalues using the command:
matrix eigenvalues r c = A
Each of my asymmetric matrices are stored as separate .dta files and have the following general structure:
A B C D
A 0 0 1 0
B 2 0 0 1
C 3 1 0 2
D 1 0 2 0
How do I define each of these .dta files as the asymmetric matrix A so that Stata understands that the matrix in the .dta file is in fact an asymmetric matrix? As far as I can see, I need to do this in order to execute the command: matrix eigenvalues r c = A
Is there a simple command/way to accomplish this?
Thank you and kind regards,
Erik.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/