Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: Features for Stata 14


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: RE: Features for Stata 14
Date   Thu, 13 Feb 2014 18:31:08 +0000

Thanks for the courtesy but the history of -tabnl- began and ended
with that post, at least as far as I am concerned, so you have missed
nothing.

One line is that this is typically three commands without using any
user-written stuff:

. sysuse auto, clear
(1978 Automobile Data)

. numlabel origin, add

. tab foreign

   Car type |      Freq.     Percent        Cum.
------------+-----------------------------------
0. Domestic |         52       70.27       70.27
 1. Foreign |         22       29.73      100.00
------------+-----------------------------------
      Total |         74      100.00

. numlabel origin, remove

. tab foreign

   Car type |      Freq.     Percent        Cum.
------------+-----------------------------------
   Domestic |         52       70.27       70.27
    Foreign |         22       29.73      100.00
------------+-----------------------------------
      Total |         74      100.00

but if you are saying that you want it as an option to -tabulate-,
that's presumably noted by StataCorp.

Nick
[email protected]


On 13 February 2014 18:14, Bert Lloyd <[email protected]> wrote:
> Add a "both" option to -tab- that displays both numeric values and
> value labels, i.e. similar to -tabnl- from Nick Cox found here:
>
> http://www.stata.com/statalist/archive/2007-03/msg00601.html
>
> (There may be a more recent or authoritative version of -tabnl-
> elsewhere, apologies if so. -findit tabnl- did not return anything.)
> *
> *   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/
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index