Hii Stata users,
I would like to create two new variables: board size and board indenpendence. Therefore, I have retrieved for each company what type of board members are in the board (I, E or L).
I already used
And this is my data
However, I would like to have a row with "Board Size = total number of board members" and a row with "Board Independence = amount I/board size" per company/IdentifierISS.
Thank you in advance!
I would like to create two new variables: board size and board indenpendence. Therefore, I have retrieved for each company what type of board members are in the board (I, E or L).
I already used
Code:
bysort CompanyName: gen BoardSize=_n
Code:
IdentifierISS BoardaffiliationEemployeeI BoardSize "0226152000" "I" 1 "0226152000" "I" 2 "0226152000" "L" 3 "0226152000" "E" 4 "0226152000" "I" 5 "0226152000" "E" 6 "0226152000" "I" 7 "0226152000" "I" 8 "00437V2004" "I" 1 "00437V2004" "I" 2 "00437V2004" "I" 3 "00437V2004" "I" 4 "00437V2004" "E" 5 "00437V2004" "I" 6
Thank you in advance!
Comment