Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Copy the SAS program/code FATCOMP . The dataset FATCOMP contains hypothetical data for a case-control study of high fat diet and the risk of coronary

Copy the SAS program/code "FATCOMP".

The dataset "FATCOMP" contains hypothetical data for a case-control study of high fat diet and the risk of coronary heart disease.

Build a 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.

Data provided below

image text in transcribed
DATA FATCOMP; INPUT EXPOSURE RESPONSE COUNT; LABEL RESPONSE = 'HEART DISEASE'; DATALINES; 00 6 012 104 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

Step: 3

blur-text-image

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

Foundations of Marketing

Authors: William M. Pride, O. C. Ferrell

3rd Edition

618973370, 547154569, 9780618973378, 978-0547154565

Students also viewed these Mathematics questions