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
putexcel column names when not all possible columns have valuesI am trying to create several descriptive tables, using putexcel. I am struggling to get a working m…
Proportion confidence interval with 95% CIHow I can make a two way plot with CI. Like this graph …
Individual fixed effectsDear all, Is it possible to do an individual fixed effects analysis with cross sectional data? If i…
Estimate treatment effects in randomized controlled trialsDear stata users, I am using mixed effext model to estimate treatment effects in a RCT. I am buildin…
Multiple regressions by group in one output tableHello Stata Experts! Currently I am lost at "just" finding the right output form/ format, which is …
Subscribe to:
Post Comments (Atom)
0 Response to how to use bysort with function total and tab
Post a Comment