predict year 1 crop 1 pasture lime !AVE month 56 55 56 53 57 63 6*0 predict year 2 crop 1 pasture lime !AVE month 36 0 0 53 23 24 54 54 43 35 0 0 predict year 3 crop 1 pasture lime !AVE month 70 0 21 17 0 0 0 70 0 0 53 0 predict year 4 crop 1 pasture lime !AVE month 53 56 22 92 19 44 0 0 36 0 0 49 predict year 5 crop 1 pasture lime !AVE month 0 22 0 53 70 22 0 51 16 51 0 0but then wanted to average over years as well. Both of the following predict statements produce the required values.
predict crop 1 pasture lime !PRES year month !PRWTS { 56 55 56 53 57 63 0 0 0, 0 0 0 36 0 0 53 23 24 54 54 43 35 0 0 70 0 21 17 0 0 0 70 0 0 53 0 53, 56 22 92 19 44 0 0 36 0 0 49 0 22 0 53 70 22 0 51 16 51 0 0}/5 predict crop 1 pasture lime !PRES month year !PRWTS { 56 36 70 53 0, 55 0 0 56 22 56 0 21 22 0 53 53 17 92 53 57 23 0 19 70 63 24 0 44 22, 0 54 0 0 0 0 54 70 0 51 0 43 0 36 16 0 35 0 0 51 0 0 53 5*0 49 0}/5We have presented both sets of predict statements to show how the weights were derived and presented. Notice that the order in !PRESENT year month implies that the weight coefficients are presented with values for months nested within years. There is a check which reports if non zero weights are associated with cells that have no data. The weights are reported in the .pvs file. !PRESENT counts are reported in the .res file.