Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Similar documents
Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

LINEAR REGRESSION ANALYSIS. MODULE VIII Lecture Indicator Variables

Topic 23 - Randomized Complete Block Designs (RCBD)

Chapter 12 Analysis of Covariance

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

BOOTSTRAP METHOD FOR TESTING OF EQUALITY OF SEVERAL MEANS. M. Krishna Reddy, B. Naveen Kumar and Y. Ramu

Joint Statistical Meetings - Biopharmaceutical Section

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA

x = , so that calculated

Chapter 11: Simple Linear Regression and Correlation

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

# c i. INFERENCE FOR CONTRASTS (Chapter 4) It's unbiased: Recall: A contrast is a linear combination of effects with coefficients summing to zero:

Lecture 6 More on Complete Randomized Block Design (RBD)

Chapter 8 Indicator Variables

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Lecture 4 Hypothesis Testing

Polynomial Regression Models

Analysis of Variance and Design of Experiments-II

STAT 3008 Applied Regression Analysis

Introduction to Analysis of Variance (ANOVA) Part 1

Chapter 13: Multiple Regression

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

Reduced slides. Introduction to Analysis of Variance (ANOVA) Part 1. Single factor

A Bound for the Relative Bias of the Design Effect

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

Lecture 16 Statistical Analysis in Biomaterials Research (Part II)

First Year Examination Department of Statistics, University of Florida

Chapter 11: I = 2 samples independent samples paired samples Chapter 12: I 3 samples of equal size J one-way layout two-way layout

x i1 =1 for all i (the constant ).

Statistics for Economics & Business

ANOVA. The Observations y ij

17 Nested and Higher Order Designs

Topic- 11 The Analysis of Variance

F statistic = s2 1 s 2 ( F for Fisher )

18. SIMPLE LINEAR REGRESSION III

Modeling and Simulation NETW 707

Two-factor model. Statistical Models. Least Squares estimation in LM two-factor model. Rats

Comparison of Regression Lines

Statistics II Final Exam 26/6/18

28. SIMPLE LINEAR REGRESSION III

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Economics 130. Lecture 4 Simple Linear Regression Continued

MD. LUTFOR RAHMAN 1 AND KALIPADA SEN 2 Abstract

Topic 10: ANOVA models for random and mixed effects Fixed and Random Models in One-way Classification Experiments

UCLA STAT 13 Introduction to Statistical Methods for the Life and Health Sciences. Chapter 11 Analysis of Variance - ANOVA. Instructor: Ivo Dinov,

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Introduction to Regression

7.1. Single classification analysis of variance (ANOVA) Why not use multiple 2-sample 2. When to use ANOVA

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

ISQS 6348 Final Open notes, no books. Points out of 100 in parentheses. Y 1 ε 2

Chapter 14 Simple Linear Regression

A Method for Analyzing Unreplicated Experiments Using Information on the Intraclass Correlation Coefficient

A Comparative Study for Estimation Parameters in Panel Data Model

Biostatistics 360 F&t Tests and Intervals in Regression 1

/ n ) are compared. The logic is: if the two

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

STATISTICS QUESTIONS. Step by Step Solutions.

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X).

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi

Composite Hypotheses testing

17 - LINEAR REGRESSION II

Sampling Theory MODULE V LECTURE - 17 RATIO AND PRODUCT METHODS OF ESTIMATION

Chapter 5: Hypothesis Tests, Confidence Intervals & Gauss-Markov Result

Statistics for Business and Economics

Basic Business Statistics, 10/e

Statistical inference for generalized Pareto distribution based on progressive Type-II censored data with random removals

Professor Chris Murray. Midterm Exam

Lecture 6: Introduction to Linear Regression

ANSWERS CHAPTER 9. TIO 9.2: If the values are the same, the difference is 0, therefore the null hypothesis cannot be rejected.

Stat 642, Lecture notes for 01/27/ d i = 1 t. n i t nj. n j

A Monte Carlo Study for Swamy s Estimate of Random Coefficient Panel Data Model

