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
Does the analysis of “the impact of cross-regional flows on income” require a hierarchical linear model?My thesis is the impact of labor cross-regional mobility on income. The explanatory variable “cross-…
replacing values using the loops commands in stataHi Everyone, I am trying to replace missings in the GHI varibale by using this command Code: repl…
Temporal decomposition - Function using data from 2 different rows of a tableI want to do a temporal decomposition using STATA. Assume the following data below where x= y*z y…
how to examine the moderating effect and plot the figure when iv is categorical variable and moderator is continuous variableAfter the regression, how to plot the moderating effect of w on the relationship between x and y? Th…
CI barhello, I want a barplot describing the prevalence of a bacteria by country and by site (rural/urban…
Subscribe to:
Post Comments (Atom)
0 Response to Help with data set-up
Post a Comment