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
"insufficient memory" errorHi guys, When I run an OLS regression I have the following error: "insufficient memory r(950)". The…
Factor Analysis - LR & chi square testHi there, I'm conducting a factor analysis (EFA, factor command, pf default) and have 2 questions: …
how to perform a multivariate multilevel model with Stata? hello statalist I have a problem I would like to analyze independently the reading and mathematical…
Margins command: discrete change not from the base levelHi Statalist, I am currently working on a probit model in which the dependant variable is labor for…
How to calculate BMI using height & weightGood afternoon, I was wondering if any of you, STATA experts, could assist me and guide me in how t…
Subscribe to:
Post Comments (Atom)
0 Response to Help with data set-up
Post a Comment