Hi All,
I am trying to make a *symmetic* matrix M like:
h11
h21 h22
h31 h32 h33
h41 h42 h43 h44
The codes:
gen double??? h11
gen double??? h21
gen double??? h31
gen double??? h41
gen double??? h22
gen double??? h32
gen double??? h42
gen double??? h33
gen double??? h43
gen double??? h44
mkmat h*, mat(M)
What's the difference with and without -double-?
Jingjing
*
* 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/