Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Question 3 Use the SAS programXcode PRESSURE under the heading Question 3 in order to answer the question 3. prbefore & prAfter These are

image text in transcribedimage text in transcribed
3. Question 3 Use the SAS programXcode \"PRESSURE" under the heading \"Question 3" in order to answer the question 3. prbefore & prAfter These are tests conducted before and after a stimulus is applied to 12 men to determine its effects on systolic blood pressure. 3.]. Perform a paired sample T-Tesl for the difference between SBP {Systolic Blood Pressure) taken before and after the stimulus of 12 individuals. (Note: Add a title Paired Sample T Test) 3.2. One must provide a brief explanation and state the hypothesis concerning the paired sample TTest. (Note: state all the steps and conclusions of the hypothesis.) DATA PRESSURE; INPUT SBPbefore SBPafter @@: DATALINES: 120 '28 '24 131 130 131 118 127 140 '32 '28 125 140 141 135 137 126 118 130 132 126 129 12? 135 I RUN; 4. Question 4 Copy the SAS program/code "FATCOMP" under "Question 4" in order to answer question 4 The dataset "FATCOMP" contains hypothetical data for a case-control study of high fat diet and the risk of coronary heart disease. Variables Description Exposure A binary variable which includes ( 1 = High Cholesterol Diet) & (0 = Low Cholesterol Diet) Response 1 = Yes and 0 = No, Response indicates whether the individual is susceptible to heart disease. Count The data is recorded as cell counts which is the frequencies of exposure and response. 4.1. Create code that will perform a Chi-Square independence test between the variables EXPOSURE and RESPONSE using "PROC FREQ". The significance level for this Chi-Square test is 0.01. Assign the variable COUNT as the weight. (Note: RESPONSE = Heart Disease). 4.2. Add a title "Chi-Square test if independence" to the output. 4.3. Use the output generated above to conclude whether there is a relationship between individual's cholesterol diet and heart disease. (Note: state all the steps and conclusions of the hypothesis.) DATA FATCOMP; INPUT EXPOSURE RESPONSE COUNT; LABEL RESPONSE = 'HEART DISEASE' ; DATALINES; 0 0 6 0 1 10 1 1 11 RUN

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Classical Mechanics

Authors: R Douglas Gregory

1st Edition

0511159242, 9780511159244

More Books

Students also viewed these Mathematics questions