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 at the end of May, 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   Erik Aadland <erikaadland@hotmail.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:18:42 +0000

Thank you, Nick.
 
Kind regards,
 
Erik.
 


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