SlideShare a Scribd company logo
1 of 15
Session 3: Random coefficient models
Multilevel Models
Outline
• Random coefficient models
– Allowing individual-level relationships to vary
across groups
– Linking individual and group level explanations –
cross level interactions
Random intercept model of weight on height
• Previously we allowed average family height to be different
in each family
• But assumed relationship with weight constant
• What if a unit increase in weight leads to different increases
in height 3
ijjijij euxy +++= 10 ββ
ix10
ˆˆ ββ +
1
ˆβ
1
ˆβ
1
ˆβ
1
ˆu
2
ˆu
),0(~ 2
uj Nu σ
),0(~ 2
eij Ne σ
Random coefficient model of weight on height
• is average relationship between weight and height
• Slope of group j is
4
1β
ju11 +β
ix10
ˆˆ ββ +
1
ˆβ
01
ˆu
02
ˆu
12
ˆu
11
ˆu
ijijjjijij exuuxy ++++= 1010 ββ
• Deviations from average intercept and coefficient assumed
bivariate normal with variances
• AND we also have information on how the residuals covary
5
ijijjjijij exuuxy ++++= 1010 ββ
2
1uσ2
0uσ
01uσ
( ) 





=ΩΩ








2
101
2
0
1
0
:,0~
uu
u
uu
j
j
N
u
u
σσ
σ
ix10
ˆˆ ββ +
1
ˆβ
01
ˆu
02
ˆu
12
ˆu
11
ˆu
Random coefficient model of weight on height
6
Y = 2 + .5x
Y = 2 - .5x
(+)ve
covariance
(-)ve covariance
Higher than average intercept =
Higher (steeper) than average slope
Higher than average intercept = Lower
(flatter) than average slope
Higher than average intercept =
Higher (flatter) than average slope
Higher than average intercept = Lower
(steeper) than average slope
7
Y = 2 + .5x
Y = 2 - .5x
(+)ve
covariance
(-)ve covariance
Higher than average intercept =
Higher (steeper) than average slope
Higher than average intercept = Lower
(flatter) than average slope
Higher than average intercept =
Higher (flatter) than average slope
Higher than average intercept = Lower
(steeper) than average slope
8
Y = 2 + .5x
Y = 2 - .5x
(+)ve
covariance
(-)ve covariance
Higher than average intercept =
Higher (steeper) than average slope
Higher than average intercept = Lower
(flatter) than average slope
Higher than average intercept =
Higher (flatter) than average slope
Higher than average intercept = Lower
(steeper) than average slope
9
Y = 2 + .5x
Y = 2 - .5x
(+)ve
covariance
(-)ve covariance
Higher than average intercept =
Higher (steeper) than average slope
Higher than average intercept = Lower
(flatter) than average slope
Higher than average intercept =
Higher (flatter) than average slope
Higher than average intercept = Lower
(steeper) than average slope
MODEL 1 MODEL 2 MODEL 3
FIXED PART
Intercept 0.027 (.009) -.007 (.009) -.007 (.009)
Age (in years) -.004 (.001) -.004 (.001)
Victim in last 12 months .262 (.014) .264 (.015)
Crime Rate .233 (.012) .233 (.012)
RANDOM PART
Individual variance 0.863 (.008) .855 (.008) .853 (.008)
Neighbourhood variance 0.145 (.007) .104 (.006) .097 (.007)
Victim variance .048 (.014)
Covariance -.022 (.008)
RANDOM COEFFICIENT MODEL
• Neighbourhood variance = how levels of fear vary across neighbourhoods for
non-victims (e.g. when victim=0).
• Victim variance quantifies variation across neighbourhoods in the effect of being
a victim
Example: Fear of Crime across neighbourhoods
Crime Survey for England and Wales, 2013/14
2
eσ
σu0
2
σu2
2
σu02
x1ij
x2ij
x3 j
Graphical representation of random coefficient
and covariance term
Cross level interactions
• Allow the effect of an explanatory variable on y to
depends on the value of another (grouping) variable
• Do people experience context differently?
• Place individuals directly within their context
12
ijijjjjijjijij exuuxxxxy ++++++= 1213210 ββββ
• Often included when individual level variables has a
random coefficient
MODEL 1 MODEL 2 MODEL 3 MODEL 4
FIXED PART
Intercept 0.027 (.009) -.007 (.009) -.007 (.009) -.011 (.009)
Age (in years) -.004 (.001) -.004 (.001) -.004 (.001)
Victim in last 12 months .262 (.014) .264 (.015) .268 (.015)
Crime Rate .233 (.012) .233 (.012) .217 (.013)
Victim * Crime Rate -.067 (.021)
RANDOM PART
Individual variance 0.863 (.008) .855 (.008) .853 (.008) .853 (.008)
Neighbourhood variance 0.145 (.007) .104 (.006) .097 (.007) .097 (.007)
Victim variance .048 (.014) .046 (.014)
Covariance -.022 (.008) -.020 (.008)
CROSS LEVEL INTERACTION MODEL
• Non-victim: Fear = -.011 + .217 Crime Rate
• Victim: Fear = (-.011+.268) + (.217-.067) Crime rate
Fear = .257 + .150 Crime Rate
Example: Fear of Crime across neighbourhoods
Crime Survey for England and Wales, 2013/14
2
eσ
σu0
2
σu2
2
σu02
x1ij
x2ij
x3 j
x2ij * x3 j
Summary
• Random coefficient models can be used to more accurately
account for differential associations between x and y across
groups
• Cross-level interactions connect individual and group level
explanations
• Extends readily to multiple random effects and additional
levels
• Models also available for non-normal data (e.g. binary,
categorical, ordered categories, poisson)
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

What's hot

Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...Steven Duplij (Stepan Douplii)
 
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij (Stepan Douplii)
 
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij (Stepan Douplii)
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distributiondheard3
 

What's hot (6)

regression
regressionregression
regression
 
Elasticity problem formulation Att 6582
Elasticity problem formulation Att 6582Elasticity problem formulation Att 6582
Elasticity problem formulation Att 6582
 
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Universe...
 
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
 
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
Steven Duplij, "Higher regularity, inverse and polyadic semigroups", Preprint...
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 

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

Statistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normalStatistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normalSelvin Hadi
 
Normal Distribution slides(1).pptx
Normal Distribution slides(1).pptxNormal Distribution slides(1).pptx
Normal Distribution slides(1).pptxKinzaSuhail2
 
Econometrics homework help
Econometrics homework helpEconometrics homework help
Econometrics homework helpMark Austin
 
Descriptive stat
Descriptive statDescriptive stat
Descriptive stato_devinyak
 
Energy Transformation of a Rolling Sphere
Energy Transformation of a Rolling SphereEnergy Transformation of a Rolling Sphere
Energy Transformation of a Rolling Spherekrit167
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)마이캠퍼스
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statisticsTarun Gehlot
 
