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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!