Four way analysis Nursing home residence Gender Age Death
PROC TABULATE DATA=mydata.oldpeople ; VAR age_comp; CLASS dthflag gender nursehome; TABLE nursehome* gender*age_comp*MEAN, dthflag ;
PROC TABULATE DATA=mydata.oldpeople ; *** Starts the tabulate procedure, names the data set to be used ;
VAR AGE_COMP; **** This is the list of any continuous, numeric variables; **** I only have one, age_comp ;
CLASS DTHFLAG gender nursehome; **** Variables you want to use as categories go in the CLASS statement ;
TABLE nursehome* gender*age_comp*MEAN, dthflag ; ***** This statement specifies the table. The variables before the comma are your row variables ;
Results!
Now a Brief Look at Logistic Regression
TASKS > REGRESSION > LOGISTIC
The Process:
Model Fit Statistics
Which Variables are Significant
THANK YOU!