Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Labeling values of variables


From   "Peter Dijkstra" <ptdijkstra@gmx.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: Labeling values of variables
Date   Thu, 14 Feb 2008 14:56:08 +0100

Dear Statalisters,

I like to have sensible value labels of variables, and use
   label define relation 0 "single" 1 "married" 2 "divorced"
   label define sex 0 "female" 1 "male"
in StataSE 8.2. However, when using
   xi i.relation * i.sex
the labels automatically become "relation==1 & sex==1", "relation==2 & sex==1". How do I obtain labels which say "married male" and "divorced male"?

@Nick: I know that I have to mention my version of Stata, but sometimes I do forget...sorry.

Cheers, Peter
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free
*
*   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