Statalist


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

st: RE: Check that recode work


From   DE SOUZA Eric <[email protected]>
To   <[email protected]>
Subject   st: RE: Check that recode work
Date   Tue, 10 Mar 2009 14:01:58 +0100

Eric de Souza
Professor, European Economic Studies
Director, Library
College of Europe
Dyver 11
BE-8000 Brugge (Bruges)
Belgium
Tel.: (32.(0)50) 47 72 23
Fax:: (32 (0)50) 47 72 20
http://www.coleurope.eu

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tomas Lind
Sent: 10 March 2009 13:58
To: [email protected]
Subject: st: Check that recode work

Dear listers,

I would like to see the value of Z for combinations of A and B  (or for
combinations of A, B and C). Missing should be regarded as a category.

I have a large dataset and I generate a new variable Z that depends on
the values of two other category variables A and B. Is there some easy
way to let Stata show me which combinations of A, B and Z that i have
after recoding so that I can see that the result is what I want, e.g.

A  B  Z
1  1   1
1  2   1
1  .    0
2  1   1
etc (other combinations of A and B)


/tomas

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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