Answered step by step
Verified Expert Solution
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
DATA FATCOMP; INPUT EXPOSURE RESPONSE COUNT; LABEL RESPONSE = 'HEART DISEASE'; DATALINES; 00 6 012 104 1 1 11 RUNStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started