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]

Re: st: Can't get tabxml to work


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Can't get tabxml to work
Date   Thu, 6 Jan 2011 16:34:57 +0000

"the national study"? Lots of nations are represented on this list....

That aside, I can't see that it is documented but -tabxml- (from SSC)
evidently requires prior installation of -matsum- from

STB-39  dm49  . . . . . . . . . . . . . . . . . . . . Some new matrix commands
        (help matfunc, varfunc if installed)  . . . . . . . . . . .  J. Weesie
        9/97    pp.17--20; STB Reprints Vol 7, pp.43--48
        collection of new matrix commands; several for explicit matrices
        and a few for implicit matrices (i.e., variables)
        see mata matrix language incorporated into Stata 9

I can't say what else may be required but not documented, as this
desire to convert to XML for Excel use is not one I've ever shared.

Nick

On Thu, Jan 6, 2011 at 4:25 PM, Scott Talkington <[email protected]> wrote:

> I'm attempting to analyze some data from the national longitudinal study of
> youth and output some simple tables to an Excel file that I can then map
> into an Excel workbook template.  At this point I don't care where the data
> is stored, I just want to get some output.
>
> I want to look at a binary dependent variable for whether the respondent has
> ever been convicted of a crime, by a discrete independent variable
> indicating church attendance (4 categories).  I may add a second independent
> variable later.  I'm just interested  in the percentages and frequencies,
> but can format the output in Excel so don't even care if it's just a decimal
> proportion.  (i.e. means for 0=never convicted vs 1=at least one
> conviction).
>
> After installing the package and typing in the command line:
>
> .tabxml, dv(con) ivd(church) options(n mean) osvy
>
> I get the error the following error.
>
> unrecognized command:  matsum
> r(199);
>
> I can't find any information on this error, and haven't even issued a
> "matsum" command so it must be coming from the tabxml ado file.  Is this
> another package I need to install, or something that's just not working?
>
> I'm using Stata Version 10.1 (the latest update).  I've also tried updating
> the tabxml package but it's apparently already updated.
>
> There's nothing terribly sophisticated about the statistics, although I
> would like to get the chi-sq and pvalues or an F statistic for the bivariate
> model.

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