Hello,
Do you have any idea of how can I create a variable that is equal to the nº of years a person has been following a given firm? Like for example, if the sample starts in 2015, then in 2020, the person can have a maximum experience of 5 years, with any given company?
Thank you
Related Posts with Question Stata!!
Retrieve the "at legend" on top of margins tableHi, I'm using margins to calculate about 3600 predicted values in a loop, using the option at() wit…
Sorting CIs in a ciplot commandHi, I want to plot the CIs for a proportion by country. It would be useful if I could display the C…
Loop for generating new variablesHi all, I am a new user to STATA--can you help me loop the generate new variable command? Is there a…
Append one variable after another in the same datasetHello, This is part of my dataset. What I want to do is to append contri_dia2 contri_dia3 contri_d…
Looping replace functionHello all, I am new to STATA and trying to loop replace function. Is there a way to improve my code?…
Subscribe to:
Post Comments (Atom)
0 Response to Question Stata!!
Post a Comment