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

st: how to create matrix


From   Oleksandr Shepotylo <[email protected]>
To   statalist <[email protected]>
Subject   st: how to create matrix
Date   Sat, 17 Jul 2004 11:29:36 -0400

Hi,

I have 3 vectors: a,b,c and a matrix W.

What is the simplest way to create

     | b'b      -2a'b                 -1 |
A= | c'c      -2b'c     -Tr(W'W) |
     | b'c  -[a'c+b'b]           0     |

If  you just point me in the right direction that would be great

Thank you,

Oleksandr Shepotylo.


*
*   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