MIXED MODELS (Sections ) I) In the unrestricted model, interactions are treated as in the random effects model:

Similar documents
Comparison Procedures

Student Activity 3: Single Factor ANOVA

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

The steps of the hypothesis test

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

Math 1B, lecture 4: Error bounds for numerical methods

Section 11.5 Estimation of difference of two proportions

The Regulated and Riemann Integrals

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

Theoretical foundations of Gaussian quadrature

Best Approximation. Chapter The General Case

Abstract inner product spaces

Continuous Random Variables

Chapter 9: Inferences based on Two samples: Confidence intervals and tests of hypotheses

Chapter 1: Fundamentals

1 Probability Density Functions

AQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system

8 Laplace s Method and Local Limit Theorems

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

38.2. The Uniform Distribution. Introduction. Prerequisites. Learning Outcomes

Solution for Assignment 1 : Intro to Probability and Statistics, PAC learning

20 MATHEMATICS POLYNOMIALS

PART 1 MULTIPLE CHOICE Circle the appropriate response to each of the questions below. Each question has a value of 1 point.

Review of Gaussian Quadrature method

The final exam will take place on Friday May 11th from 8am 11am in Evans room 60.

Name Solutions to Test 3 November 8, 2017

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

Best Approximation in the 2-norm

Is there an easy way to find examples of such triples? Why yes! Just look at an ordinary multiplication table to find them!

5.2 Exponent Properties Involving Quotients

Riemann Sums and Riemann Integrals

7.2 The Definite Integral

Lesson 1: Quadratic Equations

Before we can begin Ch. 3 on Radicals, we need to be familiar with perfect squares, cubes, etc. Try and do as many as you can without a calculator!!!

Riemann Sums and Riemann Integrals

CBE 291b - Computation And Optimization For Engineers

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Math& 152 Section Integration by Parts

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Math 32B Discussion Session Session 7 Notes August 28, 2018

Orthogonal Polynomials

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

p-adic Egyptian Fractions

Chapter 5 : Continuous Random Variables

Section 17.2 Line Integrals

Quadratic Forms. Quadratic Forms

( dg. ) 2 dt. + dt. dt j + dh. + dt. r(t) dt. Comparing this equation with the one listed above for the length of see that

Polynomial Approximations for the Natural Logarithm and Arctangent Functions. Math 230

Tests for the Ratio of Two Poisson Rates

than 1. It means in particular that the function is decreasing and approaching the x-

Week 10: Line Integrals

Review of Calculus, cont d

p(t) dt + i 1 re it ireit dt =

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

Chapter 0. What is the Lebesgue integral about?

CS667 Lecture 6: Monte Carlo Integration 02/10/05

Sections 5.2: The Definite Integral

DEFINITION The inner product of two functions f 1 and f 2 on an interval [a, b] is the number. ( f 1, f 2 ) b DEFINITION 11.1.

Improper Integrals. Introduction. Type 1: Improper Integrals on Infinite Intervals. When we defined the definite integral.

UNIT 1 FUNCTIONS AND THEIR INVERSES Lesson 1.4: Logarithmic Functions as Inverses Instruction

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

1 1D heat and wave equations on a finite interval

Math 113 Exam 2 Practice

Taylor Polynomial Inequalities

Chapter 4 Models for Stationary Time Series

Bernoulli Numbers Jeff Morton

The graphs of Rational Functions

MATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1

Construction of Gauss Quadrature Rules

1B40 Practical Skills

New Expansion and Infinite Series

Math 113 Exam 2 Practice

Quotient Rule: am a n = am n (a 0) Negative Exponents: a n = 1 (a 0) an Power Rules: (a m ) n = a m n (ab) m = a m b m

Math 113 Fall Final Exam Review. 2. Applications of Integration Chapter 6 including sections and section 6.8

The use of a so called graphing calculator or programmable calculator is not permitted. Simple scientific calculators are allowed.

4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Preparation for A Level Wadebridge School

The Wave Equation I. MA 436 Kurt Bryan

Section 7.1 Integration by Substitution

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

