Hi Abraham! Your code is really fast. I feel it needs to be modified so that it serves my purpose of finding SD by country and industry but excluding focal firm ,i.e focal firms is one in front of which we are doing the calculations. For example, if we have 3 firms then each firm becomes focal firm by turn. So starting with the first firm, we shall calculate SD for for firm 2 and 3 and write the results in SDx of firm 1 . Similarly, for firm 2, the sd for ID ==1 and ID==3 will be calculated, and replaced in SDx of firm 2, and so on. Thanks.
-
Login or Register
- Log in with
Comment