RANDOMIZED COMPLETE BLOCK DESIGN (RCBD) Probably the most used and useful of the experimental designs.

Similar documents
RCBD with Sampling Pooling Experimental and Sampling Error

Block Block Block

Latin Square Design. Design of Experiments - Montgomery Section 4-2

Replicated Latin Square and Crossover Designs

GLM Example: One-Way Analysis of Covariance

Statistical Consulting Topics. RCBD with a covariate

Model II ANOVA: Variance Components

Paired plot designs experience and recommendations for in field product evaluation at Syngenta

Problem Points Score USE YOUR TIME WISELY USE CLOSEST DF AVAILABLE IN TABLE SHOW YOUR WORK TO RECEIVE PARTIAL CREDIT

Linear mixed models and when implied assumptions not appropriate

PROC GLM AND PROC MIXED CODES FOR TREND ANALYSES FOR ROW-COLUMN DESIGNED EXPERIMENTS

Moving on from MSTAT. March The University of Reading Statistical Services Centre Biometrics Advisory and Support Service to DFID

1'-tq/? BU-- _-M August 2000 Technical Report Series of the Department of Biometrics, Cornell University, Ithaca, New York 14853

Mixed Effects Models Yan Wang, Bristol-Myers Squibb, Wallingford, CT

Chapter 27. Inferences for Regression. Remembering Regression. An Example: Body Fat and Waist Size. Remembering Regression (cont.)

Do delay tactics affect silking date and yield of maize inbreds? Stephen Zimmerman Creative Component November 2015

Supplementary Figures Supplementary Figure 1 Comparison of among-replicate variance in invasion dynamics

Mixed Models Lecture Notes By Dr. Hanford page 151 More Statistics& SAS Tutorial at Type 3 Tests of Fixed Effects

Subject-specific observed profiles of change from baseline vs week trt=10000u

Bootstrap Methods in Regression Questions Have you had a chance to try any of this? Any of the review questions?

Resampling Statistics. Conventional Statistics. Resampling Statistics

MANOVA COM 631/731 Spring 2017 M. DANIELS. From Jeffres & Neuendorf (2015) Film and TV Usage National Survey

Modelling Intervention Effects in Clustered Randomized Pretest/Posttest Studies. Ed Stanek

Mixed models in R using the lme4 package Part 2: Longitudinal data, modeling interactions

MID-TERM EXAMINATION IN DATA MODELS AND DECISION MAKING 22:960:575

Comparison of Mixed-Effects Model, Pattern-Mixture Model, and Selection Model in Estimating Treatment Effect Using PRO Data in Clinical Trials

WPA REGIONAL CONGRESS OSAKA Japan 2015

I. Model. Q29a. I love the options at my fingertips today, watching videos on my phone, texting, and streaming films. Main Effect X1: Gender

MANOVA/MANCOVA Paul and Kaila

TWO-FACTOR ANOVA Kim Neuendorf 4/9/18 COM 631/731 I. MODEL

COMP Test on Psychology 320 Check on Mastery of Prerequisites

Discriminant Analysis. DFs

TI-Inspire manual 1. Real old version. This version works well but is not as convenient entering letter

STAT 113: Statistics and Society Ellen Gundlach, Purdue University. (Chapters refer to Moore and Notz, Statistics: Concepts and Controversies, 8e)

More About Regression

1. Model. Discriminant Analysis COM 631. Spring Devin Kelly. Dataset: Film and TV Usage National Survey 2015 (Jeffres & Neuendorf) Q23a. Q23b.

Comparing gifts to purchased materials: a usage study

8 Nonparametric test. Question 1: Are (expected) value of x and y the same?

Normalization Methods for Two-Color Microarray Data

Forage Test Results. Wheat Forage. Tifton, Georgia: Wheat Forage Performance,

Repeated measures ANOVA

SECTION I. THE MODEL. Discriminant Analysis Presentation~ REVISION Marcy Saxton and Jenn Stoneking DF1 DF2 DF3

