Candisc Wuschiz Sas

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

/* -----------------------------------------------------------------FILE: candisc.wuschiz.

sas
DATA: Wash U Twin Study: Schizophrenia
PURPOSE: Canonical discriminant analysis
------------------------------------------------------------------- */
* - NOTE: Assign LIBANME p7291 to the directory/folder containing
the wuschiz data;
*LIBNAME p7291 '';
OPTIONS NOCENTER NODATA PAGENO=1 LINESIZE=80;
DATA temp;
SET p7291.wuschiz;
RUN;
TITLE Example of a Canonical Discriminant Analysis;
TITLE2 Wash U Schizophrenia data;
PROC CANDISC DATA=wuschiz
DISTANCE
STDMEAN
ANOVA;
CLASS schizo;
VAR l -- si;
RUN;

You might also like