Statalist


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

Re: st: list if r==0.01 not working


From   "Eva Poen" <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: list if r==0.01 not working
Date   Fri, 26 Sep 2008 11:19:46 +0100

Paul,

this is an faq: http://www.stata.com/support/faqs/data/float.html

Hope this helps,
Eva


2008/9/26 Paul O'Brien <paul.obrien@afe2.org.uk>:
> i am sure there is a very simple answer but i can't find it - i have
> searched!
>
> r is a float
>
> . list if r==0.01
>
> i get no output, but if i use relational operators i get this.
>
> . list r if r>0 &r<0.02
>
>      +-----+
>      |   r |
>      |-----|
>  43. | .01 |
>  44. | .01 |
>  45. | .01 |
>  46. | .01 |
>  47. | .01 |
>      |-----|
>  48. | .01 |
>  49. | .01 |
>  50. | .01 |
>  51. | .01 |
>  52. | .01 |
>      |-----|
>  53. | .01 |
>  54. | .01 |
>  55. | .01 |
>  56. | .01 |
>  57. | .01 |
>      |-----|
>  58. | .01 |
>      +-----+
> where am i going wrong?
>
> paul
> -------------------------------
> Dr Paul O'Brien
> Raymede Clinic
> Westside Contraceptive Services
> Westminster Primary Care Trust
> Exmoor St
> London
> W10 6DZ
> UK
> 44 + (0)20 8962 4450
*
*   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   |   What's new   |   Site index