Statistic
STAT 509 Assignment# 1 Name_______________________
Instructions:
1. Due Date
· April 06 @ 11:50pm
2. Assignment submission:
· When you submit an electronic file (assignment) you must use the following format: This is for: LAST NAME (in upper case), your first name, the course code, activity/assignment number and file format
· For example: SMITHJohn-STAT509-A1.doc
Assignment:
Question1: Following is a dictionary for a data set. The data collected on a number of people from Cornwall, Ontario, Canada who attended a lifestyle intervention program (Coronary Health Improvement Project, or better known as CHIP) consisting of a series of lectures and personal counseling sessions every day for a five day period. This data set consists of a number of demographic and clinical variables.
Name Description
AGE AGE (yrs)
SEX GENDER
Value Label
1 MALE
2 FEMALE
MARITAL MARITAL STATUS Value Label
1 SINGLE
2 MARRIED
3 DIVORCED
4 WIDOWED
EXERCISE BASELINE EXERCISE LEVEL Value Label
1 NONE
2 MILD
3 MODERATE
4 VIGOROUS
SMOKE BASELINE SMOKING STATUS Value Label
1 SMOKER
2 NONSMOKER
HEIGHT HEIGHT (in.)
WEIGHT BASELINE WEIGHT (lbs)
FRAME BODY FRAME SIZE Value Label
1 SMALL
2 MEDIUM
3 LARGE
SYSBP BASELINE SYSTOLIC BLOOD PRESSURE (mmHg)
DIABP BASELINE DIASTOLIC BLOOD PRESSURE (mmHg)
PULSE BASELINE PULSE (RESTING)
GLUCOSE BASELINE GLUCOSE LEVEL (mmol/l)
CHOL BASELIINE CHOLESTEROL (mmol/l)
TRIGLY BASELINE TRIGLYCERIDES (mmol/l)
Using the above data dictionary, identify the type of variable (scale, ordinal, or nominal) for each item and units of measurement if applicable in Table1 below:
|
Table 1: Variable Information |
|
|
|
|
Variable |
Label |
Measurement Level |
Measurement Unit |
|
age |
AGE (yrs) |
|
|
|
sex |
GENDER |
|
|
|
marital |
MARITAL STATUS |
|
|
|
exercise |
EXERCISE LEVEL |
|
|
|
smoke |
SMOKING STATUS |
|
|
|
height |
HEIGHT (in.) |
|
|
|
weight |
WEIGHT (lbs) |
|
|
|
frame |
BODY FRAME SIZE |
|
|
|
sysbp |
SYSTOLIC BLOOD PRESSURE (mmHg) |
|
|
|
diabp |
DIASTOLIC BLOOD PRESSURE (mmHg) |
|
|
|
pulse |
PULSE (RESTING) |
|
|
|
glucose |
GLUCOSE LEVEL |
|
|
|
chol |
CHOLESTEROL (mg%) |
|
|
|
trigly |
TRIGLYCERIDES (mmol/l) |
|
|
Question 2 a. Calculate the following for the BMI variable (Show your work):
· Mean
· Median
· Mode
· Range
· Variance
· Standard Deviation
· Interquartile Range
· Draw Box - Whisker plot
|
BMI |
17 |
35 |
23 |
19 |
24 |
65 |
26 |
30 |
29 |
27 |
23 |
25 |
20 |
Question 2 b: What is the best way to summarize the variable BMI in the above question (Mean with standard deviation OR median with range)?
(Hint: Look if there is any outliers in the Box – Whisker plot)