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

st: -dummieslab- on SSC


From   philippe.vankerm@ceps.lu
To   statalist@hsphsun2.harvard.edu
Subject   st: -dummieslab- on SSC
Date   Thu, 16 Sep 2004 10:04:00 +0200






Let me add my voice to the new package anouncements...

Thanks to Kit Baum, the package -dummieslab- is available on SSC.

-dummieslab- is a utility to generate a set of dummy variables
from a categorical variable. One 0/1 dummy variable is created for
each level of the original variable. The special feature is that names
for the dummy variables are derived from the value labels of
the categorical variable.

ssc describe dummieslab   // for a description
ssc install dummieslab  // for installation

It is a recent query on Statalist by Nelson Lim that provided the incentive
to blow the dust off an undocumented program. Nick Cox took and improved
the code, and voilą.


Hope this will help.


Philippe


------------------------------------------------------------------------
TITLE
      'DUMMIESLAB': module to convert categorical variable to dummy
      variables using label names

DESCRIPTION/AUTHOR(S)

      dummieslab generates a set of dummy variables from a categorical
      variable. One dummy variable is created for each level of the
      original variable. Names for the dummy variables are derived from
      the value labels of the categorical variable.

      Distribution-Date: 20040915

      Author: Philippe Van Kerm, CEPS/INSTEAD
      Support: email philippe.vankerm@ceps.lu

      Author: Nicholas J. Cox, University of Durham
      Support: email N.J.Cox@durham.ac.uk
-------------------------------------------------------------------------




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept for the presence of computer viruses.

**********************************************************************


*
*   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