Displaying 1 result from an estimated 1 matches for "perf_b".
Did you mean:
perf
2012 Apr 17
1
Function with multiple indices
Hi,
I wrote a function which works for one group but not for multiple groups in several years. Could anyone help me out?
The dateset has 3 variables, year, group, and sales. I want to calculate the annual group median adjusted sales performance for observation i in group j and year yr, I do the following procedure.
For each yar,
1. exclude observation i from group j
2. calculate the sales median