Hi everyone,
I would like to count the number of times a contract begins and ends at specific dates.
Here is a dataex:
For example, I would like to know in my sample how many times a contract began at 17 September 2011 and ended at 31 May 2019. And so on for all possible combinations.
Could you please give me a hand with that?
I would like then to do some kind of plot suitable with that please.
Thank you very much.
Best,
Michael
I would like to count the number of times a contract begins and ends at specific dates.
Here is a dataex:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long id double(date_contract_start date_contract_end) long idcontrato 1001 18887 21700 1001 1001 22646 22676 1730454 1001 22677 22735 2082075 1001 23011 23069 2872183 1001 22432 22645 1236132 1001 21701 22431 451697 1001 22736 23010 2172904 1001 23070 . 3107888 1005 23131 . 3215923 1005 22646 22676 1742918 end format %td date_contract_start format %td date_contract_end
Could you please give me a hand with that?
I would like then to do some kind of plot suitable with that please.
Thank you very much.
Best,
Michael
Comment