tsingkong
data;
title 'Multivariate Analysis of a Repeated Measures Design';
input sex $ t1-t3;
intercep = 1;
mean = (t1 + t2 + t3) / 3;
t12 = t1 - t2;
t13 = t1 - t3;
dummy = (sex = 'M') - (sex = 'F');
cards;
F 1 2 4
F 2 3 1
F 2 1 3
F 1 3 2
M 1 2 4
M 2 1 5
M 2 1 3
;
proc print;
run;
*--------------------------old way-------------------------;
proc glm;
model t12 t13 = intercep dummy/noint; manova h=intercep;
title2 'Test of Treatment Effect';
run;
proc glm;
class sex;
model mean = sex;
title2 'Test of Sex Effect';
run;
proc glm;
class sex;
model t12 t13 = sex; manova h=sex;
title2 'Test of Treatment by Sex Interaction';
run;
大家好,请问 intercep = 1;的作用是什么??请指点!谢谢