Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: triangular matrices


From   Brendan Halpin <brendan.halpin@ul.ie>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: triangular matrices
Date   Sat, 18 Nov 2006 18:48:43 +0000

Kit Baum <baum@bc.edu> writes:

> Elementary, my dear Brendan. No need to do anything in the Stata
> matrix language in order to get the Stata variable into Mata. If
> you  want to do anything with matrices, you should pick up some
> familiarity with Mata; it makes life a lot simpler.
>

[...]

> mata:
> st_view(a=., ., "v3")
> st_matrix("b",invvech(a))

Thanks again -- views are neat. I've taken the Mata manual home for
weekend reading. As I said, I've been avoiding thinking about Mata,
as I've just invested a good deal of effort in learning to write
plugins to do something I suspect Mata could do...


Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index