[Stata] Data from a hypothetical sample of 32 white males over 40 years of age taken from
Question:
[Stata] Data from a hypothetical sample of 32 white males over 40 years of age taken from the text Applied Regression Analysis by Kleinbaum, et al.
Variables: systolic blood pressure (SBP), body size (QUET=100(weight/height2)), age (AGE) and smoking history (SMK=0 if non-smoker, SMK=1 if current or former smoker).
(a) Read sbp.csv into Stata. Summarize systolic blood pressure for all observations. What is the 25%, 50% and 75% (5 pts)?
(b) Summarize systolic blood pressure by smoking status. What is the 25%, 50% and 75% of systolic blood pressure for non-smoker and current or former smoker respectively (10 pts)?
(c) What can you conclude (5pts)?
DATA:
person,sbp,quet,age,smk
1,135,2.8759999,45,0
2,122,3.2509999,41,0
3,130,3.0999999,49,0
4,148,3.7679999,52,0
5,146,2.9790001,54,1
6,129,2.79,47,1
7,162,3.668,60,1
8,160,3.612,48,1
9,144,2.368,44,1
10,180,4.6370001,64,1
11,166,3.8770001,59,1
12,138,4.0320001,51,1
13,152,4.1160002,64,0
14,138,3.6730001,56,0
15,140,3.562,54,1
16,134,2.9979999,50,1
17,145,3.3599999,49,1
18,142,3.0239999,46,1
19,135,3.171,57,0
20,142,3.401,56,0
21,150,3.628,56,1
22,144,3.7509999,58,0
23,137,3.296,53,0
24,132,3.21,50,0
25,149,3.3010001,54,1
26,132,3.017,48,1
27,120,2.789,43,0
28,126,2.9560001,43,1
29,161,3.8,63,0
30,170,4.132,63,1
31,152,3.9619999,62,0
32,164,4.0100002,65,0
Mathematical Applications for the Management Life and Social Sciences
ISBN: 978-1305108042
11th edition
Authors: Ronald J. Harshbarger, James J. Reynolds