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

From |
"Eva Poen" <eva.poen@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: row mean (mean across columns) |

Date |
Thu, 9 Oct 2008 13:55:14 +0100 |

Nick, thank you very much for this very helpful and comprehensive explanation. I have a question/comment on the last paragraph: 2008/10/9 Nick Cox <n.j.cox@durham.ac.uk>: > But there's a larger lesson. * and _all within programs (and also > interactively) will include, necessarily, any temporary variables that > exist. So, looping across varlists defined by such wildcards is a source > of bugs. Arguably, they are yours, not Stata's. It certainly is consequential that * and _all comprise all variables, including existing temporary variables. However, as a user I would expect * and _all to consist only of those variables that existed at the time I issued the command (since these are the only variables I know about; I have little control over what is done internally by command -x-). Anything but this behaviour would vastly reduce the usefulness of * and _all, IMHO. What is the status quo on this? Many Stata commands generate temporary variables; therefore this might be a comprehensive issue for those users making use of * and _all shorthands. Thanks, Eva * * 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/

**Follow-Ups**:**RE: st: RE: row mean (mean across columns)***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**st: row mean (mean across columns)***From:*Jacob Wegelin <jwegelin@vcu.edu>

**st: RE: row mean (mean across columns)***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**Re: st: Re: outreg, outreg2, and the thread-jacking** - Next by Date:
**RE: st: RE: row mean (mean across columns)** - Previous by thread:
**st: RE: row mean (mean across columns)** - Next by thread:
**RE: st: RE: row mean (mean across columns)** - Index(es):

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