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
Test of equal proportionsI am using weighted data and generating proportions of one variable, over another, e.g, after sortin…
Using marginal effects after cprobit appropriate?Hi there, Is reporting marginal effects atmeans i.e." margins, dydx(*)" after a panel logit(clogit)…
formatting data for network meta consistency, regress(varlist)I am interested in performing NMA regression using network suite. I generally use long data format. …
Adding Estat Endogenous (endog) to outreg2 output in one tableHi all, I want to be able to add the estat, endog forceweights output using outreg2 to my IV regres…
Comparing coefficient from two different rd models (using rd command)I have been trying to find a way to compare two coefficients from two different nonparametric rd mod…
Subscribe to:
Post Comments (Atom)
0 Response to How to aggregate variables into a single variable
Post a Comment