Hey everyone,
I would like some tips from you.
I'm currently working on a panel database (monthly) and I need to create a variable like a "concentration index" (by month), which is the sum of the 5 largest values of variable "x" scaled by the total sum of variable "x" (by month).
Unfortunately, I couldn't find a forum with a demand like this.
Thank you all in advance
I would like some tips from you.
I'm currently working on a panel database (monthly) and I need to create a variable like a "concentration index" (by month), which is the sum of the 5 largest values of variable "x" scaled by the total sum of variable "x" (by month).
Unfortunately, I couldn't find a forum with a demand like this.
Thank you all in advance
Comment