Programming the statistical procedures from SAS

How to analyze Least Significance Increase in Augmented Design ?

Reply
Occasional Contributor
Posts: 16

How to analyze Least Significance Increase in Augmented Design ?

I have tried to write code in augmented design (C-1 to C-4 is check varieties) and to test the significance of treatments perform in contrast. However, i didn't know how to read the increase of other varieties compare with check varieties, so I need to know how to write code Least Significance Increase. Please help me it's so important for me, thank you very much.... 

 

 


Input var $ blk trt ph;
Cards;
C-1 1 1 27
C-2 1 2 29
C-3 1 3 24
C-4 1 4 36
IC-028532 1 5 36
IC-028661 1 6 31
IC-028696 1 7 22
IC-028741 1 8 30
IC-0-28764 1 9 31
IC-028794 1 10 29
IC-028835 1 11 28
IC-028843 1 12 34
IC-028847 1 13 33
C-1 2 1 29
C-2 2 2 38
C-3 2 3 37
C-4 2 4 35
IC-036871 2 14 24
IC-036875 2 15 23
IC-036882 2 16 25
IC-036884 2 17 28
IC-036885 2 18 16
IC-041405 2 19 24
IC-042343 2 20 26
IC-042408 2 21 35
IC-042458 2 22 28
C-1 3 1 33
C-2 3 2 24
C-3 3 3 21
C-4 3 4 35
IC-060218 3 23 23
IC-060221 3 24 33
IC-060997 3 25 22
IC-063947 3 26 19
IC-066518 3 27 26
IC-073207 3 28 21
IC-073214 3 29 36
IC-073491 3 30 34
IC-073493 3 31 18
C-1 4 1 28
C-2 4 2 31
C-3 4 3 33
C-4 4 4 34
IC-079002 4 32 28
IC-079007 4 33 25
IC-079008 4 34 25
IC-079027 4 35 19
IC-079034 4 36 20
IC-079037 4 37 25
IC-079047 4 38 27
IC-079048 4 39 27
IC-079050 4 40 22
C-1 5 1 34
C-2 5 2 36
C-3 5 3 30
C-4 5 4 36
IC-082326 5 41 18
IC-082330 5 42 18
IC-082335 5 43 31
IC-082336 5 44 29
IC-082338 5 45 27
IC-082343 5 46 23
IC-082351 5 47 27
IC-082352 5 48 27
IC-082362 5 49 28
C-1 6 1 31
C-2 6 2 36
C-3 6 3 36
C-4 6 4 30
IC-104601 6 50 36
IC-104604 6 51 24
IC-104607 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