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
OVTEST interpretationDear Statalist, I ran my regression reg ln_trade contig comlang comcol rta intl ln_dist Thereafte…
Count number of alive children within householdI am trying to compare different variables for different observations within a group - and I am not …
Tables with multiple panelsHello, I want to make a table with two or more panels containing results for different models (atta…
How do I draw two samples from dataset?I am drawing a random sample (1/3) form a data set to predict an outcome variable using a probit reg…
Calculate control and cash flow rightDear Listers, I have data regarding the anatomy of corporate control of different listed firms. The…
Subscribe to:
Post Comments (Atom)
0 Response to How to aggregate variables into a single variable
Post a Comment