I have data include varables ( year , Event_Type , Loss_Amount__USD )
I want state to to sort the data by year , and with the year table I need the total of Loss_Amount__USD within that year for each year soeritly
I tried to do : bysort Settlement_Year: tab BIS_Event_Type___Level_1 , Total Loss_Amount__USD__Millions_
but that didn't work
Array
my data looks like :
Array
Related Posts with how to use bysort with function total and tab
How to plot overlaying normal distributionsHi all, I'm trying to do something for which I can't really find any previous posts. Basically, I w…
Is there a way to know the number of unique values under a combination of variables?Dear Statalisters, I have a dataset which tracks individuals who work for different companies at dif…
Simulations: Flat log likelihood encountered, cannot find uphill directionDear community, I am trying to see how many times using the Box-Jenkins methodology I select the cor…
Coefficient of VariationDear all Statalist, Just an apparent easy question, even if I am having problems in computation: if…
Instrumental Variables and using xtivreg with squared termHi - I am using a panel dataset of US companies for the years 2000-19 (US Industrials - Worldscope).…
Subscribe to:
Post Comments (Atom)
0 Response to how to use bysort with function total and tab
Post a Comment