Dear all,
I would like to collapse a dataset using the following command.
----------------------------------------------------------------------------------------------------------------
collapse (sum) qty (max) date_of_death, by(pat_id drug supp_date index_date)
----------------------------------------------------------------------------------------------------------------
However, I receive the following error :
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
What might cause the error?
Any help how to deal with this issue is much appreciated.
Best wishes,
Oyun
Oyun
Comment