From | "Michele Favre M." <[email protected]> |
To | [email protected] |
Subject | st: Stata, create a special dummy |
Date | Fri, 17 Jun 2005 16:45:17 -0400 |
I need help with some Stata command that I haven’t
been able to find… I have a panel data like the following Men
Fund
Date
Dummy 1
A
20040630
0 1
A
20040730
0 1
A
20040830
1 1
B
20040830
1 1
B
20040930
0 2
C
20040630
1 2
D
20040630
1 2
D
20040730
0 3
C
20040630
0
3
C
20040730
0 3
C
20040830
0 3
C
20040930
1 3
D
20040930
1 As you can see, I have multiple observations per
person at a single date, and I need a command that helps me create a Dummy, as
shown in the example above. Because I have to consider only one move per month
(no matter the fund) , for example I have to consider for Men=1 only 4 observations
(notwithstanding there are 5 observations for Men = 1). Michele Favre Morel Economista Servicio de
Estudios BBVA |
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |