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
Value ReplacementDear all, I am quite new with stata, and after a couple of days trying to fix a problem without any…
Stop dofile if drop did not make changeDear Statalists, for error-checking in many replace commands, I have found it useful to use the pro…
Origin Dest Airline DataMy airline data looks like this: input str3(origin dest) str41 unique_carrier_name int departures_p…
Bivariate probit with treatment effectsDear Statalists, I am running my analysis by using a bivariate probit model. I have two dependent va…
Regressions with interaction terms and interacted fixed effectsHi, i've got some questions about how to run a regression with interactions especially how to deal w…
Subscribe to:
Post Comments (Atom)
0 Response to how to use bysort with function total and tab
Post a Comment