Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
annoporci <annoporci@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: Re: st: Tabulate summary statistics by percentiles and save output |

Date |
Sat, 29 Dec 2012 07:03:05 +0800 |

Nick wrote:

One problem here is where you think Stata is looking for saved resultssuch as r(p1). Either non-missing values are accessible because theywere left behind by some _previous_ command; or Stata will use missingvalues, which in your case will result in lack of restriction on theobservations used. It's not an error to refer to saved results thatdon't exist.

I get it!

foreach var of varlist `variables' { quietly summarize `var', detail

quietly summarize `var', detail

} Thanks Nick. Nick wrote:

You refer here to several user-written commands but in no case do youexplain where they come from.

Thanks, -- Patrick Toche. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: Re: st: Tabulate summary statistics by percentiles and save output***From:*Nick Cox <njcoxstata@gmail.com>

**References**:**st: Tabulate summary statistics by percentiles and save output***From:*annoporci <annoporci@gmail.com>

**Re: st: Tabulate summary statistics by percentiles and save output***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Re: Re: Re: st: Regaining control over axis ranges** - Next by Date:
**st: CEM speed up.** - Previous by thread:
**Re: st: Tabulate summary statistics by percentiles and save output** - Next by thread:
**Re: Re: st: Tabulate summary statistics by percentiles and save output** - Index(es):