hdp | R Documentation |
This dataset has a three-level, hierarchical structure with patients nested within doctors within hospitals. The simulation code can be found at <https://stats.idre.ucla.edu/r/codefragments/mesimulation/#setup>.
data(hdp)
A data frame with 8,525 rows and 17 variables:
Continuous in years but recorded at a higher degree of accuracy.
Binary, married/living with partner or single.
Binary (yes/no), does the patient have a family history (Hx) of cancer?
Categorical with three levels, current smoker, former smoker, never smoked.
Binary (female/male).
Categorical with four levels, stages 1-4.
Count number of days patients stayed in the hospital after surgery.
Continuous, white blood count. Roughly 3,000 is low, 10,000 is middle, and 30,000 per microliter is high.
Continuous, red blood count.
Body mass index given by the formula (kg / meters^2
).
Continuous, interleukin 6, a proinflammatory cytokine commonly examined as an indicator of inflammation, cannot be lower than zero.
Continuous, C-reactive protein, a protein in the blood also used as an indicator of inflammation. It is also impacted by BMI.
Hospital identifier.
Doctor identifier
Years as a doctor.
Whether the school doctor trained at was high quality or not.
Cancer in remission? 1 = yes, 0 = no.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.