Dear colleagues,
I am quite new to stata and looking for advise on how to group repeated use of bonds on the same day[Date] with different value dates [ValueDate] in a graph. The [Date] variable should be grouped on the x axis -for instance all days in 02/10/2014 should be in one group but linked to different dates [ValueDate] on the Y axis. suggestions on which types of graphs in stata that could best represent this scenario would be useful.
please see a sample of the dataset below. I tried egen but I received an error message - variable not found.
the data is confidential so I cannot provide it in dataex as previously advised. Thanks again for the help and support.
Date | ISIN | asset val | group | id | ValueDate | BookValue |
02/10/2014 | xx1 | 15 | Jum | PT1 | 04/11/2014 | 145 |
02/10/2014 | xx2 | 20 | Pfand | ex5 | 11/12/2014 | 218 |
02/10/2014 | xx3 | 25 | loans | ex10 | 26/11/2014 | 16 |
02/10/2014 | xx4 | 30 | shares | ex15 | 27/10/2014 | 18 |
02/10/2014 | xx4 | 35 | securities | ex20 | 16/12/2014 | 57 |
02/10/2014 | xx5 | 40 | ABS | ex21 | 22/12/2014 | 58 |
07/10/2014 | xx1 | 48 | Jum | PT1 | 06/11/2014 | 118 |
07/10/2014 | xx21 | 36 | Pfand | ex5 | 27/10/2014 | 227 |
07/10/2014 | xx33 | 10 | loans | ex10 | 07/11/2014 | 316 |
07/10/2014 | xx40 | 18 | shares | ex15 | 04/11/2014 | 211 |
07/10/2014 | xx42 | 12 | securities | ex20 | 12/11/2014 | 108 |
07/10/2014 | xx51 | 10 | ABS | ex21 | 11/12/2014 | 421 |
07/10/2014 | xx51 | 5 | jum | f12 | 18/11/2014 | 14 |
14/10/2014 | xx1 | 15 | Jum | PT1 | 27/11/2014 | 145 |
14/10/2014 | xx2 | 20 | Pfand | ex5 | 19/11/2014 | 218 |
14/10/2014 | xx3 | 25 | loans | ex10 | 27/11/2014 | 16 |
14/10/2014 | xx4 | 30 | shares | ex15 | 21/11/2014 | 18 |
14/10/2014 | xx1 | 35 | securities | ex20 | 19/11/2014 | 57 |
14/10/2014 | xx21 | 40 | ABS | ex21 | 23/10/2014 | 58 |
14/10/2014 | xx33 | 8 | jum | n34 | 16/12/2014 | 60 |
Comment