Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/