The Quarto template for this assignment may be found in the repository at the following link: https://classroom.github.com/a/1iuiJX3t
Today’s data come from a retrospective analysis of core body
temperature during surgery. Walters et al. (2020) examined the
association between core body temperature and risk of infection during
colorectal surgery. Data were collected for almost 8,000 patients
undergoing such surgery at the Cleveland Clinic from 2005 through 2014.
We are primarily interested in the outcome of any infection within 30
postoperative days, which is labeled AnyInfection.
There are many variables in the dataset temperature.csv,
but here are the primary ones of interest:
Age: age in years at time of surgeryFEMALE: whether the patient was assigned female sex at
birthBMI: the patient’s body mass index at time of surgery
(in kilograms per meter squared)CharlsonScore: a numerical score that is used to
summarize the patient’s comorbidities (the higher, the worse health the
patient was in coming in)CHF: history of congestive heart failureVALVE: history of peripheral vascular diseaseDM: history of uncomplicated diabetesRENLFAIL: history of renal failureLIVER: history of liver diseaseCOAG: history of coagulopathySurgDuration: how long the surgery took, in
minutesFascialDehiscence: whether fascial dehiscence occurred
(don’t look this up)TWATemp: the time weighted average intraoperative core
temperature. This is the primary predictor of
interestAnyInfection: whether any infection occurred within 30
days of surgery. This is the primary outcome of
interest