Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: How to get the full matrix from "duncan"?


From   千早 ケンジ <chihayakenji1893@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: How to get the full matrix from "duncan"?
Date   Sat, 24 Apr 2010 18:31:56 +0900

Thank you all for your responses. I added the line defining r(D) as a Stata matrix and it worked. 

My command lines are thus: 

----------------------------------------------------------------------------------------
. duncan var1 var2

. mat D=r(D)

. mat2txt, matrix(D) saving("/Users/chihayakenji/Desktop/mat.txt")

----------------------------------------------------------------------------------------

Please consider this problem answered.

Thank you again for your help

Guilherme Kenji Chihaya
Tohoku U.




*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index