Multilevel Models Session 3: Random coefficient models Outline - - PowerPoint PPT Presentation

multilevel models
SMART_READER_LITE
LIVE PREVIEW

Multilevel Models Session 3: Random coefficient models Outline - - PowerPoint PPT Presentation

Multilevel Models Session 3: Random coefficient models Outline Random coefficient models Allowing individual-level relationships to vary across groups Linking individual and group level explanations cross level interactions


slide-1
SLIDE 1

Session 3: Random coefficient models

Multilevel Models

slide-2
SLIDE 2

Outline

  • Random coefficient models

– Allowing individual-level relationships to vary across groups – Linking individual and group level explanations – cross level interactions

slide-3
SLIDE 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

ij j ij ij

e u x y + + + =

1

 

i

x

1

ˆ ˆ   +

1

ˆ 

1

ˆ 

1

ˆ 

1

ˆ u

2

ˆ u

) , ( ~

2 u j

N u  ) , ( ~

2 e ij

N e 

slide-4
SLIDE 4

Random coefficient model of weight on height

  • is average relationship between weight and height
  • Slope of group j is

4

1

j

u1

1 +

i

x

1

ˆ ˆ   +

1

ˆ 

01

ˆ u

02

ˆ u

12

ˆ u

11

ˆ u

ij ij j j ij ij

e x u u x y + + + + =

1 1

 

slide-5
SLIDE 5
  • Deviations from average intercept and coefficient assumed

bivariate normal with variances

  • AND we also have information on how the residuals covary

5 ij ij j j ij ij

e x u u x y + + + + =

1 1

 

2 1 u

2 u

01 u

( )

      =          

2 1 01 2 1

: , ~

u u u u u j j

N u u   

i

x

1

ˆ ˆ   +

1

ˆ 

01

ˆ u

02

ˆ u

12

ˆ u

11

ˆ u

Random coefficient model of weight on height

slide-6
SLIDE 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

slide-7
SLIDE 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

slide-8
SLIDE 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

slide-9
SLIDE 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

slide-10
SLIDE 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

s u0

2

s u2

2

s u02 x1ij x2ij x3 j

slide-11
SLIDE 11

Graphical representation of random coefficient and covariance term

slide-12
SLIDE 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

ij ij j j j ij j ij ij

e x u u x x x x y + + + + + + =

1 2 1 3 2 1

   

  • Often included when individual level variables has a

random coefficient

slide-13
SLIDE 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

s u0

2

s u2

2

s u02 x1ij x2ij x3 j x2ij * x3 j

slide-14
SLIDE 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)

slide-15
SLIDE 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)