Purpose to compare average response among levels of the factors Chapters 2-4 -predict future response at specific factor level -recommend best factor.

Slides:



Advertisements
Similar presentations
I OWA S TATE U NIVERSITY Department of Animal Science Using Basic Graphical and Statistical Procedures (Chapter in the 8 Little SAS Book) Animal Science.
Advertisements

Statistical Techniques I EXST7005 Start here Measures of Dispersion.
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
GENERAL LINEAR MODELS: Estimation algorithms
SPH 247 Statistical Analysis of Laboratory Data 1April 2, 2013SPH 247 Statistical Analysis of Laboratory Data.
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #19 Analysis of Designs with Random Factor Levels.
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
Experimental design and analyses of experimental data Lesson 2 Fitting a model to data and estimating its parameters.
Analysis of Variance Compares means to determine if the population distributions are not similar Uses means and confidence intervals much like a t-test.
Simple Linear Regression. G. Baker, Department of Statistics University of South Carolina; Slide 2 Relationship Between Two Quantitative Variables If.
EPI 809/Spring Probability Distribution of Random Error.
Design of Experiments and Analysis of Variance
Chapter 12 Simple Linear Regression
Multiple regression analysis
ANOVA notes NR 245 Austin Troy
Design of Engineering Experiments - Experiments with Random Factors
ANalysis Of VAriance (ANOVA) Comparing > 2 means Frequently applied to experimental data Why not do multiple t-tests? If you want to test H 0 : m 1 = m.
This Week Continue with linear regression Begin multiple regression –Le 8.2 –C & S 9:A-E Handout: Class examples and assignment 3.
Multivariate Analysis of Variance, Part 1 BMTRY 726.
Overview of Meta-Analytic Data Analysis
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Regression Analysis (2)
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
Fixed vs. Random Effects
© 2002 Prentice-Hall, Inc.Chap 14-1 Introduction to Multiple Regression Model.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation.
1 Design of Engineering Experiments Part 10 – Nested and Split-Plot Designs Text reference, Chapter 14, Pg. 525 These are multifactor experiments that.
23-1 Analysis of Covariance (Chapter 16) A procedure for comparing treatment means that incorporates information on a quantitative explanatory variable,
Topic 7: Analysis of Variance. Outline Partitioning sums of squares Breakdown degrees of freedom Expected mean squares (EMS) F test ANOVA table General.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Regression For the purposes of this class: –Does Y depend on X? –Does a change in X cause a change in Y? –Can Y be predicted from X? Y= mX + b Predicted.
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
GENERAL LINEAR MODELS Oneway ANOVA, GLM Univariate (n-way ANOVA, ANCOVA)
Randomized Block Design (Kirk, chapter 7) BUSI 6480 Lecture 6.
6-1 Introduction To Empirical Models Based on the scatter diagram, it is probably reasonable to assume that the mean of the random variable Y is.
Chapter 19 Analysis of Variance (ANOVA). ANOVA How to test a null hypothesis that the means of more than two populations are equal. H 0 :  1 =  2 =
The Completely Randomized Design (§8.3)
DOX 6E Montgomery1 Design of Engineering Experiments Part 9 – Experiments with Random Factors Text reference, Chapter 13, Pg. 484 Previous chapters have.
6-3 Multiple Regression Estimation of Parameters in Multiple Regression.
BUSI 6480 Lecture 8 Repeated Measures.
ANOVA: Analysis of Variance.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
By: Corey T. Williams 03 May Situation Objective.
Analysis Overheads1 Analyzing Heterogeneous Distributions: Multiple Regression Analysis Analog to the ANOVA is restricted to a single categorical between.
Simple Linear Regression. Data available : (X,Y) Goal : To predict the response Y. (i.e. to obtain the fitted response function f(X)) Least Squares Fitting.
1 Experiments with Random Factors Previous chapters have considered fixed factors –A specific set of factor levels is chosen for the experiment –Inference.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
1 Experimental Statistics Spring week 6 Chapter 15: Factorial Models (15.5)
Experimental Statistics - week 3
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
1 Statistics 262: Intermediate Biostatistics Regression Models for longitudinal data: Mixed Models.
The Mixed Effects Model - Introduction In many situations, one of the factors of interest will have its levels chosen because they are of specific interest.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
1 An example of a more complex design (a four level nested anova) 0 %, 20% and 40% of a tree’s roots were cut with the purpose to study the influence.
Experimental Statistics - week 9
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
1 Experimental Statistics - week 12 Chapter 11: Linear Regression and Correlation Chapter 12: Multiple Regression.
Simple and multiple regression analysis in matrix form Least square Beta estimation Beta Simple linear regression Multiple regression with two predictors.
1 Chapter 5.8 What if We Have More Than Two Samples?
1 Experimental Statistics - week 11 Chapter 11: Linear Regression and Correlation.
Topic 31: Two-way Random Effects Models
Experimental Statistics - Week 4 (Lab)
CHAPTER 12 More About Regression
Experimental Statistics - week 8
Presentation transcript:

