SlideShare a Scribd company logo
1 of 13
Session 2: Random intercept models
Multilevel Models
Outline
• Two level random intercept models
– Comparing groups – the variance components model
– Quantifying group differences – the variance partition
coefficient
– Adding predictors at the individual and group level – the
random intercept model
Two level random intercept models
for continuous data
• Simplest form of multilevel models in wide use
• Extends standard linear regression models by
partitioning the residual error between individual and
group components
• But assumes same relationship between x and y across
groups
• Can provide an initial assessment of importance of
groups (when no explanatory variables are included)
Single-level model for mean height
• yi = the height for the ith
individual
• is mean height in population and is residual for ith
individual
(i=1,2...,n)
• Assume are approximately normal with mean 0. The variance
summarises distribution around the mean.
ii ey += 0β
),0(~ 2
ei Ne σ
0β ie
ie
0
ˆβ
1
ˆe
2
ˆe
3
ˆe
4
ˆe
5
ˆe
6
ˆe
7
ˆe 8
ˆe
5
• But suppose we know our observations come from different groups (e.g.
families), j=1,…, J
shown here are two groups (in practice, there will be many more)
• We can capitalise on this additional information and improve our model
0
ˆβ
Single-level model for mean height
Multi-level ‘empty’ model for mean height: variance
components model
• - height for the ith
individual in jth
group (1,2,...n).
• - average height across all groups
• - group mean deviations from overall mean height
• - individual deviations from group means
• - average height in group j
ijjij euy ++= )( 0β
),0(~ 2
uj Nu σ
),0(~ 2
eij Ne σ
ijy
0β
ju
ju+0β
ije
0
ˆβ
12
ˆe
22
ˆe
32ˆe
42
ˆe
11
ˆe
21
ˆe
31
ˆe
41
ˆe
1
ˆu
2
ˆu
group 1 has above-average mean (positive u)
group 2 has below-average mean (negative u)
• VPC tells us how important group level differences are (e.g. what proportion
of variance is at the group level?)
• VPC = 0 if no group effect
• VPC =1 if no within group differences
Variance Partition Coefficient
7
22
2
eu
u
VPC
σσ
σ
+
=
2
0uσ =
2
0eσ =
Example: Fear of Crime across neighbourhoods
MODEL 1
FIXED PART
Intercept 0.027 (.009)
RANDOM PART
Individual variance 0.863 (.008)
Neighbourhood variance 0.145 (.007)
Neighbourhood contribution = .145/(.863+.145) = 14.4%
VARIANCE COMPONENTS MODEL
22
2
eu
u
VPC
σσ
σ
+
=
2
uσ
2
eσ
Fear of crime: higher scores mean
more fear
•27,764 individuals, nested in 3,390
areas
•Mean of 8 residents per area (1-
47)
Crime Survey for England and Wales, 2013/14
• Overall relationship between weight and height across families is represented by intercept and
slope (fixed part)
• For group j, the intercept is (either above or below average)
• Individual deviations from group line and group deviations from average line (random
part, with means 0 and variances and )
ijjijij euxy +++= 10 ββ
),0(~ 2
uj Nu σ
),0(~ 2
eij Ne σ
0β
1β
ju+0β
ije ju2
uσ2
eσ
ix10
ˆˆ ββ +
1
ˆβ
1
ˆβ
1
ˆβ
1
ˆu
2
ˆu
Adding an explanatory variable: A random intercept
model
Group level explanatory variables
• Multilevel models enable us to explore group level variables
simultaneously with individual
• Can be from external sources (administrative data etc), or
aggregates of individual data (depending on group size)
• No need to directly identify them as group effects, this is
accounted for by the group residual
• Standard errors generally underestimated if included in
individual level analysis
10
MODEL 1 MODEL 2
FIXED PART
Intercept 0.027 (.009) -.005 (.009)
Age (in years) -.004 (.001)
Victim in last 12 months .248 (.014)
Crime Rate .227 (.012)
RANDOM PART
Individual variance 0.863 (.008) .850 (.008)
Neighbourhood variance 0.145 (.007) .105 (.006)
Example: Fear of Crime across neighbourhoods
• Individual level R2
: (.863 - .850)/.863 = .015
• Neighbourhood level R2
= (.145-.105)/.145 = .276
RANDOM INTERCEPT MODEL
2
uσ
2
eσ
Crime Survey for England and Wales, 2013/14
x1ij
x2ij
x3 j
Summary
• In this session we have introduced the variance
components model and the random intercept model
• The variance components model can be used to
provide an initial estimate of the contribution of
groups
• The random intercept model allows us to include
explanatory variables at the individual and group
level to explain variation in our dependent variable
Useful websites for further
information
• www.understandingsociety.ac.uk (a
‘biosocial’ resource)
• www.closer.ac.uk (UK longitudinal
studies)
• www.ukdataservice.ac.uk (access data)
• www.metadac.ac.uk (genetics data)
• www.ncrm.ac.uk (training and
information)

More Related Content

Similar to Multi level modelling - random intercept models | Ian Brunton Smith

Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)Shakeel Rehman
 
