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]

st: set value to zero in a Matrix


From   Jörg Eulenberger <j.eulenberger@web.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: set value to zero in a Matrix
Date   Tue, 05 Mar 2013 13:22:48 +0100

Dear Statalisters,
i have a problem with matrix.
After a factor analysis i want tabulate the results (varimax with
blanks) with esttab.
But the Matrix "e(r_L)" include all value.  For esttab, i want set the
value smaller than .04 to zero (like the blanks-subcommand).
i found functions like mm_cond and mf_editvalue but nothing works.

Any suggestions?

**********
use "http://www.ats.ucla.edu/stat/stata/output/m255";, clear
factor item13-item24, pcf
rotate, varimax horst blanks(.4)
matrix list e(r_L)
esttab, cells("r_L[1](t label(Factor 1)) r_L[2](t label(Factor 2))")
nogap noobs nonumber nomtitle label

******************

Thanks,
Jörg
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index