Hi,
I am trying to output the results from -mlogit- (5 categories, 14 vars)
to LaTeX formatted output using -outtable-. I achieve to write them
below eachother with...
mat cs=e(b)'
outtable using c:\tex\test\lu, mat(cs) append center cap("test")
How can I tell -outtable- to format the equations as -outreg- does for
text files?
-outtex- works well, however, the equations are also below eachother in
the LaTeX output.
. outtex, long file(c:\tex\test\outtext) replace
Especially appealing with -outtex- is the -long- option.
One possibility might be to use the -parmest- package, downloadable from
SSC, which saves estimation results to an output data set with 1
observation per parameter (or one observation per parameter per by-group)
and data on equation names, parameter names, parameter estimates,
confidence limits, P-values and other parameter attributes specified by the
user. (Type -ssc desc parmest- to find out more.) When you have created
this output data set, you can reformat it using the official Stata command
-reshape- (see -[R] reshape- or -help reshape-). You can also make other
changes to the data set (eg change formats and/or variable and value
labels). You can then output the data set to a TeX file using James
Hardin's -textab- or possibly my own -listtex-, which can be found using
-findit textab- and -findit listtex-.