I am working with survey dataset. It has 30 people (variable name = dlp, numeric) who start work in different date (variable name= date, data type=date). I would like to create a new variable "work" which reflects the fact that each of the worker complete the work in every 3 days ( represented by Round 1), then continue the same work for next three days (represented by Round 2). And after every 6 days, they take 1 day off. Before they continue with Round 3 work. And this trend is likely to continue till december 2022.
Related Posts with Creating a new variable (that changes value in every 3 days....)
Interpolation (ipolate/csipolate)Hi, I want to use a ipolate command to create monthly GDP estimates from quarterly data. My data l…
Results are not reproducibleI am trying to select 20 controls from a community database for each case and do conditional logisti…
Oaxaca decomposition in OLS and unconditional quantile regressionDear all, I'm actually performing an Oaxaca-Blinder decomposition to test wether the returns of ind…
How to regreee the variables with different coefficientHi community, My equation is attached. A, B, C, D is dummy variables and i already solve them. May …
Reshape to convert large number of variables to long formatHi Stata, I am pretty new to Stata and try to reshape my Data to long format. My Dataset ist from …
Subscribe to:
Post Comments (Atom)
0 Response to Creating a new variable (that changes value in every 3 days....)
Post a Comment