Dear Stata users,
Please can someone help me to come up with a syntax to calculate the average annual volume of procedure (ici) per operator (opid)? its panel data over 10 years and it is possible that volume of procedure changes over time per operator. I have pasted a copy of the data below. I have gone through the previous posts relevant to this topic but nothing seems to work for me. thanks
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input int(opid year) float ici
652 2014 1
336 2014 1
134 2014 1
199 2014 1
21 2014 1
796 2014 1
828 2014 1
134 2014 1
423 2014 1
808 2014 1
797 2014 1
490 2014 1
555 2014 1
21 2014 1
219 2014 1
447 2014 1
305 2014 1
427 2014 1
263 2014 1
215 2014 1
308 2014 1
409 2014 1
796 2014 1
727 2014 1
375 2014 1
218 2014 1
360 2014 1
755 2014 1
600 2014 1
520 2014 1
50 2014 1
41 2014 1
50 2014 1
401 2014 1
401 2014 1
530 2014 1
132 2014 1
303 2014 1
532 2014 1
211 2014 1
62 2014 1
250 2014 1
796 2014 1
795 2014 1
136 2014 1
298 2014 1
215 2014 1
635 2014 1
405 2014 1
240 2014 1
825 2014 1
253 2014 1
336 2014 1
116 2014 1
349 2014 1
495 2014 1
401 2014 1
204 2014 1
155 2014 1
532 2014 1
310 2014 1
132 2014 1
310 2014 1
796 2014 1
598 2014 1
790 2014 1
722 2014 1
116 2014 1
622 2014 1
400 2014 1
192 2014 1
146 2014 1
204 2014 1
427 2014 1
401 2014 1
532 2014 1
532 2014 1
298 2014 1
622 2014 1
734 2014 1
555 2014 1
353 2014 1
116 2014 1
108 2014 1
570 2014 1
116 2014 1
219 2014 1
121 2014 1
38 2014 1
709 2014 1
305 2014 1
445 2014 1
298 2014 1
21 2014 1
360 2014 1
692 2014 1
790 2014 1
310 2014 1
293 2014 1
230 2014 1
Please can someone help me to come up with a syntax to calculate the average annual volume of procedure (ici) per operator (opid)? its panel data over 10 years and it is possible that volume of procedure changes over time per operator. I have pasted a copy of the data below. I have gone through the previous posts relevant to this topic but nothing seems to work for me. thanks
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input int(opid year) float ici
652 2014 1
336 2014 1
134 2014 1
199 2014 1
21 2014 1
796 2014 1
828 2014 1
134 2014 1
423 2014 1
808 2014 1
797 2014 1
490 2014 1
555 2014 1
21 2014 1
219 2014 1
447 2014 1
305 2014 1
427 2014 1
263 2014 1
215 2014 1
308 2014 1
409 2014 1
796 2014 1
727 2014 1
375 2014 1
218 2014 1
360 2014 1
755 2014 1
600 2014 1
520 2014 1
50 2014 1
41 2014 1
50 2014 1
401 2014 1
401 2014 1
530 2014 1
132 2014 1
303 2014 1
532 2014 1
211 2014 1
62 2014 1
250 2014 1
796 2014 1
795 2014 1
136 2014 1
298 2014 1
215 2014 1
635 2014 1
405 2014 1
240 2014 1
825 2014 1
253 2014 1
336 2014 1
116 2014 1
349 2014 1
495 2014 1
401 2014 1
204 2014 1
155 2014 1
532 2014 1
310 2014 1
132 2014 1
310 2014 1
796 2014 1
598 2014 1
790 2014 1
722 2014 1
116 2014 1
622 2014 1
400 2014 1
192 2014 1
146 2014 1
204 2014 1
427 2014 1
401 2014 1
532 2014 1
532 2014 1
298 2014 1
622 2014 1
734 2014 1
555 2014 1
353 2014 1
116 2014 1
108 2014 1
570 2014 1
116 2014 1
219 2014 1
121 2014 1
38 2014 1
709 2014 1
305 2014 1
445 2014 1
298 2014 1
21 2014 1
360 2014 1
692 2014 1
790 2014 1
310 2014 1
293 2014 1
230 2014 1

Comment