a. (All your answers should be in the letter!

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

Test for Intraclass Correlation Coefficient under Unequal Family Sizes

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

The Ordinary Least Squares (OLS) Estimator

Sampling Theory MODULE VII LECTURE - 23 VARYING PROBABILITY SAMPLING

STAT 511 FINAL EXAM NAME Spring 2001

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression

4.3 Poisson Regression

1-FACTOR ANOVA (MOTIVATION) [DEVORE 10.1]

THE ROYAL STATISTICAL SOCIETY 2006 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE

Chapter 15 - Multiple Regression

Statistical tables are provided Two Hours UNIVERSITY OF MANCHESTER. Date: Wednesday 4 th June 2008 Time: 1400 to 1600

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Jon Deeks and Julian Higgins. on Behalf of the Statistical Methods Group of The Cochrane Collaboration. April 2005

Chapter 5 Multilevel Models

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications

Correlation and Regression

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II

Transcription:

Analyss of Varance and Desgn of Experment-I MODULE VIII LECTURE - 34 ANALYSIS OF VARIANCE IN RANDOM-EFFECTS MODEL AND MIXED-EFFECTS EFFECTS MODEL Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur

Fxed-effectseffects model All the factors n a fxed-effects model for an experment have a predetermned set of levels, e, they are fxed The statstcal nferences are drawn only for those levels of the factors whch are actually used n the experment Random-effects model The levels of factors used n experment are randomly drawn from a populaton of possble levels n case of a randomeffects model for an experment The statstcal nferences are drawn from the data for all levels of the factors n the populaton from whch the levels were selected and not only the levels used n the experment For example, n case of qualty control experment about the daly producton of fve machnes from an assembly lne, we have the followng set ups of fxed and random effect models: Fxed-effects: The daly producton of fve partcular machnes from an assembly lne Random-effects: The daly producton of fve machnes, chosen at random, that represent the machnes as a class

3 Many studes nvolve factors havng a predetermned set of levels and factors n whch the levels used n the study are randomly selected from a populaton of levels For example, the blocks n a randomzed complete block desgn may represent a random sample of b plots of land taken from a populaton of plots n an agrcultural research land Then the effects due to the blocks are consdered to be random effects Suppose the treatments are four new varetes of wheat that have been developed to be resstant to a specfc bactera The levels of the treatment are fxed because there are only varetes of nterest to the researchers, whereas the levels of the plots of land are random because the researchers are not nterested t n only those plots of land but are nterested t n the effects of these treatments on a wde range of plots of land When some of the factors to be used n the experment have levels randomly selected from a populaton of possble levels and other factors have predetermned levels, the model used to relate the response varable to the levels of the factors s referred to as a mxed effects model

4 Mxed effects model In a mxed-effects model for an experment, the levels of some of the factors used n the experment are randomly selected from a populaton of levels, whereas the levels of the other factors n the experment are predetermned The nferences from the data n the experment concernng factors wth fxed levels are only for the levels of the factors used n the experment, whereas the nferences concernng factors wth randomly selected levels are for all levels of the factors n the populaton from whch the levels were selected

5 Analyss of varance n one way random-effects model The model wth random effects s of the same structure as the model wth fxed effects gven as μ y = μ + + ε ( = 1,,, s; h= 1,,, n ) j j Here s the general mean effect as usual and s are the usual random error component The meanng of the parameter however has now changed The s are now the random effects of the treatment ( machne) Hence, ' s are the random varables whose dstrbutons we have to specfy We assume E( ) =, Var( ) = and E ( ε j ) =, E( ) = ( j) j ε j ' th th Then yj ~( μ, + ) holds

6 In the model wth fxed effects, the treatment effect A was represented by the parameter estmates, or ˆ μ = ˆ μ + ˆ, ˆ respectvely In the model wth random effects, a treatment effect can be expressed by the varance components The varance s estmated as a component of the entre varance The absolute or relatve sze of ths component then makes conclusons about the treatment effect possble The estmaton of the varances and requres no assumptons about the dstrbuton For the test of hypothess and the computaton of confdence ntervals, however, we assume the normal dstrbuton, e, ε j ~ N(, ), ε 's are assumed to be ndependent of each other, j ~ N(, ), 's are assumed to be ndependent of each other and, hence, y N j ~ ( μ, + ) th Unlke, the model wth effects, the response values y of a level of the treatment (e, of the sample) are no longer uncorrected E( y μ)( y μ) = E( + ε )( + ε ), j j' j j ' j j ' = E = ( ) j

7 On the other hand, the response values of dfferent samples are stll uncorrelated ( ', for any j, j'): E( y μ)( y μ) = E( ) + E( ε ε ) + E( ε ) = j ' j' ' j' ' j' ' j In the case of a normal dstrbuton, uncorrelated can be replaced by ndependence Test of the null hypothess H : = aganst H : 1 > The hypothess : no treatment effect for the two models s: - fxed effects: H : = for all - random effects: H : = If =, then the random effects are dentcally In ths case, each ˆ estmate ( = 1,,, s) should be close to relatve to the E If >, then the random effects are not dentcally In ths case, the varablty of the estmate ( = 1,,, s) should be large relatve to the E ˆ Testng hypotheses about the equalty of means s meanngless n the random effects case Therefore, we do not perform a multple comparson procedure to compare the means

8 The ANOVA table for a random factor s the same as the ANOVA table for a fxed factor wth SS = SS + SS Total Treatment Error To see ths we need to look at the expected mean squares for the random effects model We can partly adopt some of the results of fxed effect model, we have for random effect model; E ( Error ) = e, ˆ = s an unbased estmate of Error We compute ( ) E Tr as follows: n s Tr = ( o oo), = 1 j= 1 SS y y y = μ+ + ε, y o o oo = μ+ + ε = n / n, oo ( y y ) = ( ) + ( ε η ), o oo o oo

9 Then E y y E E ( o oo) = ( ) + ( εo εoo), E E E E ( ) = ( ) + ( ) ( ) n n = 1+, n n E E E E ( εo εoo) = ( εo + ( εoo) ( εoεoo) = + n n n 1 1 = n n

1 Hence n j= 1 E( y y ) = ne( y y ) o oo o oo n n n n = n + + 1 n n n n and s = 1 n n E( yo yoo) = n + ( s 1) n We have now In the unbalanced case, e, all sample szes s are not the same, we have wth 1 E( Tr ) = E( SSA) = + k s 1 1 1 k = n n s 1 n In the balanced case, we have 1 1 s 1 rs ; k = rs sr = r E ( Tr ) = + r, n ( n = r for all, n= rs)

11 Ths yelds the unbased estmate () In the unbalanced case k Tr Error ˆ = ˆ of as follows: () n the balanced case r Tr Error ˆ = In the case of an assumed normal dstrbuton we have Error ~ χ n s and Tr ~( + k ) χs 1 The two dstrbutons are ndependent, hence the rato Tr Error + k has a central F- dstrbuton under the assumpton of equal varances, e, under H : =

1 Under H : = Tr Error we thus have ~ F s 1, n s Hence H = s tested wth the same test statstc as H : = : the analyss of varance remans unchanged It s gven as follows: (all ) n the model wth fxed effects The table of Source Sum of Degrees of E() squares freedom Effects Fxed Random Treatments SS Tr s 1 n + + k s 1 Error SS Error n s

13 Note: The estmate of can be negatve also ( ˆ < ) But we know that a varance component cannot be negatve The followng are 3 possble ways to handle ths stuaton: 1 Assume = and the negatve estmate occurred due to random samplng The problem s that usng zero nstead of a negatve number can affect the other estmates Estmate usng the restrcted maxmum lkelhood method because t always yelds a nonnegatve estmate Ths method wll adjust other varance component estmates 3 Assume the model s ncorrect, and examne the problem n another way For example, add or remove an effect from the model, and then analyze the new model