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 on April 23, and its replacement, is already up and running.

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

Re: st: -esttab- question

From   carsten sauer <>
Subject   Re: st: -esttab- question
Date   Mon, 01 Aug 2011 14:50:54 +0200

1. you have to specify the coefficient you like to label

2. nocon option should work, otherwise put it in the drop option

sysuse auto
xi: sqreg  price mpg i.rep78, q(.47 .83) reps(100)
esttab, wide nocon coefl(mpg "test") not se
esttab, wide coefl(mpg "test") not se drop(_cons)

best, carsten

Am 01.08.2011 14:24, schrieb Alberto R Osella:
Hellow Everyone
I'm using Stata 11.2 on W7 32.
After fitting this quantile regression

 xi: sqreg BMI  Etarecl i.TitStudio  Num_nucleo  i.Sesso  i.NewStatCiv  i.Professione1  i.Gram_Alc_V_G_C ///
i.Gram_Alc_B_G_C i.Gram_Alc_L_G_C i.scalacat, q(.47 .83) reps(100)

I've tried this table with _esttab_  from ssc

esttab using E:\Alberto\Papers\WorkingPapers\Nutriep\Paper_Obesity\Obesity-Latex\example.tex,  ///
replace   mtitles("Overweight" "Obesity") b(%12.2f)not ci(%12.2f) wide nonumbers ///
coeflabels("Age" "Sex(Female)" "Divorced" "Widowed" "Married" "Worker" "Employee" "Housewife" "Student"  ///
"Craftsman" "Farmer" "Freelance" "Elementary School" "Middle School" "High School" "College" "Household Number"  ///
"Less than 5gr Wine Daily" "5-9.9gr Wine Daily" "More than 10gr Wine Daily"  ///
"Less than 5gr Beer Daily" "5-9.9gr Beer Daily" "More than 10gr Beer Daily"  ///
"Less than 5gr Spirits Daily" "5-9.9gr Spirits Daily" "More than 10gr Spirits Daily") ///
nocon drop(Età_q)unstack

But I get a table with the constant included and without changing in the coefficient labels.
Something wrong in the code?
Can you help me?


Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479 

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index