Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sorting


From   Doug Owens <owens.doug@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: sorting
Date   Mon, 14 Mar 2005 17:23:56 -0500

oops, typo in example 1.

> Example 1 (changing sort order):
> clear
> set obs 100
> g x = _n
> g herbal = _n>25 & _n<=75
> sort grade
> l x in 1/10, clean noo

The line should read
"sort herbal" not "sort grade".

The questions stand.
*
*   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/



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