Processes for the Intersection

Integrated Precision Harvesting System: A Promising Technology to Improve Berry Yield and Quality. Precision Agriculture Research Team

Oat Forage. Tifton, Georgia: Oat Forage Performance, Dry Matter Yield

Research Article. ISSN (Print) *Corresponding author Shireen Fathima

Sector sampling. Nick Smith, Kim Iles and Kurt Raynor

Exercises. ASReml Tutorial: B4 Bivariate Analysis p. 55

Reliability. What We Will Cover. What Is It? An estimate of the consistency of a test score.

Master's thesis FACULTY OF SCIENCES Master of Statistics

Sociology 7704: Regression Models for Categorical Data Instructor: Natasha Sarkisian

Lecture 10: Release the Kraken!

Sampling Worksheet: Rolling Down the River

GENOTYPE AND ENVIRONMENTAL DIFFERENCES IN FIBRE DIAMETER PROFILE CHARACTERISTICS AND THEIR RELATIONSHIP WITH STAPLE STRENGTH IN MERINO SHEEP

Let s randomize your treatment (draw plot #s)

DV: Liking Cartoon Comedy

Algebra I Module 2 Lessons 1 19

System Identification

AP Statistics Sampling. Sampling Exercise (adapted from a document from the NCSSM Leadership Institute, July 2000).

Tutorial 0: Uncertainty in Power and Sample Size Estimation. Acknowledgements:

Analysis of Packet Loss for Compressed Video: Does Burst-Length Matter?

Time Domain Simulations

MATH 214 (NOTES) Math 214 Al Nosedal. Department of Mathematics Indiana University of Pennsylvania. MATH 214 (NOTES) p. 1/3

Sitting through commercials: How commercial break timing and duration affect viewership

The Fox News Eect:Media Bias and Voting S. DellaVigna and E. Kaplan (2007)

TITLE OF PROJECT: 2004 Processing Pea Cultivar Evaluation

Detecting Medicaid Data Anomalies Using Data Mining Techniques Shenjun Zhu, Qiling Shi, Aran Canes, AdvanceMed Corporation, Nashville, TN

Reproducibility Assessment of Independent Component Analysis of Expression Ratios from DNA microarrays.

Best Pat-Tricks on Model Diagnostics What are they? Why use them? What good do they do?

E X P E R I M E N T 1

Precision testing methods of Event Timer A032-ET

K-Pop Idol Industry Minhyung Lee

Sampling Plans. Sampling Plan - Variable Physical Unit Sample. Sampling Application. Sampling Approach. Universe and Frame Information

Variation in fibre diameter profile characteristics between wool staples in Merino sheep

Y.XST225-VF. INTERCONTROLE Escoffier 1 XYLON MG225VF RX PDS

UPDATED STANDARDIZED CATCH RATES OF BLUEFIN TUNA (THUNNUS THYNNUS) FROM THE TRAP FISHERY IN TUNISIA

Mesotrione: Program for Bentgrass Removal and Overseeding (Fall Timing)

Estimating. Proportions with Confidence. Chapter 10. Copyright 2006 Brooks/Cole, a division of Thomson Learning, Inc.

PRECISION OF MEASUREMENT OF DIAMETER, AND DIAMETER-LENGTH PROFILE, OF GREASY WOOL STAPLES ON-FARM, USING THE OFDA2000 INSTRUMENT

CONCLUSION The annual increase for optical scanner cost may be due partly to inflation and partly to special demands by the State.

How to present your paper in correct APA style

Improving music composition through peer feedback: experiment and preliminary results

Supplemental Material: Color Compatibility From Large Datasets

subplots (30-m by 33-m) without space between potential subplots. Depending on the size of the

NAA ENHANCING THE QUALITY OF MARKING PROJECT: THE EFFECT OF SAMPLE SIZE ON INCREASED PRECISION IN DETECTING ERRANT MARKING

A STATISTICAL VIEW ON THE EXPRESSIVE TIMING OF PIANO ROLLED CHORDS

BER margin of COM 3dB

MATH 214 (NOTES) Math 214 Al Nosedal. Department of Mathematics Indiana University of Pennsylvania. MATH 214 (NOTES) p. 1/11

Optimum Frame Synchronization for Preamble-less Packet Transmission of Turbo Codes

Frequently Asked Questions

Draft December 15, Rock and Roll Bands, (In)complete Contracts and Creativity. Cédric Ceulemans, Victor Ginsburgh and Patrick Legros 1

Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian

Decision-Maker Preference Modeling in Interactive Multiobjective Optimization

in the Howard County Public School System and Rocketship Education

NON-UNIFORM KERNEL SAMPLING IN AUDIO SIGNAL RESAMPLER

AP Statistics Sec 5.1: An Exercise in Sampling: The Corn Field

How Consumers Content Preference Affects Cannibalization: An Empirical Analysis of an E-book Market

JESK. The Effect of Text Information Frame Ratio and Font Size on the Text Readability of Circle Smartwatch. 1. Introduction

Technical report on validation of error models for n.

homework solutions for: Homework #4: Signal-to-Noise Ratio Estimation submitted to: Dr. Joseph Picone ECE 8993 Fundamentals of Speech Recognition

Transcription:

Description of the Design RANDOMIZED COMPLETE BLOCK DESIGN (RCBD) Probably the most used and useful of the experimental designs. Takes advantage of grouping similar experimental units into blocks or replicates. The blocks of experimental units should be as uniform as possible. The purpose of grouping experimental units is to have the units in a block as uniform as possible so that the observed differences between treatments will be largely due to true differences between treatments. Randomization Procedure Each replicate is randomized separately. Each treatment has the same probability of being assigned to a given experimental unit within a replicate. Each treatment must appear at least once per replicate. Example Given four fertilizer rates applied to Amidon wheat and three replicates of each treatment. Rep 1 Rep Rep 3 A B A A0 kg N/ha D A B B50 kg N/ha C D C C100 kg N/ha B C D D150 kg N/ha Advantages of the RCBD 1. Generally more precise than the CRD.. No restriction on the number of treatments or replicates. 3. Some treatments may be replicated more times than others. 4. Missing plots are easily estimated. 5. Whole treatments or entire replicates may be deleted from the analysis. 1

6. If experimental error is heterogeneous, valid comparisons can still be made. Disadvantages of the RCBD 1. Error df is smaller than that for the CRD (problem with a small number of treatments).. If there is a large variation between experimental units within a block, a large error term may result (this may be due to too many treatments). 3. If there are missing data, a RCBD experiment may be less efficient than a CRD NOTE: The most important item to consider when choosing a design is the uniformity of the experimental units. RCBD No Sampling Example Grain yield of rice at six seeding rates (Mg/ha): Seeding rate (kg/ha) Rep 5 50 75 100 15 150 Y.j 1 5.1 5.3 5.3 5. 4.8 5.3 31.0 5.4 6.0 5.7 4.8 4.8 4.5 31. 3 5.3 4.7 5.5 5.0 4.4 4.9 9.8 4 4.7 4.3 4.7 4.4 4.7 4.1 6.9 Y i. 0.5 0.3 1. 19.4 18.7 18.8 118.9 ij Y 105.35 104.67 11.9 94.44 87.53 89.16 594.07 Step 1. Calculate the correction factor (CF). Y.. 118.9 CF tr 6*4 589.050

Step. Calculate the Total SS. Total SS Y ij CF (5.1 + 5.4 + 5.3 +... + 4.1 ) CF 5.0 Step 3. Calculate the Replicate SS (Rep SS) Re p SS Y t. j CF ( 31.0 + 31. + 9.8 + 6.9 ) 6 CF 1.965 Step 4. Calculate the Treatment SS (Trt SS) Trt SS Y r i. CF ( 0.5 + 0.3 + 1. + 19.4 + 18.7 + 18.8 ) 1.675 Step 5. Calculate the Error SS Error SS Total SS Rep SS Trt SS 1.7875 4 CF 3

Step 6. Complete the ANOVA Table SOV Df SS MS F Rep r-1 3 1.9650 0.6550 Rep MS/Error MS 5.495 ** Trt t-1 5 1.675 0.535 Trt MS/Error MS.17 ns Error (r-1)(t-1) 15 1.7875 0.119 Total tr-1 3 5.000 Step 7. Look up Table F-values for Rep and Trt: Rep Trt F.05;3,15 3.9 F.05;5,15.90 F.01;3,15 5.4 F.01;5,15 4.56 Step 8. Make conclusions. Rep: Since F calc. (5.495) > F Tab. at the 95 and 99% levels of confidence, we reject H o : All replicate means are equal. TRT: Since F calc. (.17) < F Tab. at the 95 and 99% levels of confidence, we fail to reject H o : All treatment means are equal. Step 9. Calculate Coefficient of Variation (CV). CV s *100 Y.119 4.95 *100 6.97% Step 10. Calculate LSD s if necessary There is no need to calculate a LSD for replicate since you generally are not interested in comparing differences between replicate means. Since the F-test for treatment was non-significant, one would not calculate the F- protected LSD. However, if the F-test for treatment was significant, the LSD would be: 4

LSD TRT t.05 ErrorMS r.131 (0.119) 4 0.76 Significance of F-tests on Replicate This is a valid F-test but requires careful interpretation. If the F-test for replicate is significant, this indicates that the precision of the experiment has been increased by using this design instead of a CRD. This suggests that the scope of the experiment may have been increased since the experiment was conducted over a wider range of conditions. One needs to be careful when replicate effects are large because this suggests heterogeneity of error may exist. If replicate effects are small, this suggests that either the experimenter was not successful in reducing error variance of the individual experimental units or that the experimental units were homogenous to start. To know which situation is true in your case, you need to have the experience of knowing the typical size of the Rep MS. Missing Data For each missing value in the experiment, you loose one degree of freedom from error and total. Reasons for missing data include: 1. Animal dies. Break a test tube. 3. Animals eat grain in the plot. 4. Spill grain sample. 5

The value for a missing plot can be estimated by using the formula: Y ij ( rb+ tt G) ( r 1)( t 1) Example where: r number of replicates t number of treatments B replicate total of replicate with missing value T treatment total of treatment with missing value G Experiment total (Y..) Suppose you have the following data and analysis with no missing data: Treatment Rep A B C D Y.j 1 9 11 3 7 30 8 13 5 10 36 3 7 1 8 4 31 Y i. 4 36 16 1 97 SOV Df SS MS F Rep 5.167.584 0.56 ns Trt 3 7.50 4.083 4.898 * Error 6 9.500 4.917 Total 11 106.917 Now assume the value for Y 3 is missing. Treatment Rep A B C D Y.j 1 9 11 3 7 30 8 13 10 31 3 7 1 8 4 31 Y i. 4 36 11 1 9 6

Step 1. Estimate the missing value for Y 3 using the formula: Y ij ( rb+ tt G) ( r 1)( t 1) [(3*31) + (4*11) 9] (3 1)(4 1) 7.5 Step. Substitute the calculate value into the missing spot in the data. Treatment Rep A B C D Y.j 1 9 11 3 7 30 8 13 7.5 10 38.5 3 7 1 8 4 31 Y i. 4 36 18.5 1 99.5 Step 3. Complete the analysis. Remember that you will loose one degree of freedom in error and total for each missing value. SOV Df SS MS F Rep 10.79 5.396 1.03 ns Trt 3 60.063 0.01 3.795 ns Error 5 6.375 5.75 Total 10 97.9 Facts About the Missing Value Analysis Use of the estimated value does not improve the analysis or supply additional information. It only facilitates the analysis of the remaining data. The Error MS calculated using the estimate of the missing value is a minimum. Use of any other value but the one calculated would result in a larger value. The TRT SS and Rep SS are biased values. Unbiased values can be calculated using Analysis of Covariance. The mean calculated using the estimate of the missing value is called a Least Square Mean. 7

Calculating the LSD When You Have One Missing Value You will need to calculate two LSD s. 1. LSD to compare treatments with no missing values. LSD TRT t.05 ErrorMS r.571 (5.75) 3 4.81. Compare the treatment with the missing value with the treatments with no missing values (note the calculation of s. Y1 Y LSD TRT t.05 s t + ( 1)( 1) r r r t.571 4 5.75 + 3 3(3 1)(4 1) 5.567 Missing Data More than One Missing Value Given the following data and analysis with no missing data: Treatment Rep A B C D Y.j 1 3.1 3.3 3.6 3.9 13.9 3.1 3.4 3.4 4.0 13.9 3 3.0 3. 3.6 4. 14.0 Y i. 9. 9.9 10.6 1.1 41.8 8

SOV Df SS MS F Rep 0.00 0.001 0.063 ns Trt 3 1.537 0.51 3.000 ** Error 6 0.098 0.016 Total 11 1.637 Now assume Y and Y 41 are missing. Treatment Rep A B C D Y.j 1 3.1 3.3 3.6 10.0 3.1 3.4 4.0 10.5 3 3.0 3. 3.6 4. 14.0 Y i. 9. 6.5 10.6 8. 34.5 Step 1. Estimate all but one of the missing values by using means. Y 3.3 + 3. 3.1+ 3.4 + 4.0 + 3 3.375 Step. Substitute this value into the table for Y. Treatment Rep A B C D Y.j 1 3.1 3.3 3.6 10.0 3.1 3.375 3.4 4.0 13.875 3 3.0 3. 3.6 4. 14.0 Y i. 9. 9.875 10.6 8. 37.875 Step 3. Estimate Y 41. Y 41 ( rb + tt G) ( r 1)( t 1) [(3*10) + (4*8.) 37.875] (3 1)(4 1) 4.15 9

Step 4. Substitute this value into the table for Y 41 and estimate Y again. Treatment Rep A B C D Y.j 1 3.1 3.3 3.6 4.15 14.15 3.1 3.4 4.0 10.5 3 3.0 3. 3.6 4. 14.0 Y i. 9. 6.5 10.6 1.35 38.65. Y ( rb + tt G) ( r 1)( t 1) [(3*10.5) + (4*6.5) 38.65] (3 1)(4 1) 3.14 Step 5. Redo the estimate of Y 41 using the new estimate of Y. Y 41 ( rb + tt G) ( r 1)( t 1) [(3*10) + (4*8.) 37.64] (3 1)(4 1) 4.19 Step 6. Redo the estimate of Y using the new estimate of Y 41. Y ( rb + tt G) ( r 1)( t 1) [(3*10.5) + (4*6.5) 38.69] (3 1)(4 1) 3.14 10

You keep going through these steps until the estimated values don t change. For this problem I would probably estimate Y 41 one more time. Calculation of the LSD s when there is more than one missing value is not similar to that used when there is one missing value. RCBD with Sampling As we had with the CRD with sampling, we will have a source of variation for sampling error. Calculation of the Experimental Error df is done the same way as if there was no sampling. Calculation of the Sampling Error df is done the same way as was done for the CRD with sampling. ANOVA Table Example SOV Df F Rep r-1 Rep MS/Expt. Error MS Trt t-1 Trt MS/Expt. Error MS Experimental Error (r-1)(t-1) Sampling Error (rts-1)-(tr-1) Total trs-1 Treatment Rep Sample A B C 1 1 78 68 89 1 8 64 87 Y 11. 160 Y 1. 13 Y 31. 176 Y.1. 468 1 74 6 88 78 66 9 Y 1. 15 Y. 18 Y 3. 180 Y.. 460 3 1 80 70 90 3 84 60 96 Y 13. 164 Y 3. 130 Y 33. 186 Y.3. 480 Y i.. 476 390 54 Y 1408 11

Step 1. Calculate the Correction Factor (CF). Y... rts 1408 3(3)() 110,136.889 Step. Calculate the Total SS: Total SS Y ijk CF ( 78 + 8 + 74 +... + 96 ) 11.111 Step 3. Calculate the Replicate SS. CF Rep SS Y ts. j. CF 468 3() 460 + 3() 480 + 3() CF 33.778 Step 4. Calculate the Treatment SS: Treatment SS Y rs i.. CF 476 3() 390 + 3() 54 + 3() CF 1936.444 1

Step 5. Calculate the SS Among Experimental Units Total (SSAEUT) SS AEUT Y s ij. CF 160 15 + 164 + 186 +... + CF 003.111 Step 6. Calculate the Experimental Error SS: Experimental Error SS SAEUT SS TRT SS REP 003.111 1936.444 33.778 3.889 Step 7. Calculate the Sampling Error SS: Sampling Error SS Total SS SSAEUT 11.111 003.111 118.0 Step 8. Complete the ANOVA Table: SOV Df SS MS F Rep r-1 33.778 16.889.054 ns Trt t-1 1936.444 968. 117.76 ** Experimental Error (r-1)(t-1) 4 3.889 8. Sampling Error (trs-1) - (tr-1) 9 118.0 Total trs-1 17 11.111 13

Step 9. Calculate LSD. LSD TRT t.05 Expt. ErrorMS rs.78 (8.) 3* 4.60 Step 10. Compare treatment means Treatment B A C Mean 65.0 a 79.3 b 90.3 c RCBD When a Treatment Appears More Than Once in a Replicate -As mentioned earlier, one advantage of the RCBD is that some treatments can appear more than once per replicate. -Often, some researchers like to have checks appear more than once per replicate, while the other treatments appear only once per replicate. Example 100-kernel weight of barley (g) Rep Drummond (check) Stander Robust Morex Y.j 1 3.5, 3.3, 3.5 3.7 4.0 3.1 1.1 3.6, 3.7, 3.5 3.7 3.8 3.3 1.6 3 3.4, 3.4, 3.5 3.5 3.7 3.1 0.6 Y i. 31.4 10.9 11.5 9.5 63.3 Step 1. Calculate the correction factor (CF). Y.. CF Total # of 63.3 obs. 18.605 14

Step. Calculate the Total SS. Total SS Y ij CF (3.5 + 3.3 + 3.5 +... + 3.1 ) CF 0.95 Step 3. Calculate the Replicate SS (Rep SS) Re p SS Y. j t' CF ( 1.1 + 1.6 + 0.6 ) 6 0.083 CF Step 4. Calculate the Treatment SS (Trt SS) Trt SS Yi. r' CF 31.4 9 + ( 10.9 + 11.5 + 9.5 ) 3 CF 0.716 Step 5. Calculate the Checks within Reps SS Checks(Rep) SS Checks(Rep) SS (3.5 + 3.3 (3.5 + 3.3 + 3.5) (3.4 + 3.4 + 3.5) +... + 3.5 ) +... + 3 3 0.053 15

Step 6. Calculate the Error SS Error SS Total SS Rep SS Trt SS Check(Reps) SS 0.073 Step 7. Complete the ANOVA Table SOV Df SS MS F Rep r-1 0.083 0.04 Rep MS/Error MS 3.5 Trt t-1 3 0.716 0.39 Trt MS/Error MS 19.9 ** Check(Reps) r(#cks per rep 1) 6 0.053 Error (r-1)(t-1) 6 0.073 0.01 Total # of obs. - 1 17 0.95 Step 8. Calculate LSD s if necessary This problem will require two LSD s in order to make all comparisons: 1. Comparison of non-check treatments. LSD TRT t.05 ErrorMS r.447 (0.01) 3 0.18. Comparison of a non-check treatment to the check. LSD TRT t.05 1 1 s + n1 n.447 1 1 0.01 + 9 3 0. 16

Step 9. Show differences between treatment means. Treatment N Mean Drummond 9 3.49 Robust 3 3.17 Stander 3 3.63 Morex 3 3.83 1 LSD(0.05) 0.18 LSD(0.05) 0. 1 LSD for comparing treatments not including Drummond. LSD for comparing Drummond vs. any other treatment. Linear Models for the RCBD No Sampling Y µ + τ + β + ε ij i j ij With Sampling Y ijk i where: Y ij is the j th observation of the i th treatment, µ is the population mean, τ i is the treatment effect of the i th treatment, β is the rep effect of the j th, replicate, and µ + τ + β + δ + ε j ij ij j ε is the random error. ijk where: Y ij is the j th observation of the i th treatment, µ is the population mean, τ i is the treatment effect of the i th treatment, β is the rep effect of the j th, replicate, j δ is the sampling error, and ij ε ijk is the random error. 17

Experimental Error in the RCBD -The failure of treatments observations to have the same relative rank in all replicates. Example 1 Treatments Rep A B C D E 1 3 4 5 6 3 4 5 6 7 3 4 5 6 7 8 *Note that each treatment increases by one from replicate to replicate. Example Fill in the given table so the Experimental Error SS 0. Treatments Rep A B C D E 1 6 1 8 4 4 3 1 4 5 Answer Treatments Rep A B C D E 1 6 1 8 4 4 8 3 10 6 3 1 5 0 7 3 4 5 9 4 11 7 18

SAS Commands RCBD with no missing values. options pageno1; data rcbdmiss input trt $ rep yield; datalines; a 1 3.1 a 3.1 a 3 3.0 b 1 3.3 b 3.4 b 3 3. c 1 3.6 c 3.4 c 3 3.6 d 1 3.9 d 4.0 d 3 4. ;; ods rtf file'rcbd nomiss.rtf'; proc anova; class rep trt; model yieldrep trt; means trt/lsd; title 'ANOVA for RCBD with no Missing Data'; run; ods rtf close; SAS commands for one missing data point options pageno1; data rcbdmiss input trt $ rep yield; datalines; a 1 3.1 a 3.1 a 3 3.0 b 1 3.3 b. b 3 3. c 1 3.6 c 3.4 c 3 3.6 d 1 3.9 d 4.0 SAS uses a period for missing data. Other programs may use different values, such as a dash (-) or -999. 97

d 3 4. ;; ods rtf file'rcbd nomiss.rtf'; proc glm; class rep trt; model yieldrep trt/ss3; lsmeans trt/pdiff; title 'ANOVA for RCBD with Missing Data'; run; ods rtf close; 98

ANOVA for RCBD with no Missing Data The ANOVA Procedure Class Level Information Class Levels Values rep 3 1 3 trt 4 a b c d Number of Observations Read 1 Number of Observations Used 1

ANOVA for RCBD with no Missing Data The ANOVA Procedure Source DF Sum of Squares Mean Square F Value Pr > F Model 5 1.53833333 0.30766667 18.77 0.0013 Error 6 0.09833333 0.01638889 Corrected Total 11 1.63666667 R-Square Coeff Var Root MSE yield Mean 0.939919 3.675189 0.18019 3.483333 Source DF Anova SS Mean Square F Value Pr > F rep 0.00166667 0.00083333 0.05 0.9508 trt 3 1.53666667 0.51 31.5 0.0005

ANOVA for RCBD with no Missing Data The ANOVA Procedure NoteThis test controls the Type I comparisonwise error rate, not the : experimentwise error rate. Alpha 0.05 Error Degrees of Freedom 6 Error Mean Square 0.016389 Critical Value of t.44691 Least Significant Difference 0.558 Means with the same letter are not significantly different. t Grouping Mean N trt A 4.0333 3 d B 3.5333 3 c B C B 3.3000 3 b C C 3.0667 3 a

ANOVA for RCBD with Missing Data The GLM Procedure Class Level Information Class Levels Values rep 3 1 3 trt 4 a b c d Number of Observations Read 1 Number of Observations Used 11

ANOVA for RCBD with Missing Data The GLM Procedure Dependent Variable: yield Source DF Sum of Squares Mean Square F Value Pr > F Model 5 1.554980 0.31084596 0.76 0.003 Error 5 0.07486111 0.01497 Corrected Total 10 1.6909091 R-Square Coeff Var Root MSE yield Mean 0.954047 3.505134 0.1361 3.490909 Source DF Type III SS Mean Square F Value Pr > F rep 0.01013889 0.00506944 0.34 0.779 trt 3 1.5563889 0.51754630 34.57 0.0009

Dependent Variable: yield ANOVA for RCBD with Missing Data The GLM Procedure trt yield LSMEAN LSMEAN Number a 3.06666667 1 b 3.777778 c 3.53333333 3 d 4.03333333 4 Least Squares Means for effect trt Pr > t for H0: LSMean(i)LSMean(j) Dependent Variable: yield i/j 1 3 4 1 0.14 0.0055 0.000 0.14 0.0455 0.0009 3 0.0055 0.0455 0.0041 4 0.000 0.0009 0.0041

SAS Commands for the RCBD With Sampling options pageno1; data rcbdsamp; input Rep Sample Trt $ yield; datalines; 1 1 a 78 1 a 8 1 a 74 a 78 3 1 a 80 3 a 84 1 1 b 68 1 b 64 1 b 6 b 66 3 1 b 70 3 b 60 1 1 c 89 1 c 87 1 c 88 c 9 3 1 c 90 3 c 96 ;; ods rtf file'rcbdsamp.rtf'; proc anova; class rep trt; model yieldrep trt rep*trt; test hrep trt erep*trt; means trt/lsd erep*trt; title 'RCBD With Sampling Using the Experimental Error as the Error Term'; run; proc ods rtf close;

RCBD With Sampling Using the Experimental Error as the Error Term The ANOVA Procedure Class Level Information Class Levels Values Rep 3 1 3 Trt 3 a b c Number of Observations Read 18 Number of Observations Used 18

RCBD With Sampling Using the Experimental Error as the Error Term The ANOVA Procedure Source DF Sum of Squares Mean Square F Value Pr > F Model 8 003.111111 50.388889 19.10 <.0001 Error 9 118.000000 13.111111 Corrected Total 17 11.111111 R-Square Coeff Var Root MSE yield Mean 0.944369 4.6906 3.6097 78. Source DF Anova SS Mean Square F Value Pr > F Rep 33.777778 16.888889 1.9 0.31 Trt 1936.444444 968. 73.85 <.0001 Rep*Trt 4 3.888889 8. 0.63 0.655 Tests of Hypotheses Using the Anova MS for Rep*Trt as an Error Term Source DF Anova SS Mean Square F Value Pr > F Rep 33.777778 16.888889.05 0.434 Trt 1936.444444 968. 117.76 0.0003

RCBD With Sampling Using the Experimental Error as the Error Term The ANOVA Procedure NoteThis test controls the Type I comparisonwise error rate, not the : experimentwise error rate. Alpha 0.05 Error Degrees of Freedom 4 Error Mean Square 8. Critical Value of t.77645 Least Significant Difference 4.5965 Means with the same letter are not significantly different. t Grouping Mean N Trt A 90.333 6 c B 79.333 6 a C 65.000 6 b