Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: RE: matrix algebra


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: RE: matrix algebra
Date   Wed, 2 Oct 2002 22:52:40 +0100

Michael Blasnik
> 
> Unless I'm misreading what you want, why don't you just use:
> 
>  mat accum a1 a2 a3 [aw=e]
> 
> or some variant (aw=1/e?) that employs mat accum's weight option.
> 
> I think, for your problem's size (n=20,000), Nick's 
> suggested solution
> exceeds the limits of even Stata SE (which I think is 
> 11,000 x 11,000 on
> matrices).

Correct, of course. Although the matrix desired is 
k X n X n X n X n X k = k X k,
no imtermediate step creating an n X n matrix is any 
use if n is bigger than the Stata limit. 

Nick 
[email protected] 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index