Algebra Readiness PLACEMENT 1 Fraction Basics 2 Percent Basics 3. Algebra Basics 9. CRS Algebra 1

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

NUMERICAL INTEGRATION

Homework Problem Set 1 Solutions

Math Lecture 23

For the percentage of full time students at RCC the symbols would be:

Chapter 6 Techniques of Integration

Introduction to Determinants. Remarks. Remarks. The determinant applies in the case of square matrices

Tutorial 4. b a. h(f) = a b a ln 1. b a dx = ln(b a) nats = log(b a) bits. = ln λ + 1 nats. = log e λ bits. = ln 1 2 ln λ + 1. nats. = ln 2e. bits.

Expectation and Variance

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 17

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Read section 3.3, 3.4 Announcements:

Math 4310 Solutions to homework 1 Due 9/1/16

1. Weak acids. For a weak acid HA, there is less than 100% dissociation to ions. The B-L equilibrium is:

Mapping the delta function and other Radon measures

Continuous probability distributions

Transcription:

1 2 MIXED MODELS (Sections 17.7 17.8) Exmple: Suppose tht in the fiber breking strength exmple, the four mchines used were the only ones of interest, but the interest ws over wide rnge of opertors, nd the opertors were chosen t rndom. This would be n exmple of mixed model: model including both fixed nd rndom fctors. The Two-Fctor Mixed Model There re two fctors. One (A) is fixed The other (B) is rndom. There re two versions of the two-fctor model commonly used. Both hve the sme model eqution, nmely I) In the unrestricted model, interctions re treted s in the rndom effects model: Ech B i ~ N(0, # B 2 ) Ech (!B) ij ~ N(0, # AB 2 ) Ech " ijt ~ N(0, # 2 ) The B j s, (!B) ij s, nd " it s re ll mutully independent rndom vribles. where Y ijt = µ +! i +B j + (!B) ij + " ijt, µ nd! i re constnts B j, (!B) ij, nd " ijt re rndom vribles. However, the conditions on the rndom vribles differ ccording to the version of the model.

3 4 II) The restricted model requires some intuition building. To see the ide, strt with the cell-mens model Y it = µ + $ i + " it. Recll: In order to fit this model by lest squres, we need n dditionl condition. A nturl one, if we think of µ s n overll men nd the $ i s s devitions from it, is # ˆ " i = 0. Indeed, it would be nturl to include the condition #" i = 0 s prt of the model, to indicte the interprettion of µ nd the $ i s tht we hve in mind. (In fct, some people do include this s prt of the model.) The restricted model tkes this interprettion for both the fixed nd mixed interction effects: It includes s prt of the model the restrictions #" i = 0 (i.e.,! = 0) nd #("B) ij = 0 (i.e., (!B) j = 0), for ech level j of B. So the ssumptions for the restricted model, in ddition to the model eqution, re: i) #" i = 0 ii) #("B) ij = 0 for ech j. iii) B j ~ N(0, # B 2 ) iv) " ijt ~ N(0, # 2 ) v) (!B) ij ~ N(0, ( "1)# 2 AB ) (Note: The messy-looking expression for the vrince is just rescling convention tht mkes lter formuls less messy.) vi) The B j s nd " ijt s re ll mutully independent, nd independent of the (!B) ij s vii) The (!B) ij s nd (!B) iq s re independent (or t lest uncorrelted) for j! q. Note tht in both cses, the sum is over i tht is, over the fixed effects.

5 6 Note: (ii) implies (detils left to the student) tht Cov((!B) ij, (!B) pj ) = - # AB 2 / for i! p. Thus the restricted model ssumes tht, for the sme level of B, the interction effects corresponding to different levels of A re negtively correlted. Which Model to Use? Some people hve defult preferences, s do most softwre pckges. But it s sensible to sk: Does one model fit the sitution better thn the other? If so, use it! One criterion sometimes used: A limited resource sitution is likely to produce negtively correlted interction for different A-levels of the sme B-level so the restricted model will reflect this. Exmple: Compring growth of two species of plnts -- -so species is fixed fctor with = 2. Suppose the plot in which the plnts re grown is of interest s rndom fctor. Thus b plots re rndomly selected. Ech plot is divided into 2r experimentl units. Species re rndomly ssigned to experimentl units so tht ech species is ssigned to r experimentl units in ech plot. (Thus we hve crossed, completely rndomized design.) The plnts re sown, grown specified mount of time, hrvested, dried, nd weighed. Dry weight is the response. Since resources (nutrients, wter, spce) in ech plot re limited, we expect negtive correltions between the finl weights of plnts in ech plot. Thus restricted model might be better thn n unrestricted model here.

