Hi, hope you are well. I needed some help with a particular dataset I am using for a study. My research looks at women's time allocation as an outcome variable. However, I am not sure how to construct this variable given the way it is arranged in this dataset:
As you can see, there are 18 activities in total (denoted 18 rows for each observation) that range from sleeping to housework. In the second image, you can see that there are columns that denote the time of the day (15 intervals) that correspond to the activity, which gets value 1 if the person is engaged in that activity at that particular time interval.
Basically, I want to construct a time allocation variable that shows proportion of time spent on leisure/ self care to time spent on housework, and work outside the house. My study aims to explore if a particular policy changed the way women allocate their time to leisure vs inside/ outside work. But I am not sure how to go about this. If anyone has any idea on how I can start to clean this dataset and go about constructing this variable, it would be extremely helpful! Please let me know your thoughts on this if possible.
Related Posts with Help with constructing time allocation variable
Is it possible to fit a mprobit model using gsemDear all, I know that gsem allows only the logit link for the multinomial response variable, but in…
Converting Year response into 4 digit year using the century and if conditionHi family, I have a data set where the year of interview was taking from the last 2 digit. example, …
Error while using import command (quotations accepted by a Mac and not accepted by another Mac)Hi, I'm new in the Forum but I used Stata in the past while being a RA (and coming back again now). …
producing new variable based on the mean of three variablesHi, I would like to calculate the mean of systolic blood pressure based on three observations for e…
Principal component analysis with dummy variables as its indicatorsHi all. I am currently doing research where I need to generate a latent variable. I have read some m…
Subscribe to:
Post Comments (Atom)
0 Response to Help with constructing time allocation variable
Post a Comment