Herve,
what is it exactly that you need from -anova-`s output? Just specify in
terms of the example I provide. Getting the p-values is easy, as you can
see. Does anyone know how I could specify the upper bound of the -forv- so
that it would work with any number of covariates? I cannot find a returned
value that would give me this number...
*******
webuse systolic, clear
anova systolic drug disease drug* disease
di in red "Model: " %5.4fc 1-F(e(df_m),e(df_r),e(F))
forv i=1/3{
di in red "Covariate `i': " %5.4fc 1-F(e(df_`i'),e(df_r),e(F_`i'))
}
*******
HTH
Martin
_______________________
----- Original Message -----
From: "Herve STOLOWY" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 09, 2008 10:14 PM
Subject: Rép. : RE: Rép. : st: RE: Exporting results after -anova-
[with -estout-?]
Dear Martin:
Thank you for the tip. I am a great fan of -estout- and have used it a
lot. For the moment, I don't see how it could work. I know that I can
get a regression with anova, regression. I have done this but I still
need the p-values for my variables: risk, info and risk*info (the ones
displayed after anova).
Best regards
Herve
***********************************************************
Professeur/Professor
President of the French Accounting Association (AFC)
HEC Paris
Departement Comptabilite Controle de gestion / Dept of Accounting and
Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://www.hec.fr/stolowy
"Martin Weiss" <[email protected]> 09/12/08 14:19 >>>
Line for the server...
Type -ssc hot- to see the candidates for your task. -outreg2- and
-estout-
can do it. My attempts at a solution for you are currently choking on
the
fact that -e(b)- after -anova- is not part of what you want to see in
your
output file. Rather, you want all of those ereturns like - e(mss)- in
there... I will let you know when I got it :-)
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Herve STOLOWY
Sent: Tuesday, December 09, 2008 2:06 PM
To: [email protected]
Subject: Rép. : st: RE: Exporting results after -anova-
Dear Martin:
Thank you for your reply. I looked at the tabletutorial file but did not
find anything specific on -anova-. Should I use the saved results and
matrices?
Best regards
Herve
***********************************************************
Professeur/Professor
President of the French Accounting Association (AFC)
HEC Paris
Departement Comptabilite Controle de gestion / Dept of Accounting and
Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://www.hec.fr/stolowy
"Martin Weiss" <[email protected]> 09/12/08 13:29 >>>
Line for the server...
You might want to consult - ssc d tabletutorial-. Is your -if- qualifier
material to the problem?
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Herve STOLOWY
Sent: Tuesday, December 09, 2008 1:21 PM
To: [email protected]
Subject: st: Exporting results after -anova-
Dear Statalisters:
I run the following anova command:
anova return info risk info*risk if round>7 & round<26 & offer==1 &
win==1
Would you know a way to export the output (or part of the output) into a
tab-delimited file?
Best regards
Herve Stolowy
***********************************************************
Professeur/Professor
President of the French Accounting Association (AFC)
HEC Paris
Departement Comptabilite Controle de gestion / Dept of Accounting and
Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://www.hec.fr/stolowy
*
* 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/
*
* 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/