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

From |
"Maarten Buis" <M.Buis@fsw.vu.nl> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: RE: RE: variable mean and r(mean), why do they differ? |

Date |
Fri, 25 Nov 2005 11:32:19 +0100 |

For an interesting post by William Gould on precision see: http://www.stata.com/statalist/archive/2005-11/msg00104.html ----------------------------------------- Maarten L. Buis Department of Social Research Methodology Vrije Universiteit Amsterdam Boelelaan 1081 1081 HV Amsterdam The Netherlands visiting adress: Buitenveldertselaan 3 (Metropolitan), room Z214 +31 20 5986715 http://home.fsw.vu.nl/m.buis/ ----------------------------------------- -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Maarten Buis Sent: vrijdag 25 november 2005 10:59 To: statalist@hsphsun2.harvard.edu Subject: st: RE: RE: RE: variable mean and r(mean), why do they differ? Use -gen double varname = r(mean)- instead of -gen varname = r(mean)-. In my example the mean of price three deviates from zero in the fourteenth decimal place, which is as close to zero as you could hope to get in a normal computer program. ----------------------------------------- Maarten L. Buis Department of Social Research Methodology Vrije Universiteit Amsterdam Boelelaan 1081 1081 HV Amsterdam The Netherlands visiting adress: Buitenveldertselaan 3 (Metropolitan), room Z214 +31 20 5986715 http://home.fsw.vu.nl/m.buis/ ----------------------------------------- -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Raoul C Reulen Sent: vrijdag 25 november 2005 10:30 To: statalist@hsphsun2.harvard.edu Subject: st: RE: RE: variable mean and r(mean), why do they differ? Thanks Maarten, In my analysis it does make a difference. I have to calculate numerous mean values, sum them to obtain one variable and then I have to multiply this by a large factor before I can use it. Any suggestions? Thanks again. Raoul * * 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/

- Prev by Date:
**st: RE: RE: RE: variable mean and r(mean), why do they differ?** - Next by Date:
**st: RE: RE: RE: variable mean and r(mean), why do they differ?** - Previous by thread:
**st: RE: RE: RE: variable mean and r(mean), why do they differ?** - Next by thread:
**st: RE: variable for birth order** - Index(es):

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