In my dataset, a director can have different roles each year.
In my example, the director gets a new RoleName in 2010 and in 2016. The timeRole variable recounts again at a newrole.
I don't want that is recounts, but counts further, from 3 to 4.
Thus, what I want is to make a new variable, that gets the first value of TimeRole in the first year the Director appears on the board (Timerole can also be like 5 for example in the first year) and then starts counting for the followings years.
Thus in the example, start at 0 and end at 11 TimeRole.
What is the best way to counter this problem?Array
Related Posts with Not recounting new CEO role
Combine list options header and sepbyMy question doesn't go far past the title - is there a way to have the list command re-display the h…
coefplot: how to align y-axis and markers?Hi, I'm using -coefplot- to create a graph showing the balance between covariates for a treatment a…
Split variable problemHi I want to divide a variable I have by 2. 01aug2018 will be one variable and the other time. Sampl…
String Cleaning - Possibly automate the taskI wish to retain information on a person's grades which is observed in the variable below. The text …
bar chart dummy percentHey guys, I have a dummy variable (var) for 4 diffrent years. I want to have a bar chart that shows…
Subscribe to:
Post Comments (Atom)
0 Response to Not recounting new CEO role
Post a Comment