Introduction to Linear Mixed Effects Kiran Pedada PhD Student (Marketing) March 26, 2015.

Slides:



Advertisements
Similar presentations
Ordinary Least-Squares
Advertisements

Dates for term tests Friday, February 07 Friday, March 07
Topic 12: Multiple Linear Regression
Classical Linear Regression Model
General Linear Model With correlated error terms  =  2 V ≠  2 I.
Kriging.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: a Monte Carlo experiment Original citation: Dougherty, C. (2012) EC220.
Analysis of Clustered and Longitudinal Data Module 3 Linear Mixed Models (LMMs) for Clustered Data – Two Level Part A 1 Biostat 512: Module 3A - Kathy.
Visual Recognition Tutorial
Variance and covariance M contains the mean Sums of squares General additive models.
EVAL 6970: Meta-Analysis Fixed-Effect and Random- Effects Models Dr. Chris L. S. Coryn Spring 2011.
EVAL 6970: Meta-Analysis Fixed-Effect and Random- Effects Models Dr. Chris L. S. Coryn Spring 2011.
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
1 Introduction to Biostatistics (PUBHLTH 540) Multiple Random Variables.
Multivariate Distance and Similarity Robert F. Murphy Cytometry Development Workshop 2000.
Chapter 4 Multiple Regression.
Rules for means Rule 1: If X is a random variable and a and b are fixed numbers, then Rule 2: If X and Y are random variables, then.
NOTES ON MULTIPLE REGRESSION USING MATRICES  Multiple Regression Tony E. Smith ESE 502: Spatial Data Analysis  Matrix Formulation of Regression  Applications.
© John M. Abowd 2005, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2005.
Mixed models Various types of models and their relation
Chapter 15 Panel Data Analysis.
13-1 Designing Engineering Experiments Every experiment involves a sequence of activities: Conjecture – the original hypothesis that motivates the.
Cumulative Geographic Residual Test Example: Taiwan Petrochemical Study Andrea Cook.
Correlations and Copulas Chapter 10 Risk Management and Financial Institutions 2e, Chapter 10, Copyright © John C. Hull
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
The Multivariate Normal Distribution, Part 2 BMTRY 726 1/14/2014.
Linear regression models in matrix terms. The regression function in matrix terms.
Lecture 10A: Matrix Algebra. Matrices: An array of elements Vectors Column vector Row vector Square matrix Dimensionality of a matrix: r x c (rows x columns)
Variance and covariance Sums of squares General linear models.
1 PREDICTION In the previous sequence, we saw how to predict the price of a good or asset given the composition of its characteristics. In this sequence,
Introduction to Multilevel Modeling Using SPSS
Montecarlo Simulation LAB NOV ECON Montecarlo Simulations Monte Carlo simulation is a method of analysis based on artificially recreating.
Chapter 14 Monte Carlo Simulation Introduction Find several parameters Parameter follow the specific probability distribution Generate parameter.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Analysis of fMRI data with linear models Typical fMRI processing steps Image reconstruction Slice time correction Motion correction Temporal filtering.
MTH 161: Introduction To Statistics
Hedging with Forward & Futures Risk Management Prof. Ali Nejadmalayeri, Dr N a.k.a. “Dr N”
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
STAT 3610/5610 – Time Series Analysis Topics to be covered Chapters 1 – 8 Chapter 9 – Skip Chapters 10 – 12.
Week 21 Stochastic Process - Introduction Stochastic processes are processes that proceed randomly in time. Rather than consider fixed random variables.
1 Overview of Experimental Design. 2 3 Examples of Experimental Designs.
Statistics. A two-dimensional random variable with a uniform distribution.
Geology 5670/6670 Inverse Theory 21 Jan 2015 © A.R. Lowry 2015 Read for Fri 23 Jan: Menke Ch 3 (39-68) Last time: Ordinary Least Squares Inversion Ordinary.
Simulation Study for Longitudinal Data with Nonignorable Missing Data Rong Liu, PhD Candidate Dr. Ramakrishnan, Advisor Department of Biostatistics Virginia.
Trees Example More than one variable. The residual plot suggests that the linear model is satisfactory. The R squared value seems quite low though,
1 Prof. Dr. Rainer Stachuletz Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 1. Estimation.
Statistics……revisited
G Lecture 71 Revisiting Hierarchical Mixed Models A General Version of the Model Variance/Covariances of Two Kinds of Random Effects Parameter Estimation.
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar 8: Time Series Analysis & Forecasting – Part 1
Learning Theory Reza Shadmehr Distribution of the ML estimates of model parameters Signal dependent noise models.
Statistics 350 Lecture 13. Today Last Day: Some Chapter 4 and start Chapter 5 Today: Some matrix results Mid-Term Friday…..Sections ; ;
Computacion Inteligente Least-Square Methods for System Identification.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Statistical Interpretation of Least Squares ASEN.
STA302/1001 week 11 Regression Models - Introduction In regression models, two types of variables that are studied:  A dependent variable, Y, also called.
The simple linear regression model and parameter estimation
Group Analyses Guillaume Flandin SPM Course London, October 2016
Multiple Imputation using SOLAS for Missing Data Analysis
Linear Mixed Models in JMP Pro
ECONOMETRICS DR. DEEPTI.
Simple Linear Regression - Introduction
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
Comparisons among methods to analyze clustered multivariate biomarker predictors of a single binary outcome Xiaoying Yu, PhD Department of Preventive Medicine.
Regression Models - Introduction
Techniques for studying correlation and covariance structure
An Introductory Tutorial
Cases. Simple Regression Linear Multiple Regression.
Maximum Likelihood Estimation (MLE)
Regression Models - Introduction
Presentation transcript:

