Bookmark and Share

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]

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


From   Erik Aadland <[email protected]>
To   <[email protected]>
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: [email protected]
> To: [email protected]
>
> . help mkmat
>
> Nick
>
> On Wed, Jul 27, 2011 at 9:50 AM, Erik Aadland <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index