Purpose to compare average response among levels of the factors Chapters 2-4 -predict future response at specific factor level -recommend best factor level for future use Purpose to Study Sources of Variability Chapter 5 - Medical diagnostic tests (procedures, equipment, reagents etc. - Educational testing (student, testing instrument, repeat tests) - Quality Control Measurements (operator, equipment, environment)

Random Sampling Experiment or RSE

Determine if changes in factor levels cause difference in mean response Estimate variance in response across levels of this factor Model for RSE Model for CRD

samples preparations variance components

From Chapter 2

Notice interval estimate for  2 t much wider than  2 What if MST < MSE ?

Variability in dry soup mix “intermix” (vegetable oil, salt flavorings etc.) - too little not enough flavor - too much too strong Make batch of soup and dry it on a rotary dryer Place dry soup in a mixer where intermix is injected through ports Package number of mixer ports for Vegetable oil temperature of mixer jacket Mixing time Batch weight delay time between mixing and packaging, etc. Ingredients Cook temperature Dryer temperature Dryer RPM, etc.

If you would like the width of the confidence interval to be  ½ (  2 ), search for t and r such that the multiplier of  above is  1.0

Degrees of freedom for error is t(r-1)

Rule of thumb for determining t and r When  2 t is expected to be larger than  2 choose t = 2, r = 2 Another way is to determine the power of the F-test of H 0 :  2 t = 0

partoperator Repeat measurement gage reproducibility

Iteration Objective Var(part) Var(oper) Var(part*oper) Var(Error) Convergence criteria met. REML Estimates Variance Component Estimate Var(part) Var(oper) 0 Var(part*oper) Var(Error) Asymptotic Covariance Matrix of Estimates Var(part) Var(oper) Var(part*oper) Var(Error) Var(part) E E-13 Var(oper) Var(part*oper) E E-8 Var(Error) E E E-8

Replace t(r-1) by ab(r-1) in formula 5.8 in order to get the desired width for a confidence interval on  2 When  2 a,  2 b, and  2 ab are expected to be larger than  2 choose r = 2, partition ab according to your belief in the relative size of  2 a and  2 b

Method of Moments Estimators are not unique, because they depend on whether type I or type III sums of squares are used Maximum Likelihood and REML estimates are unique

Source DF Type I SS Mean Square F Value Pr > F lab sol lab*sol Source DF Type III SS Mean Square F Value Pr > F lab sol lab*sol proc glm; class lab sol; model conc=lab sol lab*sol/e1; random lab sol lab*sol; run;

Source Type III Expected Mean Square lab Var(Error) Var(lab*sol) Var(lab) sol Var(Error) Var(lab*sol) Var(sol lab*sol Var(Error) Var(lab*sol) Source Type I Expected Mean Square lab Var(Error) Var(lab*sol) Var(sol)+8.963Var(lab) sol Var(Error) Var(lab*sol) Var(sol) lab*sol Var(Error) Var(lab*sol)

proc varcomp method=reml; class lab sol; model conc=lab sol lab*sol; run; Maximum Likelihood and REML estimates are unique

Approximate Confidence Intervals

crossed factors – levels are uniquely defined (example operators and levels in Gage RR study) nested factors – levels are physically different depending on the level of the factor they are nested in.

Writing the model in SAS notation determination(sample )

Example: Experiment with goal of increasing amount of active pesticide on cotton leafs one week after application Fixed factors: A: pesticide formulation (liquid, powder) B: application method (distance above plants) Random Factors: 1) Experimental Unit- 20 foot row 2) Random subsample of leaves

Formulation (fixed) Application method (fixed) Experimental unit (random) Subsample (random)

Sum of Source DF Squares Mean Square F Value Pr > F Model Error Corrected Total R-Square Coeff Var Root MSE residue Mean Source DF Type I SS Mean Square F Value Pr > F form app <.0001 form*app plot(form*app) Source DF Type III SS Mean Square F Value Pr > F form app <.0001 form*app plot(form*app)

Least Squares Means Standard Errors and Probabilities Calculated Using the Type III MS for plot(form*app) as an Error Term residue Standard app LSMEAN Error Pr > |t| < <.0001 Dependent Variable: residue Standard Parameter Estimate Error t Value Pr > |t| application effect <.0001

Model for RSE Equal Variance and Normality Assumptions

partoperator Repeat measurement

if r =

Lot 19

Check this assumption by making normal plot of residuals Check this assumption by making normal plot of EBLUPs

Preparation 2 Box 1 Lot 19 Preparation 1 Box 2 Lot 2