Question
Read the following data description and answer the following questions The data set assignment 2 sysbp.csv contains the results of a clinical trial to test
Read the following data description and answer the following questions
The data set assignment 2 sysbp.csv contains the results of a clinical trial to test the effectiveness of a drug in lowering blood pressure. The data represent measurements of systolic blood pressure for a group of 29 women who are taking the drug and a comparison group of 29 women of similar age who are not taking the drug. The two samples have been selected to be statistically independent of each other and individuals were selected so that the data in each sample are independent.
A person is considered to have a systolic blood pressure which puts their health at risk if their systolic blood pressure is over 140 mmHg. So this data set also contains a variable indicating this risk. This variable takes the value 0 if the systolic blood pressure measurement is at or below 140 and 1 if the systolic blood pressure measurement is over 140.
So the variables recorded on the file are:
Variable name | Variable definition | Valid values |
personid | Number identifying the person in each group | 0-29 |
sysbp | Measured systolic blood pressure (mmHg) | 98.9-216.5 |
drug | Whether or not the person was taking the drug | 0 = not taking the drug |
1 = taking the drug | ||
atrisk | Whether or not the measured blood pressure was above 140 mmHg | 0 = sysbp 140 |
1 = sysbp > 140 |
All the assignment questions use this data set.
These are synthetic data, but you may reference them in your answers as coming from assignment 2 data: test of blood pressure drug
Note that all tables and graphs in this assignment should be presented with appropriate headings and footnotes.
- Calculate a 95% confidence interval for the estimated difference in mean systolic blood pressure between the group taking the drug and the group not taking the drug. Present this estimate and confidence interval to 1 decimal place.
As part of your answer state what probability distribution you will use to calculate this confidence interval and why you will use this probability distribution and why it is appropriate for this data set. (8 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started