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
Fractional polynomials and nonlinear least-squares estimationIs there a fundamental reason why fractional polynomials (either -fp- or -mfp-) are not allowed when…
Fixed effect xtreg - Panel data - P-valueHey everyone, I'm trying to find the regression of my panel dataset. I'm trying to calculate the re…
Problem regarding imputation of missing valueHii I am working on self reported cross section data set. Most of the variable are ordinal in nature…
non parametric regression discontinuity with interaction termi am writing to ask if is it possible to do a non parametric regression discontinuity with an intera…
Diagnostic tests for correlated random effects modelHi, What diagnostic tests can be done on a correlated random effects model? And if so how do I code…
Subscribe to:
Post Comments (Atom)
0 Response to Help with data set-up
Post a Comment