週別 (Time) 飼料(Diet) 母雞(Hen) 第一週(Y1) 第二週 (Y2) 第三週(Y3) A1 1 112.59 98.54 95.76 A1 2 97.49 83.19 92.61 A2 3 100.80 103.81 96.16 A2 4 103.41 97.61 88.53 A3 5 93.50 102.37 104.29 A3 6 98.39 100.27 106.13

1. 分析模式

Yij = μ + Ai + Bj + (A*B)ij + e

B為時間效應;

A*B為飼料因子與時間之交互作用效應

e 為機差

2. 分析指令如下：

INPUT Diet \$ Hen Time Y;

CARDS;

A1  1   1   112.59

.

.

.

A3  6   3   106.13

;

PROC GLM;

CLASS Diet Time;

MODEL Y= Diet Time Diet*Time;

RUN;

 Source df SS MS F P-value Diet (A) 2 51.689 25.845 0.76 0.494 Time (B) 2 52.021 26.011 0.77 0.492 A × B 4 365.862 91.465 2.70 0.099 Error 9 304.366 33.818 Total 17 773.938

1. 分析模式

Yik = μ + Ai + πk + e

π為動物個體效應;

e 為機差

2. 分析指令如下：

INPUT Diet \$ Hen Y1 Y2 Y3;

CARDS;

A1  1   112.59  98.54   95.76

.

.

.

A3  6   98.39   100.27  106.13

;

PROC GLM;

CLASS Diet;

MODEL Y1-Y3=Diet;

REPEATED TIME 3 (1 2 3);

RUN;

 Source df SS MS F P-value Between hens 5 264.404 Diet (A) 2 51.689 25.845 0.36 0.722 Hens 3 212.714 70.905 Within hens 12 509.534 Time (B) 2 52.021 26.011 1.70 0.260 A × B 4 365.862 91.465 5.99 0.027 Error 6 91.652 15.275 Total 17 773.938

Billard, L., E. Song,M. Y. Shim, and G. M. Pesti. 2012. Interpreting experiments on egg production—Statistical considerations. Poult. Sci. 92: 2509-2518.

Tags
Share