Summary statistics (1)
Summary statistics (1)Summary statistics (1)
Summary statistics (1)Godwin Okley
 
Normal Distribution slides(1).pptx
Normal Distribution slides(1).pptxNormal Distribution slides(1).pptx
Normal Distribution slides(1).pptxKinzaSuhail2
 
Lec. 10: Making Assumptions of Missing data
Lec. 10: Making Assumptions of Missing dataLec. 10: Making Assumptions of Missing data
Lec. 10: Making Assumptions of Missing dataMohamadKharseh1
 
ch-4-measures-of-variability-11 2.ppt for nursing
ch-4-measures-of-variability-11 2.ppt for nursingch-4-measures-of-variability-11 2.ppt for nursing
ch-4-measures-of-variability-11 2.ppt for nursingwindri3
 
measures-of-variability-11.ppt
measures-of-variability-11.pptmeasures-of-variability-11.ppt
measures-of-variability-11.pptNievesGuardian1
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIprasad439227
 
3. descriptive statistics
3. descriptive statistics3. descriptive statistics
3. descriptive statisticsbilal samad
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersionDrZahid Khan
 

Similar to Multi level modelling - random intercept models | Ian Brunton Smith (20)

anova.ppt
anova.pptanova.ppt
anova.ppt
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)
 
Summary statistics (1)
Summary statistics (1)Summary statistics (1)
Summary statistics (1)
 
Statistics 3, 4
Statistics 3, 4Statistics 3, 4
Statistics 3, 4
 
The T-test
The T-testThe T-test
The T-test
 
Normal Distribution slides(1).pptx
Normal Distribution slides(1).pptxNormal Distribution slides(1).pptx
Normal Distribution slides(1).pptx
 
Lec. 10: Making Assumptions of Missing data
Lec. 10: Making Assumptions of Missing dataLec. 10: Making Assumptions of Missing data
Lec. 10: Making Assumptions of Missing data
 
ch-4-measures-of-variability-11 2.ppt for nursing
ch-4-measures-of-variability-11 2.ppt for nursingch-4-measures-of-variability-11 2.ppt for nursing
ch-4-measures-of-variability-11 2.ppt for nursing
 
measures-of-variability-11.ppt
measures-of-variability-11.pptmeasures-of-variability-11.ppt
measures-of-variability-11.ppt
 
Biostatistics i
Biostatistics iBiostatistics i
Biostatistics i
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
MONOVA
MONOVAMONOVA
MONOVA
 
3. descriptive statistics
3. descriptive statistics3. descriptive statistics
3. descriptive statistics
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 

More from University of Southampton

Generating SPSS training materials in StatJR
Generating SPSS training materials in StatJRGenerating SPSS training materials in StatJR
Generating SPSS training materials in StatJRUniversity of Southampton
 
Introduction to the Stat-JR software package
Introduction to the Stat-JR software packageIntroduction to the Stat-JR software package
Introduction to the Stat-JR software packageUniversity of Southampton
 
Introduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithIntroduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithUniversity of Southampton
 
Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?University of Southampton
 
Integrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalIntegrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalUniversity of Southampton
 
Teaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningTeaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningUniversity of Southampton
 
Introduction to spatial interaction modelling
Introduction to spatial interaction modellingIntroduction to spatial interaction modelling
Introduction to spatial interaction modellingUniversity of Southampton
 
Participatory performative and mobile methods
Participatory performative and mobile methodsParticipatory performative and mobile methods
Participatory performative and mobile methodsUniversity of Southampton
 
Participatory theatre as a social research methods
Participatory theatre as a social research methodsParticipatory theatre as a social research methods
Participatory theatre as a social research methodsUniversity of Southampton
 

More from University of Southampton (20)

Introduction to Survey Data Quality
Introduction to Survey Data Quality  Introduction to Survey Data Quality
Introduction to Survey Data Quality
 
Generating SPSS training materials in StatJR
Generating SPSS training materials in StatJRGenerating SPSS training materials in StatJR
Generating SPSS training materials in StatJR
 
Introduction to the Stat-JR software package
Introduction to the Stat-JR software packageIntroduction to the Stat-JR software package
Introduction to the Stat-JR software package
 
Introduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithIntroduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-Smith
 
Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?
 
Integrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalIntegrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela Benzeval
 
Teaching research methods: pedagogy hooks
Teaching research methods: pedagogy hooksTeaching research methods: pedagogy hooks
Teaching research methods: pedagogy hooks
 
Teaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningTeaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learning
 
Data quality: total survey error
Data quality: total survey errorData quality: total survey error
Data quality: total survey error
 
better off living with parents
better off living with parentsbetter off living with parents
better off living with parents
 
Multilevel models:random coefficient models
Multilevel models:random coefficient modelsMultilevel models:random coefficient models
Multilevel models:random coefficient models
 
Multilevel models:random intercept models
Multilevel models:random intercept modelsMultilevel models:random intercept models
Multilevel models:random intercept models
 
Introduction to multilevel modelling
Introduction to multilevel modellingIntroduction to multilevel modelling
Introduction to multilevel modelling
 
How to write about research methods
How to write about research methodsHow to write about research methods
How to write about research methods
 
How to write about research methods
How to write about research methodsHow to write about research methods
How to write about research methods
 
Introduction to spatial interaction modelling
Introduction to spatial interaction modellingIntroduction to spatial interaction modelling
Introduction to spatial interaction modelling
 
Cognitive interviewing
Cognitive interviewingCognitive interviewing
Cognitive interviewing
 
Survey questions and measurement error
Survey questions and measurement errorSurvey questions and measurement error
Survey questions and measurement error
 
Participatory performative and mobile methods
Participatory performative and mobile methodsParticipatory performative and mobile methods
Participatory performative and mobile methods
 
Participatory theatre as a social research methods
Participatory theatre as a social research methodsParticipatory theatre as a social research methods
Participatory theatre as a social research methods
 

Recently uploaded

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

