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

From |
Michael Hanson <mshanson@mac.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: how to select all the numerical variable |

Date |
Sat, 20 Jun 2009 09:40:26 -0400 |

replace `var' = . if float(`var') == float(0.0001)

On Jun 19, 2009, at 1:37 PM, Dan Blanchette wrote:

ds, has(type numeric) foreach var of varlist `r(varlist)' { replace `var' = . if `var' == 0.0001 }

On Jun 19, 2009, at 2:31 PM, Kit Baum wrote:

ds, has(type numeric) mvdecode `r(varlist)' , mv(0.0001)

On Jun 20, 2009, at 8:43 AM, Roy Wada wrote:

for var _all : cap replace X=. if X==0.0001

HTH, Mike * * 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/

**References**:**st: how to select all the numerical variable***From:*"Martin Wang" <zwang215@gmail.com>

**RE: st: how to select all the numerical variable***From:*Roy Wada <roywada@hotmail.com>

- Prev by Date:
**Re: AW: st: AW: beta coefficients for interaction terms** - Next by Date:
**Re: st: how to select all the numerical variable** - Previous by thread:
**RE: st: how to select all the numerical variable** - Next by thread:
**Re: st: how to select all the numerical variable** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |