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, statalist.org is already up and running.


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

st: -univar-, condition on a string variable and Stata 11


From   "Herve STOLOWY" <stolowy@hec.fr>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -univar-, condition on a string variable and Stata 11
Date   Tue, 16 Mar 2010 13:53:32 +0100

Dear All:

I have a strange phenomenon with -univar- (downloadable from ssc).

I run the following command and get an error message

univar time_lag if  decision_editoriale!="Reject"
Reject not found
r(111);

decision_editoriale is a string variable.

I am almost sure that I used this command many times with Stata 10 without any problem.

When I use -summarize-, I have no problem.

. su time_lag if  decision_editoriale!="Reject"

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
    time_lag |        20       80.65    23.74708         42        137

Would you have any idea?

Best regards

Herve Stolowy




***********************************************************
Professeur/Professor
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/


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