Statalist


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

Rép. : st: Re: Exporting results after -table-


From   "Herve STOLOWY" <[email protected]>
To   <[email protected]>
Subject   Rép. : st: Re: Exporting results after -table-
Date   Tue, 09 Dec 2008 22:08:45 +0100

Dear Martin:

Thank you for the example.

Here is my syntax:

tabout risk info  using table.txt  , c(mean return) sum replace style(tab)

This works.

Unfortunately, when I insert the conditions with if, I get 0s in all the cells.

tabout risk info  if round>7 & round<26 & win==1 & > offer==1 using table.txt  , c(mean return) sum replace style(tab)

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 21:29 >>>
I do not think that you had those commas in your original command...

Here is a tabout example:


***********
cap ssc inst tabout
sysuse auto, clear
table r f if w>1600, c(mean mp) row col
tabout r f using table.txt if w>1600, ///
c(mean mp) sum replace style(tab)
***********


HTH
Martin
_______________________
----- Original Message ----- 
From: "Herve STOLOWY" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 09, 2008 8:49 PM
Subject: st: Exporting results after -table-


> Dear Statalisters:
>
> Do you know a way to export results in a tab-delimited file after 
> the -table- command?
>
> My command line is the following:
>
> table risk info , c(mean return) row col, if round>7 & round<26 & win==1 & 
> offer==1
>
> 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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index