| ![]() |
From | Kit Baum <baum@bc.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Re: triangular matrices |
Date | Sat, 18 Nov 2006 09:06:29 -0500 |
Thanks for that solution -- it points me towards Mata which I had been studiously ignoring. Unfortunately, if I understand things correctly, this introduces a size limitation: for an m*m dissimilarity matrix, the "mkmat v3,mat(a)" statement will create an m*(m-1)/2 vector. If I want m to run up close to the "set matsize" limit, this is not possible. (My understanding might be wrong: if I say "set matsize 100" I can create 100*100 matrices but not 101*1 vectors?).
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |