" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Step 0: Prepare data-file for carrying out Spatial Analysis of data from UnReplicated trials. The texts within the (two matching) double quotes are the comments (ignored by Genstat) to help input the values of the parameters. Some input names would be mandatory as defined in the program. Save this file as text file. You must include the following identifier/abbreviation for the mandatory variables/vectors (factors) . Vectors/factors TrialNo: column (factor) to represent trial. Geno: column (factor) to represent the genotype. Rows: column (factor) to represent row-position of the plot in the rectangular layout in the field Cols: column (factor) to represent column-position of the plot in the rectangular layout in the field Note: If the layout has more rows than columns (i.e. the number of rows is greater than the number of columns), then designate 1) its rows as Cols, and 2) its columns as Rows in your 3rd input line. Preparing the file: There are following 5 places for inputting information from your side. 1. First input: Choose the set of models you wish to select the best from. If you wish to search from all the nine models shown in the example, then do not change the line of 1st input, shown in the example, else you may cut and paste from the following list. Note that the whole list (items separated by commas) should be within single quotes. (models): ' Crd,CrdAr,CrdArAr, CrdL,CrdLAr,CrdLArAr, CrdCS,CrdCSAr,CrdCSArAr ' A short explanation of model abbreviations: ModelTitle = Crd,CrdAr,CrdArAr, CrdL,CrdLAr,CrdLArAr, CrdCS,CrdCSAr,CrdCSArAr ModelNo = 1, 2, 3, 4, 5, 6, 7, 8, 9 The texts in the ModelTitle stand for following features combined: Crd = Completely randomized design(CRD); no spatial feature Ar = First order auto-correlated (AR) errors along rows ArAr = First order auto-correlated (AR) errors along rows and along columns L = Linear trend along rows CS = random cubic smoothing spline in column numbers (including linear trend) 2. Second input: Input a criteria for selecting the best model (no space between text and the quotes, currently only three: AIC1, aic, bic. (example, 'AIC1' ). where AIC1: Akaike information criterion expressed as deviance and using Singh et al. (2003). Journal of Experimental Agriculture, 39:151-160. aic/bic(=sic): Akaike/Bayesian(=Schwarz) Information critrion. 3. Third input: List the variables you wish to analyze ; the whole list (items separated by commas) should be within single quotes. for example: ' phbr, gybr' 4. Fourth input: List all the variables in the data file to read; the whole list (items separated by commas) should be within single quotes. for example: ' TrialNo, Plot, Rows, Cols, Geno, phbr, gybr' 5. Fifth input: Place the columns of the data exactly in the same order as in the Second input (Step 3) Warning: a. Please do not put any column of text values. b. All the variables should be as a single word begining with a letter (such as W100Seeds or Yield, but not as ' W100 Seeds ' ) c. Variables for analysis are in Step 2 (second input), so thay must be exactly same as in Step 3 (third input), where they are being read for storing data values d. Missing values should be expressed by an asterisk ( * ) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ " ' Crd ,CrdAr,CrdArAr, CrdL,CrdLAr,CrdLArAr, CrdCS,CrdCSAr,CrdCSArAr ' "<-------- List the models you wish to choose from in this line. (Input 1st of 4 inputs) ---------------------" 'AIC1' " Input a criteria for selecting the model (no space between text and the quotes, currently only three: AIC1, aic, bic) (Input 2nd of 5 inputs) --------------------------------------" 'gybr , phbr' "<------------ List the variables you wish to analyze in this line. (Input 3rd of 5 inputs) ---------------------" ' TrialNo, Plot, Rows, Cols, Geno, phbr, gybr ' "<------------ List all the variables in the data file in this line. (Input 4th of 5 inputs) ---------------------" " Insert columns of your data below in the order of 3rd input line ---- (5th and the last input) " 1 1 1 1 7 40 993 1 2 1 2 1 35 837 1 3 1 3 2 33 708 1 4 1 4 3 39 1120 1 5 1 5 4 35 941 1 6 1 6 5 24 832 1 7 1 7 6 35 969 1 8 1 8 7 30 907 1 9 1 9 8 29 685 1 10 1 10 9 21 603 1 11 1 11 10 31 933 1 12 1 12 11 40 408 1 13 1 13 12 25 680 1 14 1 14 13 19 975 1 15 1 15 14 40 1029 1 16 1 16 9 25 589 1 17 1 17 15 38 943 1 18 1 18 16 45 1139 1 19 1 19 9 23 485 1 20 1 20 7 35 949 1 21 1 21 17 35 769 1 22 1 22 18 24 855 1 23 1 23 19 24 753 1 24 1 24 20 33 765 1 25 1 25 21 35 841 1 26 1 26 22 25 836 1 27 1 27 23 28 812 1 28 1 28 24 20 915 1 29 1 29 25 30 788 1 30 1 30 7 35 908 1 31 1 31 26 28 953 1 32 1 32 27 21 1012 1 33 1 33 28 23 837 1 34 1 34 29 33 893 1 35 1 35 30 38 907 1 36 1 36 31 40 876 1 37 1 37 32 30 809 1 38 2 37 33 40 871 1 39 2 36 34 45 991 1 40 2 35 7 35 984 1 41 2 34 35 38 868 1 42 2 33 36 30 831 1 43 2 32 37 27 1069 1 44 2 31 38 28 1167 1 45 2 30 39 35 979 1 46 2 29 40 37 1089 1 47 2 28 41 43 927 1 48 2 27 42 37 1209 1 49 2 26 43 29 1076 1 50 2 25 7 32 951 1 51 2 24 44 27 829 1 52 2 23 45 24 701 1 53 2 22 46 29 776 1 54 2 21 47 22 652 1 55 2 20 48 34 827 1 56 2 19 49 30 655 1 57 2 18 50 34 821 1 58 2 17 51 28 661 1 59 2 16 52 34 889 1 60 2 15 7 28 873 1 61 2 14 53 26 567 1 62 2 13 54 39 895 1 63 2 12 55 24 725 1 64 2 11 56 39 1131 1 65 2 10 57 32 905 1 66 2 9 58 23 1307 1 67 2 8 59 35 819 1 68 2 7 60 35 925 1 69 2 6 61 35 1017 1 70 2 5 7 37 963 1 71 2 4 62 35 923 1 72 2 3 63 32 939 1 73 2 2 64 33 936 1 74 2 1 65 31 915 1 75 3 1 66 34 1200 1 76 3 2 67 30 788 1 77 3 3 68 29 705 1 78 3 4 69 37 948 1 79 3 5 70 40 859 1 80 3 6 7 33 1168 1 81 3 7 71 41 1347 1 82 3 8 72 35 1312 1 83 3 9 73 40 1291 1 84 3 10 74 32 1195 1 85 3 11 75 35 1041 1 86 3 12 76 35 1096 1 87 3 13 77 33 881 1 88 3 14 78 30 956 1 89 3 15 79 37 1251 1 90 3 16 7 38 1241 1 91 3 17 80 32 771 1 92 3 18 81 34 984 1 93 3 19 82 63 901 1 94 3 20 83 50 716 1 95 3 21 84 64 877 1 96 3 22 85 30 909 1 97 3 23 86 54 916 1 98 3 24 87 50 1159 1 99 3 25 88 55 892 1 100 3 26 7 39 1183 1 101 3 27 89 29 1095 1 102 3 28 90 30 1243 1 103 3 29 91 34 1189 1 104 3 30 92 36 1027 1 105 3 31 93 54 605 1 106 3 32 94 60 711 1 107 3 33 95 45 896 1 108 3 34 96 37 1023 1 109 3 35 97 40 1032 1 110 3 36 98 47 920 1 111 3 37 99 46 1053 1 112 4 37 100 45 951 1 113 4 36 101 60 968 1 114 4 35 102 30 976 1 115 4 34 103 31 1107 1 116 4 33 104 36 1204 1 117 4 32 105 48 1148 1 118 4 31 106 49 1279 1 119 4 30 107 47 1153 1 120 4 29 7 40 1175 1 121 4 28 108 45 1053 1 122 4 27 109 53 1113 1 123 4 26 110 52 1081 1 124 4 25 111 68 1043 1 125 4 24 112 53 1029 1 126 4 23 113 48 1029 1 127 4 22 114 42 1053 1 128 4 21 115 57 1239 1 129 4 20 116 48 1148 1 130 4 19 7 40 1164 1 131 4 18 117 50 1089 1 132 4 17 118 40 1037 1 133 4 16 119 40 1199 1 134 4 15 120 38 1331 1 135 4 14 121 50 839 1 136 4 13 122 50 1109 1 137 4 12 123 57 1044 1 138 4 11 124 45 1141 1 139 4 10 125 48 1012 1 140 4 9 7 41 1160 1 141 4 8 126 44 1141 1 142 4 7 127 58 1145 1 143 4 6 128 53 1215 1 144 4 5 129 41 1020 1 145 4 4 130 33 1003 1 146 4 3 131 34 1097 1 147 4 2 132 35 1164 1 148 4 1 7 40 1117 2 1 1 1 7 40 993 2 2 1 2 1 35 837 2 3 1 3 2 33 708 2 4 1 4 3 39 1120 2 5 1 5 4 35 941 2 6 1 6 5 24 832 2 7 1 7 6 35 969 2 8 1 8 7 30 907 2 9 1 9 8 29 685 2 10 1 10 9 21 603 2 11 1 11 10 31 933 2 12 1 12 11 40 408 2 13 1 13 12 25 680 2 14 1 14 13 19 975 2 15 1 15 14 40 1029 2 16 1 16 9 25 589 2 17 1 17 15 38 943 2 18 1 18 16 45 1139 2 19 1 19 9 23 485 2 20 1 20 7 35 949 2 21 1 21 17 35 769 2 22 1 22 18 24 855 2 23 1 23 19 24 753 2 24 1 24 20 33 765 2 25 1 25 21 35 841 2 26 1 26 22 25 836 2 27 1 27 23 28 812 2 28 1 28 24 20 915 2 29 1 29 25 30 788 2 30 1 30 7 35 908 2 31 1 31 26 28 953 2 32 1 32 27 21 1012 2 33 1 33 28 23 837 2 34 1 34 29 33 893 2 35 1 35 30 38 907 2 36 1 36 31 40 876 2 37 1 37 32 30 809 2 38 2 37 33 40 871 2 39 2 36 34 45 991 2 40 2 35 7 35 984 2 41 2 34 35 38 868 2 42 2 33 36 30 831 2 43 2 32 37 27 1069 2 44 2 31 38 28 1167 2 45 2 30 39 35 979 2 46 2 29 40 37 1089 2 47 2 28 41 43 927 2 48 2 27 42 37 1209 2 49 2 26 43 29 1076 2 50 2 25 7 32 951 2 51 2 24 44 27 829 2 52 2 23 45 24 701 2 53 2 22 46 29 776 2 54 2 21 47 22 652 2 55 2 20 48 34 827 2 56 2 19 49 30 655 2 57 2 18 50 34 821 2 58 2 17 51 28 661 2 59 2 16 52 34 889 2 60 2 15 7 28 873 2 61 2 14 53 26 567 2 62 2 13 54 39 895 2 63 2 12 55 24 725 2 64 2 11 56 39 1131 2 65 2 10 57 32 905 2 66 2 9 58 23 1307 2 67 2 8 59 35 819 2 68 2 7 60 35 925 2 69 2 6 61 35 1017 2 70 2 5 7 37 963 2 71 2 4 62 35 923 2 72 2 3 63 32 939 2 73 2 2 64 33 936 2 74 2 1 65 31 915 2 75 3 1 66 34 1200 2 76 3 2 67 30 788 2 77 3 3 68 29 705 2 78 3 4 69 37 948 2 79 3 5 70 40 859 2 80 3 6 7 33 1168 2 81 3 7 71 41 1347 2 82 3 8 72 35 1312 2 83 3 9 73 40 1291 2 84 3 10 74 32 1195 2 85 3 11 75 35 1041 2 86 3 12 76 35 1096 2 87 3 13 77 33 881 2 88 3 14 78 30 956 2 89 3 15 79 37 1251 2 90 3 16 7 38 1241 2 91 3 17 80 32 771 2 92 3 18 81 34 984 2 93 3 19 82 63 901 2 94 3 20 83 50 716 2 95 3 21 84 64 877 2 96 3 22 85 30 909 2 97 3 23 86 54 916 2 98 3 24 87 50 1159 2 99 3 25 88 55 892 2 100 3 26 7 39 1183 2 101 3 27 89 29 1095 2 102 3 28 90 30 1243 2 103 3 29 91 34 1189 2 104 3 30 92 36 1027 2 105 3 31 93 54 605 2 106 3 32 94 60 711 2 107 3 33 95 45 896 2 108 3 34 96 37 1023 2 109 3 35 97 40 1032 2 110 3 36 98 47 920 2 111 3 37 99 46 1053 2 112 4 37 100 45 951 2 113 4 36 101 60 968 2 114 4 35 102 30 976 2 115 4 34 103 31 1107 2 116 4 33 104 36 1204 2 117 4 32 105 48 1148 2 118 4 31 106 49 1279 2 119 4 30 107 47 1153 2 120 4 29 7 40 1175 2 121 4 28 108 45 1053 2 122 4 27 109 53 1113 2 123 4 26 110 52 1081 2 124 4 25 111 68 1043 2 125 4 24 112 53 1029 2 126 4 23 113 48 1029 2 127 4 22 114 42 1053 2 128 4 21 115 57 1239 2 129 4 20 116 48 1148 2 130 4 19 7 40 1164 2 131 4 18 117 50 1089 2 132 4 17 118 40 1037 2 133 4 16 119 40 1199 2 134 4 15 120 38 1331 2 135 4 14 121 50 839 2 136 4 13 122 50 1109 2 137 4 12 123 57 1044 2 138 4 11 124 45 1141 2 139 4 10 125 48 1012 2 140 4 9 7 41 1160 2 141 4 8 126 44 1141 2 142 4 7 127 58 1145 2 143 4 6 128 53 1215 2 144 4 5 129 41 1020 2 145 4 4 130 33 1003 2 146 4 3 131 34 1097 2 147 4 2 132 35 1164 2 148 4 1 7 40 1117