Heart disease is the leading single cause of death in many countries across the globe including Australia. Heart disease could be in various forms including, coronary artery diseases, arrhythmias and congenital heart defects, among many others.
For this section of the assignment you will be using the dataset “Assignment3_heart.dta”, a modified dataset from a heart disease study conducted in Cleveland with 300 participants. The aim of the study was to explore risk factors of heart disease.
Table 1: Description of the variables in the Assignment3_heart.dta dataset
Question 1 [19 marks]
High blood pressure is more common among smokers. In this question we will explore the association between smoking (smoking) and blood pressure (bloodpressure, mmHg).
A key risk factor of heart disease is smoking. In this question we will explore the association between smoking (smoking) and heart disease.
Presence of heart disease is detected if a patient has at least 1 major vessel with >50% narrowing (vessels). Generate a binary variable for heart disease named heart_disease as; at least 1 major vessel with >50% narrowing [coded as 1, “Yes”] and no major vessels with >50% narrowing [coded as 0, “No”]. Use this new binary variable heart_disease for Question 2.
Section B - Frailty Dataset
Frailty is a state of vulnerability resulting from a decline in physical and cognitive capabilities. Particularly in surgical and intensive care unit (ICU) patients, frailty predisposes to poor outcomes. Frailty is more prevalent among older patients and is associated with increased mortality, length of stay in hospital and post-operative complications.
For this section of the assignment you will be using the dataset “Assignment3_frailty.dta”, a random sample of 200 patients from an observational cohort study conducted in Melbourne. The aim of this study was to explore the risk factors of frailty and the association between frailty and other health outcomes.
Table 2. Description of the variables in the Assignment3_frailty.dta dataset.
Question 3 [9 marks]
The study investigators were interested in exploring the association between frailty (frailtyindex) and a patient’s source of admission to hospital. In the current cohort, prior to admission patients were either living at home, in other hospitals or at assisted living care facilities (adm_source).
For the purpose of this question, using the adm_source variable, generate a binary variable named adm_source_bin as; patients living at home [coded as 0, “Home”] and patients from other hospitals and assisted living facilities [coded as 1, “Other hospital/Assisted living”]. Use this new binary variable adm_source_bin for Question 3.
One of the research questions of interest of this study was to explore if patients with frailty were more susceptible to diabetes with end organ damage.
In this study, patients with a frailty index score ≥0.25 were considered as frail. Generate a binary variable named frailtyindex_bin as; frailty index score ≥0.25 [coded as 1, “Frail”] and frailty index score <0.25 [coded as 0, “Non-frail”]. In this question we will explore the association between the outcome diabetes with end organ damage (
For solution, connect with our online professionals.