Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Arranging variables across rows

From   samuel gyetvay <>
Subject   Re: st: Arranging variables across rows
Date   Wed, 27 Jun 2012 14:07:20 -0400

Sorry, actually, the code is wrong in a different way: it creates a
dummy variable equal to 1 if any B is equal to A along the same row.
So in the case

(A1)  (A2)  (A3)  (A4)  (B1)  (B2)  (B3)  (B4)
101   102   103  104     .      101   .       .

you get D1, D2, D3, D4 all equal to 1

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index