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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: -outreg- issue


From   "arosella" <arosella@irccsdebellis.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -outreg- issue
Date   Thu, 16 Aug 2012 21:33:13 +0200

thank you for your soon reply. I'm running Repeated mesurement ANOVA. The e(b) matrix looks that this:
. matrix list e(b)
e(b)[1,14]
                              1b.             2.       1b.Time|       1b.Time|
              Age      Treatment      Treatment   1b.Treatment   2o.Treatment
y1      .27339102              0      1.5003282              0              0
           3.Time|        3.Time|            1b.             2.  1b.Treatment#
     1b.Treatment    2.Treatment          Sesso          Sesso       1b.Sesso
y1     -1.9070616     -2.6044487              0      10.817939              0
     1b.Treatment#  2o.Treatment#   2.Treatment#               
         2o.Sesso       1b.Sesso        2.Sesso          _cons
y1              0              0     -2.0390629      17.466469
 
So  I took the coefficient name ( 1b.Time| 1b.Treatmen and so on ) to put it into the drop() option . I've an other way by naming this coefficient with a more elegant
name. 
Thank you again. 
 
Alberto R. Osella
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
tel: +39 0804994655
fax: +39 0804994650
e-mail: arosella@irccsdebellis.it



Da: owner-statalist@hsphsun2.harvard.edu
A: statalist@hsphsun2.harvard.edu
Cc: 
Data: Thu, 16 Aug 2012 11:47:45 -0700
Oggetto: Re: st: -outreg- issue


> Alberto,
> 
> The problem is using the "|" (the "or" character in Stata) in the -drop- option coefficient list. I can't find any evidence that the "|" is allowed as part of factor variables notation, and it is not accepted by -outreg-. I am also not clear on what you are trying to accomplish with the "|" character.
> 
> John
> 
> On Aug 16, 2012, at 4:39 AM, arosella wrote:
> 
> > I'm using -outreg- from scc(downloaded on August 14, 2012) on a W7 PC (Stata 12.1).
> > When I try to drop some coefficient from the table produced by -outreg- I get an error:
> > . outreg using E:\Alberto\Papers\WorkingPapers\Nutriepatt\Tabelle\ANOVA_Biochemi
> >> cal, ///
> >> bdec(2 2 2)replace title("ANOVA: Effects of Treatment and Time on Some Biolog
> >> ic al Markers"\ ///
> >> "Nutriepatt, Putignano, BA, Italy 2012") ///
> >> varlabels rtitles("Age(years)"\""\"Treatment(referent)"\"Treatment(Mix)"\""\"T
> >> ime*Treatment(Mix)"\""\"Gender(referent)"\"Gender(Female)"\""\"Treatment(Mix)*
> >> Female") ///
> >> drop(1b.Time|1b.Treatment 1b.Time|2oTreatmen 1b.Treatment#1b.Sesso 1b.Treatmen
> >> t#2o.Sesso 2o.Treatment#1b.Sesso) merge ///
> >> note("No Absence, M Mild, mo more, Mo Moderate, Se Severe, le less"\"SEP Socio
> >> -Economic Position, Std-BMI Standardized Body Mass Index")
> > 
> > '|' not allowed in varlist
> > in keep() or drop() option
> > r(198);
> > I took a look to the e(b) matrix and the coefficient name is correct, 
> > Can someone help me? 
> > Thank you in advance. 
> > 
> > Alberto R. Osella
> > Laboratorio di Epidemiologia e Biostatistica
> > IRCCS Saverio de Bellis
> > Via Turi, 27
> > 70013 Castellana Grotte (BA)
> > Italia
> > tel: +39 0804994655
> > fax: +39 0804994650
> > e-mail: arosella@irccsdebellis.it
> > 
> > 
> > *
> > * 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/


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