*2_REG FEW_COMMENTS WITH ALL POSSIBLE REGRESSION;
*First REG with data sets DAT_1 and NEW1, ALSO REG, CORRELATION PROCEDURE ;
data dat_1; * Data from SNIPE_C2;
input Weight Height Age Ft_Size ;
cards;
6 1 0.5 2
20 2 2.5 2
20 3 3.5 3
26 4 3.5 5
28 5 5 8
6
*ID, age, acid, xray=RESULTS 0 if neg, Size=TUMOR 0 if small, Grade=BIOPSY 0 if less serious,;
* Y=surgery LYMPH NODES INVOLVED;
* TD TD NOTE THE IF STATEMENTS IN PROGRAM TD TD;
data PROSTATE_dat_1;
INPUT ID AGE ACID XRAY SIZE GRADE Y @;
LOG_ACID = LOG(
*MULTIVARIATE ANALYSIS OF VARIANCE AND COVARIANCE: MANOVA and MANCOVA;
*Y1=SALES1, Y2=SALES2, Y3=SALES3, GROUP, PRICE, AD=ADVERTISING, V=STORE VOLUMN;
*1; *Test if there is a trend in Y1, Y2, and Y3. Contrast Y3 with Y1 and Y2;
*MODEL Y1 Y2 Y3 = / NOUNI;
*MULTIVARIATE ANALYSIS OF VARIANCE AND COVARIANCE: MANOVA and MANCOVA;
*Y1=SALES1, Y2=SALES2, Y3=SALES3, GROUP, PRICE, AD=ADVERTISING, V=STORE VOLUMN;
*1; *Test if there is a trend in Y1, Y2, and Y3. Contrast Y3 with Y1 and Y2;
*MODEL Y1 Y2 Y3 = / NOUNI;