Every expert panel has about 5 experts, every expert has different experience such as service, R&D, management. How to calculate the experience diversity of panels? Maybe something like Herfindahl index?

Here is the tips for calculating method:Criscuolo, P., Dahlander, L., Grohsjean, T., & Salter, A. (2017). Evaluating novelty: the role of panels in the selection of R&D projects. Academy of Management Journal, 60(2), 433–460. https://doi.org/10.5465/amj.2014.0861 Array

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int(expID panelID) byte(exp_state exp_manager exp_RD exp_adm exp_teacher exp_designer exp_lawyer exp_reporter exp_medical exp_engineer exp_foreign exp_service)
137 1 . . . . . . . . . . . .
 70 1 0 1 0 0 0 0 0 0 0 0 0 0
141 1 . . . . . . . . . . . .
 41 1 . . . . . . . . . . . .
 35 1 . . . . . . . . . . . .
  8 2 0 0 1 0 0 0 0 0 0 1 0 0
112 2 . . . . . . . . . . . .
111 2 . . . . . . . . . . . .
187 2 0 1 0 1 0 0 0 0 0 0 0 1
 98 2 . . . . . . . . . . . .
170 3 . . . . . . . . . . . .
254 3 1 1 0 0 0 0 0 1 0 0 0 0
  1 3 . . . . . . . . . . . .
149 3 . . . . . . . . . . . .
174 3 0 0 0 0 0 0 0 0 0 0 0 0
 73 4 . . . . . . . . . . . .
 99 4 . . . . . . . . . . . .
121 4 0 1 1 0 0 0 0 0 0 1 0 0
110 4 . . . . . . . . . . . .
263 4 0 1 0 0 0 0 0 0 0 0 0 0
end