Introduction to Linear Mixed Effects Kiran Pedada PhD Student (Marketing) March 26, 2015

Correlated Data Forms of correlated data:  Time Series data  Repeated measurements  Longitudinal data  Spatial data Source:

Linear Mixed Effects Models Mixed model analysis provides a general, flexible approach in the situations of correlated data. Mixed model consists of two components:  Fixed effects – usually the conventional linear regression part  Random effects – associated with individual experimental units produced at random from the data generating process. Source:

Linear Mixed Effects Models The standard form of a linear mixed effects model: Y= β X+Zb+u Source: Fixed effect Random effect Error Y is the n x1 response vector, and n is the number of observations. X is an n x p fixed-effects design matrix. β is a p x 1 fixed-effects vector. Z is an n x q random-effects design matrix. b is a q x 1 random-effects vector. u is the n x 1 observation error vector.

Random Effect and Error Vectors Random effects vector, b, and the error vector, ε are assumed to be independent and distributed as follows : b ~ N (0, σ 2 D(θ)) ε ~ N (0, σ 2 I) Where D is a symmetric and positive semi definite matrix, parameterized by a variance component vector θ, I is an n x n identity matrix, and σ 2 is the error variance. Source:

Bodo Winter Example General Form of Linear Mixed Model: Y= β X+Zb+u Bodo Winter Fixed Effect Model: Pitch ~ politeness + sex + u Based on the general form of Linear Mixed Model, we can write the Bodo Winter Example as follows: Y= β 1 X 1 + β 2 X 2 + u Where, Y is the response variable, i.e., Pitch and X 1 and X 2 are the fixed effects, i.e., politeness and sex. β 1 and β 2 are fixed effect parameters. Source:

Mixed Effect Model If we add one or more random effects to the fixed effect model, then model will become a Mixed Effect Model. Let us add one random effect (for subject). Thus, the Mixed Effect Model will look like the following: Y= β 1 X 1 + β 2 X 2 + Zb + u ε Where, Z is the random effect, i.e., multiple responses per subject. And b is random effect parameter.

Matrix Notation of the Bodo Winter Mixed Model Y = X β + Z b + u 200 X X 2 2 X 1200 X X 1 X = β = 200 X 2 2 X 1 Source: Dr. Westfall Notes To make the example simple, let us consider 1 fixed effect and one random effect. Let us say, there are 40 female subjects with 5 repetitions on each subject. Half of the subjects are observed in formal case (1) and other half in informal case (0)

Matrix Notation of the Bodo Winter Mixed Model X β = 200 X 2 2 X 1 = 200 X 1 Source:Source: Dr. Westfall Notes x

Matrix Notation of the Bodo Winter Mixed Model Z = 200 X 40 Source: Dr. Westfall Notes

Matrix Notation of the Bodo Winter Mixed Model Z b = 40 X X 40 Source: Dr. Westfall Notes

Variance-covariance Matrix Y= β 1 X 1 + β 2 X 2 + Zb + u ε Cov( ε) = Cov (Zb + u) = Cov (Zb)+ Cov( u) = Z Cov (b) Z T + σ 2 I Source: Dr. Westfall Notes Cov( ε) = Z Cov (b) Z T + σ 2 I

Variance-covariance Matrix Z Cov (b) Z T + σ 2 I 200 X 200 Source: Dr. Westfall Notes b b b b b b b b b b

R simulation R Simulation