Hi all,
I am looking at sickness absence in various occupations in LFS data. The dataset contains the vairables ILLDAYS1-7 detailing whether an individual was ill on that day of the week with ILLDAYS1 being the first day of the week the individual was ill and ILLDAYS7 being the 7th day of the week they were ill on. Ideally, I would like to aggregate ILLDAYS into a single variable that tells me how many days of the reference week the individual was ill for. Is there a way I can do this?
Thanks
Related Posts with How to aggregate variables into a single variable
Question about estpost/esttab: Control decimals per variable in summary tableCross post at: https://stackoverflow.com/questions/...-summary-table I am trying to get a summary …
Problem with xtunitroot not recognizing variableDear Statalist forum members, I am interested in performing a test for unit roots in my panel datas…
Fama French regression estimating excess returnDear Statalisters, I am new to the topic Stata, and have a rather simple question, unfortunately I …
Interpretation Difference in DifferencesHello, Can you please tell me if my interpretation is correct? In model (1), with an estimated coe…
Help extracting info. from an inconsistent formatted date variable Hello Statalist members, This is my first post, so here it goes... Below I have provided a sample…
Subscribe to:
Post Comments (Atom)
0 Response to How to aggregate variables into a single variable
Post a Comment