Statistic Assignment

profileDanyah
lab_2_descriptives-1.doc

LAB 2 Descriptive Statistics Name_______________________

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. All variables ending in '2' were measured 6 weeks after the baseline variables with the same name.

The data can be found in the desktop

Name Description

ID ID

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 NON‑SMOKER

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)

EXERCIS2 EXERCISE LEVEL - 6 weeks Value Label

1 NONE

2 MILD

3 MODERATE

4 VIGOROUS

SMOKE2 SMOKING STATUS - 6 weeks

Value Label

1 SMOKER

2 NON‑SMOKER

WEIGHT2 WEIGHT (lbs) - 6 weeks

SYSBP2 SYSTOLIC BLOOD PRESSURE (mgHg) - 6 weeks

DIABP2 DIASTOLIC BLOOD PRESSURE (mmHg)- 6 weeks

GLUCOSE2 GLUCOSE LEVEL (mmol/l)- 6 weeks

CHOL2 CHOLESTEROL (mmol/l)- 6 weeks

TRIGLY2 TRIGLYCERIDES (mmol/l)- 6 weeks

IDWT IDEAL WEIGHT

LDL BASELINE LDL CHOLESTEROL (mmol/l)

HDL BASELINE HDL CHOLESTEROL (mmol/l)

PUL2 PULSE (resting)- 6 weeks

LDL2 LDL CHOLESTEROL (mmol/l)- 6 weeks

HDL2 HDL CHOLESTEROL (mmol/l)- 6 weeks

LAB 2 Descriptive Statistics of Combinations of Variables

Objective:

The purpose of this lab is to summarize some of the variables in the corn1 dataset.

1. Summarize using the most appropriate measure the following variables presented in Table 2.1. Choose either the mean, median or n(%) as the most appropriate measure for each variable.

Table 2.1

Variables

Mean ± SD

Median (Range)

N (%)

Age

Height

Baseline Weight

Baseline Pulse

Baseline Cholesterol (mmol/l)

Baseline Glucose

Baseline Systolic BP

Marital Status: Singles

Married

Divorced

Widowed

Exercise None

Mild

Moderate

Vigorous

Baseline Smoking status Yes

No

To complete Table 2.1, refer to Lab 1 to obtain some descriptive statistics as well as histograms of relevant variables.

Now run the descriptive and histograms of relevant variables by:

· From the menus choose:

Analyze-(Descriptive Statistics-(Frequencies -(Enter Appropriate Variables-(Click Chart-(Select Histograms-(Display Normal Curve-(Continue-(OK

Now run the Box and Whisker Plot of relevant variables by:

· From the menus choose:

Graphs-(Chart Builder-(Frequencies -(Gallery ( Select Boxplot-(drag 1- D Boxplot ( Select a variable ( OK

Submit completed Table 2.1

2. Above you recorded the summary of the some variables for the entire population in Table 2.1. However, most of us are aware that certain physical characteristics are often somewhat different in females than in males, so usually it is more informative to stratify (group) information by gender. On the next page are two tables in which you can record some summary information which describes this group of people by gender.

2a. Summarize using the most appropriate measure the following variables presented in Table 2.2

Table 2.2

Males n =

Females n =

Quantitative Variables

Mean ± SD Median (Range)

Mean ± SD Median (Range)

Age

Height

Baseline Weight

Baseline Pulse

Baseline Cholesterol (mmol/l)

Baseline Glucose

Baseline Systolic BP

You will be able to complete the above table, by splitting the file by the qualitative variable and then running descriptiveon the quantitative variable:

To Split a Data File for Analysis

· From the menus choose:

Data(Split File(Select Compare groups(Select sex as the grouping variable(Click ok.

Now run the descriptive and histograms of relevant variables by:

· From the menus choose:

Analyze-(Descriptive Statistics-(Frequencies -(Enter Appropriate Variables-(Click Chart-(Select Histograms-(Display Normal Curve-(Continue-(OK

Now run the Box and Whisker Plot of relevant variables by:

· From the menus choose:

Graphs-(Chart Builder-(Frequencies -(Gallery ( Select Boxplot-(drag 1- D Boxplot ( Select

a variable ( OK

Please Note that you have to un-split the data before running further analysis

Submit completed Table 2.2

2b. Summarize using the most appropriate measure the following variables presented in Table 2.3

Table 2.3

Qualitative Variables

Males: n (%)

Females: n (%)

Marital Status: Single

Married

Divorced

Widowed

Exercise: None

Mild

Moderate

Vigorous

Smoking status: Yes

No

You will be able to complete the above table, using the Crosstabs menu (used when analyzing Qualitative variables by a Qualitative variable):

To Obtain Crosstabulations:

· From the menus choose:

Analyze(Descriptive Statistics(Crosstabs(Put martial, exercise and smoke as row variables(Put

sex as the column variable(Click Cells and select column percentages(Click continue

then OK

Completing the two tables in this manner gives the researcher an informative ‘picture’ of the type of people in the study.

Submit Completed Table 2.3