Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Difference between codebook and count


From   "Carlo Lazzaro" <[email protected]>
To   <[email protected]>
Subject   st: Difference between codebook and count
Date   Fri, 13 Jul 2007 09:36:26 +0200

Dear Statalisters,

I have experienced the following problem (please, see details below) with .2
value, which is reported with codebook but seemingly ignored with count. 

Any hint would be highly appreciated.

Thanks a lot for Your Kindness and for Your time.

Kind Regards,

Carlo


. codebook dosea1

----------------------------------------------------------------------------
-------------------------
dosea1
(unlabeled)
----------------------------------------------------------------------------
-------------------------

                  type:  numeric (float)

                 range:  [.2,1]                       units:  .1
         unique values:  3                        missing .:  0/141

            tabulation:  Freq.  Value
                             1  .2
                           139  .5
                             1  1

. count if dosea1!=.5
    2

. count if dosea1==1
    1

. count if dosea1==.2
    0

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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