Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: matrix question


From   Tirthankar Chakravarty <[email protected]>
To   [email protected]
Subject   Re: st: matrix question
Date   Sat, 8 Aug 2009 20:54:13 +0100

<>
mat define A =  (1, 1, 1\2, 2, 2)
matlist A
matlist A'
mat define B = A'
matlist B

Glad it worked. I think your issues were with -clear-ing previous
results, however, I cannot be sure. Try it at work with

drop A
clear results

after running the first set with the "auto" dataset.

T

On Sat, Aug 8, 2009 at 8:40 PM, moleps islon<[email protected]> wrote:
> After saving the prg stub at work and opening it again at my
> home-computer it works (I have no idea why-exactly the same stub).
> However-is there an easy way to make it a 8 row * 3 column matrix
> instead of 3 row*8 columns?
>
> Moleps
> *
> *   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/
>



-- 
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).

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