Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: How define an asymmetric matrix on .dta file as an asymmetric matrix in Stata?


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How define an asymmetric matrix on .dta file as an asymmetric matrix in Stata?
Date   Wed, 27 Jul 2011 10:24:52 +0100

. help mkmat

Nick

On Wed, Jul 27, 2011 at 9:50 AM, Erik Aadland <erikaadland@hotmail.com> wrote:

> 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?

*
*   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/


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