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
model specification and implications of time invariant variables with mixedHi all, I've read through some other forum posts similar to this topic, but didn't think they were …
To construct a composite variable from multiple categorical variablesMy question may be simple. I tried to find a possible answer to my question, but failed to do so. I…
Logistic regression interactions testHello! I have a logistic regression model that keeps failing the goodness of fit test. The unweight…
Reshaping Data for Analyzing Experiments with Fractional Factorial Designs Dear Stata community, I need to reshape/reorganize my data for analyzing the results of a survey e…
Problems calculating the change in vote share from incumbent candidates (electoral data)Hi all. I have a dataset with electoral municipal information for Brazilian municipalities from 2000…
Subscribe to:
Post Comments (Atom)
0 Response to How to aggregate variables into a single variable
Post a Comment