Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Problem with mat2txt


From   "Fitzgerald, Robert" <[email protected]>
To   <[email protected]>
Subject   st: Problem with mat2txt
Date   Thu, 30 May 2013 19:23:34 -0400

I am trying to output the results of svy: tabulate to a textfile using
the mat2txt user-written procedure (SSC).

testvar has a range of 0-60 and the results are the simple percentage of
cases with each value (i.e., a frequency distribution).

My commands:
svy: tabulate testvar
mat testme=e(b)


Stata returns:

mat list testme
{returns testme[1,61] and the individual cell entries, not shown}

. mat2txt testme, saving(test)
varlist not allowed
r(101);

Suggestions appreciated.

Thanks.

Bob



Robert Fitzgerald
Senior Research Associate
Education Studies Division
RTI International, Inc.
2150 Shattuck Avenue Suite 800
Berkeley, CA 94704
(510) 665-8203

www.rti.org




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