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: -outreg- issue


From   John Luke Gallup <[email protected]>
To   [email protected]
Subject   Re: st: -outreg- issue
Date   Thu, 16 Aug 2012 11:47:45 -0700

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