Assignment Overview: Analyze the Framingham Heart Study* dataset preloaded in SAS Studio. Note: In SAS Studio the library called "SASHELP". The dataset is called "HEART

profiledream86
Heart_Analyses_Worksheet_1-1.docx

COH 602 Biostatistics

Week Two SAS Assignment - Heart Analyses Worksheet #1

Summary Statistics, Distribution Analysis & One Sample t-Test Analysis

Assignment Overview:  Analyze the Framingham Heart Study* dataset preloaded in SAS Studio.  Note: In SAS Studio the library called "SASHELP". The dataset is called "HEART." *(see textbook Section 2.4)

Step 1) Review the contents of the SASHEART dataset.

- Run the following Code in SAS: PROC CONTENTS DATA = SASHELP.HEART

Step 2) Produce summary statistics (i.e., mean, standard deviation, minimum, maximum & frequency) for the variable “Weight" - Week 1 Resources: Chapter 4 & SAS Summary Statistics (i.e., video, PPT, code)

Step 3) Produce a Distribution Analysis for the Variable "Weight". - Week 1 Resources: Chapter 4 & SAS Distribution Analysis (i.e., video, PPT, code)

Step 4) Produce a One Sample t-Test Analysis for the Variable "Weight" (H0=184)* - Week 2 Resources: Chapter 7 & SAS One Sample t-Test Analysis (i.e., video, PPT, code) *((Average Weight Men = 197.8 lbs + 170.5 lbs Average Weight Women)/2)) = 184.15 lbs => H0 = 184 https://www.cdc.gov/nchs/fastats/body-measurements.htm

Step 5) Complete & Submit "Heart Analyses Worksheet #1"

Student Name:

Student Name:

Note: Students can work in pairs to complete the assignment; however, each student must submit a completed worksheet.

Contents

HEART

1. Code

(copy & paste into SAS)

PROC CONTENTS DATA = SASHELP.HEART

2. Results

(answer the question)

Question: How many observations were in the dataset?

Answer:

Summary Statistics Weight

3. Code

(copy & paste from SAS)

4. Log

(copy & paste from SAS)

5. Log

(answer the question)

Question: What was the number of observations read from the data set SASHELP.HEART?

Answer:

6. Results

(copy & paste from SAS)

7. Results

(answer the question)

Question: What was the frequency of observations and how many observations were missing?

Answer:

8. Results

Interpretation

(write one sentence)

Distribution Analysis

Weight

9. SAS Code

(copy & paste from SAS)

10. SAS Log

(copy & paste from SAS)

11. SAS Results

(copy & paste from SAS)

12. Results

Interpretation

(write one sentence)

One Sample t-Test (H0=184)

13. Code

(copy & paste from SAS)

14. Log

(copy & paste from SAS)

15. Results

(copy & paste from SAS)

16. Results

Interpretation

(write one sentence)