Hello all- I feel like there is an easy solution to this but I just can't see how to do it. I have data representing hours of observation in a medical ICU, across 4 hospitals. One observation=one hour. Within that hour, there will be staff coverage from between 1 and up to 8 nurses. These are listed as variables nurse_ID_1, nurse_ID_2, etc. The are between 20 and 28 different nurses providing coverage over the study period, depending on the hospital. I have a separate data set which contains information on total years of experience for each nurse, by nurse ID. I would like to generate a variable in my main data set which represents total number of years of experience available from the nursing staff for that shift hour. Any thoughts on how?
Related Posts with Help with data set-up
Interpretation of a linear (percentage) - log regression modelTo provide context, I am running a fixed effects regression model, assessing the relationship betwee…
Creating an IF or Conditional commandHi All, It is my first time in this forum and I'm hoping you will be able to assist me. My study i…
Renaming every 3 variableHi, I am trying to rename every three variable in my dataset such that the first three variable X1 X…
Merge Panel Data with multiple same year datasetHi All, I am trying to merge two datasets. One is a firm ID -year (panel master data). The other da…
Lee bounds with multiple treatment groupHi, I'm working with a dataset with high attrition rate and am considering using Lee bounds to esti…
Subscribe to:
Post Comments (Atom)
0 Response to Help with data set-up
Post a Comment