Multi level modelling - random intercept models | Ian Brunton Smith

  • 1. Session 2: Random intercept models Multilevel Models
  • 2. Outline • Two level random intercept models – Comparing groups – the variance components model – Quantifying group differences – the variance partition coefficient – Adding predictors at the individual and group level – the random intercept model
  • 3. Two level random intercept models for continuous data • Simplest form of multilevel models in wide use • Extends standard linear regression models by partitioning the residual error between individual and group components • But assumes same relationship between x and y across groups • Can provide an initial assessment of importance of groups (when no explanatory variables are included)
  • 4. Single-level model for mean height • yi = the height for the ith individual • is mean height in population and is residual for ith individual (i=1,2...,n) • Assume are approximately normal with mean 0. The variance summarises distribution around the mean. ii ey += 0β ),0(~ 2 ei Ne σ 0β ie ie 0 ˆβ 1 ˆe 2 ˆe 3 ˆe 4 ˆe 5 ˆe 6 ˆe 7 ˆe 8 ˆe
  • 5. 5 • But suppose we know our observations come from different groups (e.g. families), j=1,…, J shown here are two groups (in practice, there will be many more) • We can capitalise on this additional information and improve our model 0 ˆβ Single-level model for mean height
  • 6. Multi-level ‘empty’ model for mean height: variance components model • - height for the ith individual in jth group (1,2,...n). • - average height across all groups • - group mean deviations from overall mean height • - individual deviations from group means • - average height in group j ijjij euy ++= )( 0β ),0(~ 2 uj Nu σ ),0(~ 2 eij Ne σ ijy 0β ju ju+0β ije 0 ˆβ 12 ˆe 22 ˆe 32ˆe 42 ˆe 11 ˆe 21 ˆe 31 ˆe 41 ˆe 1 ˆu 2 ˆu group 1 has above-average mean (positive u) group 2 has below-average mean (negative u)
  • 7. • VPC tells us how important group level differences are (e.g. what proportion of variance is at the group level?) • VPC = 0 if no group effect • VPC =1 if no within group differences Variance Partition Coefficient 7 22 2 eu u VPC σσ σ + = 2 0uσ = 2 0eσ =
  • 8. Example: Fear of Crime across neighbourhoods MODEL 1 FIXED PART Intercept 0.027 (.009) RANDOM PART Individual variance 0.863 (.008) Neighbourhood variance 0.145 (.007) Neighbourhood contribution = .145/(.863+.145) = 14.4% VARIANCE COMPONENTS MODEL 22 2 eu u VPC σσ σ + = 2 uσ 2 eσ Fear of crime: higher scores mean more fear •27,764 individuals, nested in 3,390 areas •Mean of 8 residents per area (1- 47) Crime Survey for England and Wales, 2013/14
  • 9. • Overall relationship between weight and height across families is represented by intercept and slope (fixed part) • For group j, the intercept is (either above or below average) • Individual deviations from group line and group deviations from average line (random part, with means 0 and variances and ) ijjijij euxy +++= 10 ββ ),0(~ 2 uj Nu σ ),0(~ 2 eij Ne σ 0β 1β ju+0β ije ju2 uσ2 eσ ix10 ˆˆ ββ + 1 ˆβ 1 ˆβ 1 ˆβ 1 ˆu 2 ˆu Adding an explanatory variable: A random intercept model
  • 10. Group level explanatory variables • Multilevel models enable us to explore group level variables simultaneously with individual • Can be from external sources (administrative data etc), or aggregates of individual data (depending on group size) • No need to directly identify them as group effects, this is accounted for by the group residual • Standard errors generally underestimated if included in individual level analysis 10
  • 11. MODEL 1 MODEL 2 FIXED PART Intercept 0.027 (.009) -.005 (.009) Age (in years) -.004 (.001) Victim in last 12 months .248 (.014) Crime Rate .227 (.012) RANDOM PART Individual variance 0.863 (.008) .850 (.008) Neighbourhood variance 0.145 (.007) .105 (.006) Example: Fear of Crime across neighbourhoods • Individual level R2 : (.863 - .850)/.863 = .015 • Neighbourhood level R2 = (.145-.105)/.145 = .276 RANDOM INTERCEPT MODEL 2 uσ 2 eσ Crime Survey for England and Wales, 2013/14 x1ij x2ij x3 j
  • 12. Summary • In this session we have introduced the variance components model and the random intercept model • The variance components model can be used to provide an initial estimate of the contribution of groups • The random intercept model allows us to include explanatory variables at the individual and group level to explain variation in our dependent variable
  • 13. Useful websites for further information • www.understandingsociety.ac.uk (a ‘biosocial’ resource) • www.closer.ac.uk (UK longitudinal studies) • www.ukdataservice.ac.uk (access data) • www.metadac.ac.uk (genetics data) • www.ncrm.ac.uk (training and information)

Editor's Notes

  1. VPC = 1, all the variation is between the groups, no individual level variation within a group