Question
sas code help: (25 points) In this question, we only consider three variables, depressed, nointerest, and appetite. All of them are categorical variables. You may
sas code help: (25 points) In this question, we only consider three variables, depressed, nointerest, and appetite. All of them are categorical variables. You may use the following SAS code to get a contingency table.
proc freq data = death;
table depressed * nointerest * appetite / out = exam_table;
run;
Fit the following log-linear models and complete the table below.
model 1: depressed, nointerest, and appetite have homogeneous association
model 2: depressed is conditionally independent of appetite given nointerest
model 3: appetite is jointly independent of depressed and nointerest
model 4: depressed, nointerest, and appetite are mutually independent
Step 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