3. descriptive statistics
3. descriptive statistics3. descriptive statistics
3. descriptive statisticsbilal samad
 
15 regression basics
15 regression basics15 regression basics
15 regression basicsgaurav arora
 

Similar to Multi level modelling- random coefficient models | Ian Brunton-Smith (17)

Statistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normalStatistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normal
 
Normal Distribution slides(1).pptx
Normal Distribution slides(1).pptxNormal Distribution slides(1).pptx
Normal Distribution slides(1).pptx
 
Econometrics ch4
Econometrics ch4Econometrics ch4
Econometrics ch4
 
Som3
Som3Som3
Som3
 
Probability concept and Probability distribution_Contd
Probability concept and Probability distribution_ContdProbability concept and Probability distribution_Contd
Probability concept and Probability distribution_Contd
 
Bivariate
BivariateBivariate
Bivariate
 
Econometrics homework help
Econometrics homework helpEconometrics homework help
Econometrics homework help
 
Descriptive stat
Descriptive statDescriptive stat
Descriptive stat
 
Energy Transformation of a Rolling Sphere
Energy Transformation of a Rolling SphereEnergy Transformation of a Rolling Sphere
Energy Transformation of a Rolling Sphere
 
Econometrics ch3
Econometrics ch3Econometrics ch3
Econometrics ch3
 
Statistics 3, 4
Statistics 3, 4Statistics 3, 4
Statistics 3, 4
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
3. descriptive statistics
3. descriptive statistics3. descriptive statistics
3. descriptive statistics
 
Ch01 03
Ch01 03Ch01 03
Ch01 03
 
7주차
7주차7주차
7주차
 
15 regression basics
15 regression basics15 regression basics
15 regression basics
 

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

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
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
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
 
“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
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 

Recently uploaded (20)

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
 
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
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
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
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
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
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
“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...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.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
 

