matthieugomez / sumup

summarize by groups in Stata
MIT License
26 stars 6 forks source link

Obs missing #2

Closed divenyijanos closed 9 years ago

divenyijanos commented 9 years ago

For some reason, sumup gives me missing values for number of observations. I use Stata 13.1 on Ubuntu 14.04.

. sysuse nlsw88.dta, clear
(NLSW, 1988 extract)

. sumup wage, by(race) 

 race  |       Obs    Missing       Mean  Std. Dev.        Min        Max 
-------+------------------------------------------------------------------
white  |          .          0   8.082999   5.955069   1.004952   40.19808
black  |          .          0   6.844558   5.076187   1.151368   40.74659
other  |          .          0   8.550781    5.20943    1.80602   25.80515
-------+------------------------------------------------------------------
Total  |          .          0   7.766949   5.755523   1.004952   40.74659
--------------------------------------------------------------------------

Any idea why this is happening?

matthieugomez commented 9 years ago

I introduced a typo in the last update. Just corrected it. Thanks.