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 on April 23, and its replacement, is already up and running.

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

st: Problem with mat2txt

From   "Fitzgerald, Robert" <>
To   <>
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

Suggestions appreciated.



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

*   For searches and help try:

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