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 at the end of May, and its replacement, 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" <>
To   <>
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

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

HEC Paris
Departement Comptabilite Controle de gestion / Dept of Accounting and Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr

*   For searches and help try:

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