7 8 Anlysis of Mixed Model Experiments The bsic ide follows long the lines of the methods for developing tests for rndom effect models. But some of the expected men squres will be different. An overview of the detils: We cn fit by lest squres nd use the fits to obtin the men squres. For exmple, with blnced design, we will get SSA = 1 " Y 2 i # 1 br br Y 2 Recll tht with the one-wy rndom effect model, to clculte E(SSA) (from which we then clculted E(MSA)), we used the eqution i For the unrestricted model, we will get: E(MSA) = Q(A) + r# AB 2 + # 2 (where Q(A) denotes qudrtic in the! i s) E(MSB) = r# B 2 + r# AB 2 + # 2 E(MSAB) = r# AB 2 + # 2 E(MSE) = # 2 ->Note tht the lst three expected men squres re the sme s in the two-wy complete rndom model, but E(MSA) is different. E(Z 2 ) = Vr(Z) + [E(Z)] 2 to clculte E(Y i 2 ) nd E(Y 2 ). We use the sme ide here, but the results re messier. The reson is tht, wheres in the one-wy rndom effects model, E(Y it ) = µ, in the mixed effects model, E(Y ijt ) = µ +! i. Consequently, [E(Y i )] 2 nd [E(Y )] 2 will involve terms tht re qudrtic (i.e., degree two polynomils) in the! i s.

9 10 Hypothesis tests in the unrestricted model: For fixed effect: Since A (nd no other fctor) is fixed, the min effects hypotheses for A re H 0 A : All! i s re zero H A : At lest one! i! 0. It turns out tht when H 0 A is true, Q(A) = 0, so tht vs E(MSA) = r# AB 2 + # 2 = E(MSAB). The rest of the theory goes over to give MSA/MSAB ~ F(dfA, dfab) s suitble test sttistic. For rndom effects: The hypotheses corresponding to H 0 B nd H 0 AB re exctly the sme s for the two-wy complete rndom model. Since the expected mens squres for B, AB, nd E re the sme s in tht model, the test sttistics re lso the sme for the mixed model s for the rndom complete model. These ides nd results generlize to other mixed models. In prticulr, E(MS * ) will be s for the corresponding rndom effects model, except tht whenever fixed effect fctor or n interction involving only fixed effects would occur, there is qudrtic in pproprite fixed effects nd their interctions insted of # -- 2 term. Exmple: For the complete three-wy model with two fixed fctors A nd C nd one rndom fctor B, we get E(MSA) = Q(A,AC) + rc# AB 2 + r# ABC 2 + # 2, where Q(A,AC) is qudrtic polynomil in the! i s nd the (!%) i s. For detils on the expected men squres, etc., see Section 17.8.2. -> As with rndom effects, in some cses there is no suitble single MS for the denomintor of the test sttistic, so we need to use liner combintions of men squres nd n pproximte F test. However, modern softwre cn do much of the detiled clcultions for us we need to focus our ttention on selecting n pproprite model nd interpreting the output crefully. For the restricted model, the results re similr (but remember tht the interprettion of # AB 2 is different).

11 Confidence Intervls Confidence intervls for contrsts of fixed effects re clculted s in fixed effects models, except tht the denomintor used in the corresponding hypothesis test (nd its degrees of freedom) must be used insted of MSE (nd its degrees of freedom). For exmple, in two-wy mixed model with fixed fctor A, to find confidence intervls for contrsts in the! i s, use MSAB nd dfab insted of MSE nd dfe. Confidence intervls for vrince components for rndom effects or interctions involving rndom effects re clculted just s for rndom effects models, but using just the rndom prts of the model.