Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: AW: RE: -outreg2- super-rows and super-columns |
Date | Thu, 15 Apr 2010 16:23:26 +0200 |
<> " I can't tell, naturally, who contributing to this thread has which version" All my posts were based on the latest -ssc- version. *! outreg2 2.2.3 04apr2009 HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Nick Cox Gesendet: Donnerstag, 15. April 2010 15:22 An: statalist@hsphsun2.harvard.edu Betreff: st: RE: -outreg2- super-rows and super-columns In addition to other comments: I note that -outreg2- has been very recently revised on SSC: the stated date of 4 April 2009 is I think a typo for 4 April 2010. . ssc type outreg2.ado *! outreg2 2.2.3 04apr2009 by roywada@hotmail.com *! based on outreg 3.0.6/4.0.0 by john_gallup@alum.swarthmore.edu I can't tell, naturally, who contributing to this thread has which version, but it may be that different experiences arise because some are and some aren't being bitten by a small bug introduced accidentally during the latest revision. In his help Roy Wada details how to report a possible error. His email address is roywada@hotmail.com "How to report a possible error 1. it's best if you send an example using -sysuse- or -webuse- data 2. create a trace log file containing the error 3. Send them to whoever wrote the thing and ask nicely. cap log close log using mylog.txt, text replace which outreg2 /* or whatever command you are dealing with */ cret list sysuse auto, clear /* or whatever data you are using */ reg rep78 trunk turn foreign /* or whatever you are doing */ set trace on outreg2 using myfile, replace /* or whatever that gets you the error */ log close " Nick n.j.cox@durham.ac.uk Kelvin Tan I follow the helpfile from -outreg2- to create a supper-row, but I obtained the following error message. Can anyone give me some advice on this? variable varname not found r(111); ---- Begin Code ---- sysuse auto, clear reg mpg rep78 head weight turn disp gear outreg2 using myfile, groupvar(Group1 trunk turn head weight Group2) see --- End Code ---- Is it possible to create a "super-column" - a empty column? or is it possible to create a "predicted sign column" (see below) with outreg2 in stata, then covert it into a Latex format? I need this predicted column because it is very hard to create a column in a Latex table. Variable |Predicted Sign| Coefficients trunk (+) -0.316** (0.134) turn (-) -0.761*** (0.131) Constant 55.82*** (4.354) Observations 74 R-squared 0.552 * * 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/ * * 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/