Multi level modelling- random coefficient models | Ian Brunton-Smith

  • 1. Session 3: Random coefficient models Multilevel Models
  • 2. Outline • Random coefficient models – Allowing individual-level relationships to vary across groups – Linking individual and group level explanations – cross level interactions
  • 3. Random intercept model of weight on height • Previously we allowed average family height to be different in each family • But assumed relationship with weight constant • What if a unit increase in weight leads to different increases in height 3 ijjijij euxy +++= 10 ββ ix10 ˆˆ ββ + 1 ˆβ 1 ˆβ 1 ˆβ 1 ˆu 2 ˆu ),0(~ 2 uj Nu σ ),0(~ 2 eij Ne σ
  • 4. Random coefficient model of weight on height • is average relationship between weight and height • Slope of group j is 4 1β ju11 +β ix10 ˆˆ ββ + 1 ˆβ 01 ˆu 02 ˆu 12 ˆu 11 ˆu ijijjjijij exuuxy ++++= 1010 ββ
  • 5. • Deviations from average intercept and coefficient assumed bivariate normal with variances • AND we also have information on how the residuals covary 5 ijijjjijij exuuxy ++++= 1010 ββ 2 1uσ2 0uσ 01uσ ( )       =ΩΩ         2 101 2 0 1 0 :,0~ uu u uu j j N u u σσ σ ix10 ˆˆ ββ + 1 ˆβ 01 ˆu 02 ˆu 12 ˆu 11 ˆu Random coefficient model of weight on height
  • 6. 6 Y = 2 + .5x Y = 2 - .5x (+)ve covariance (-)ve covariance Higher than average intercept = Higher (steeper) than average slope Higher than average intercept = Lower (flatter) than average slope Higher than average intercept = Higher (flatter) than average slope Higher than average intercept = Lower (steeper) than average slope
  • 7. 7 Y = 2 + .5x Y = 2 - .5x (+)ve covariance (-)ve covariance Higher than average intercept = Higher (steeper) than average slope Higher than average intercept = Lower (flatter) than average slope Higher than average intercept = Higher (flatter) than average slope Higher than average intercept = Lower (steeper) than average slope
  • 8. 8 Y = 2 + .5x Y = 2 - .5x (+)ve covariance (-)ve covariance Higher than average intercept = Higher (steeper) than average slope Higher than average intercept = Lower (flatter) than average slope Higher than average intercept = Higher (flatter) than average slope Higher than average intercept = Lower (steeper) than average slope
  • 9. 9 Y = 2 + .5x Y = 2 - .5x (+)ve covariance (-)ve covariance Higher than average intercept = Higher (steeper) than average slope Higher than average intercept = Lower (flatter) than average slope Higher than average intercept = Higher (flatter) than average slope Higher than average intercept = Lower (steeper) than average slope
  • 10. MODEL 1 MODEL 2 MODEL 3 FIXED PART Intercept 0.027 (.009) -.007 (.009) -.007 (.009) Age (in years) -.004 (.001) -.004 (.001) Victim in last 12 months .262 (.014) .264 (.015) Crime Rate .233 (.012) .233 (.012) RANDOM PART Individual variance 0.863 (.008) .855 (.008) .853 (.008) Neighbourhood variance 0.145 (.007) .104 (.006) .097 (.007) Victim variance .048 (.014) Covariance -.022 (.008) RANDOM COEFFICIENT MODEL • Neighbourhood variance = how levels of fear vary across neighbourhoods for non-victims (e.g. when victim=0). • Victim variance quantifies variation across neighbourhoods in the effect of being a victim Example: Fear of Crime across neighbourhoods Crime Survey for England and Wales, 2013/14 2 eσ σu0 2 σu2 2 σu02 x1ij x2ij x3 j
  • 11. Graphical representation of random coefficient and covariance term
  • 12. Cross level interactions • Allow the effect of an explanatory variable on y to depends on the value of another (grouping) variable • Do people experience context differently? • Place individuals directly within their context 12 ijijjjjijjijij exuuxxxxy ++++++= 1213210 ββββ • Often included when individual level variables has a random coefficient
  • 13. MODEL 1 MODEL 2 MODEL 3 MODEL 4 FIXED PART Intercept 0.027 (.009) -.007 (.009) -.007 (.009) -.011 (.009) Age (in years) -.004 (.001) -.004 (.001) -.004 (.001) Victim in last 12 months .262 (.014) .264 (.015) .268 (.015) Crime Rate .233 (.012) .233 (.012) .217 (.013) Victim * Crime Rate -.067 (.021) RANDOM PART Individual variance 0.863 (.008) .855 (.008) .853 (.008) .853 (.008) Neighbourhood variance 0.145 (.007) .104 (.006) .097 (.007) .097 (.007) Victim variance .048 (.014) .046 (.014) Covariance -.022 (.008) -.020 (.008) CROSS LEVEL INTERACTION MODEL • Non-victim: Fear = -.011 + .217 Crime Rate • Victim: Fear = (-.011+.268) + (.217-.067) Crime rate Fear = .257 + .150 Crime Rate Example: Fear of Crime across neighbourhoods Crime Survey for England and Wales, 2013/14 2 eσ σu0 2 σu2 2 σu02 x1ij x2ij x3 j x2ij * x3 j
  • 14. Summary • Random coefficient models can be used to more accurately account for differential associations between x and y across groups • Cross-level interactions connect individual and group level explanations • Extends readily to multiple random effects and additional levels • Models also available for non-normal data (e.g. binary, categorical, ordered categories, poisson)
  • 15. 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)