Class-1-2.pdf

(55 KB) Pobierz
An introduction to multilevel modeling
Społeczeństwo - Technologie -
Środowisko
Uniwersytet Jagielloński
Summer, 2015
John B. Nezlek
Department of Psychology
College of William & Mary and
University of Social Sciences and Humanities, Poznan
Multiple levels of sampling
• We want to draw an inference to a
population from a sample.
• With multiple levels this will mean drawing
inferences to populations at different levels
based on samples taken from different
levels.
Multiple levels of sampling
• In a multilevel data structure, samples are
taken from two (or more) levels of analysis
simultaneously.
• We might sample students in classrooms
and classrooms, citizens in countries and
countries, observations within people and
people, trees within forests and forests.
1
Multiple levels of sampling
• These two levels of inferences are related --
the quality of our level 1 sample influences
the inferences we can make about our level
2 sample.
• For example, small level 1 samples with
unreliable responses will provide a poor
basis to describe level 2 units, which in
turn, will decrease the quality of inferences
about the level 2 units themselves.
Why not OLS?
• OLS (ordinary least squares) can
incorporate only one random source at a
time
• For example, within-group OLS (ANOVA)
• Within-group: y = intercept + bx + error
• Between-group: b = intercept + BX + error
• The error from the first equation does not
carry into the second equation
True and error variance
Why do observations vary?
• Measurement theory
• Observed = True + Error
• True variance -- observations are, in fact,
different
• Error variance -- inaccuracy of
measurement, sampling, etc.
• OLS does not separate these two types of
variance
2
Advantages of MLM
• Are greater when ...
• the number of observations varies widely
between groups (incomplete data)
• within-group relationships vary widely
between groups
• within-group relationships are not reliable
When to Use MLM
•
•
•
•
When data are nested
When coefficients are theoretically random
When the data structure is irregular
When hypotheses concern differences in
covariances (e.g., correlations)
Intraclass correlation
• Refers to the distribution of variances
between levels
• If the ICC is 0, then all of the means of the
groups are the same, and all of the variation
is within groups.
• If the ICC is 1, then all of the variation is
between groups -- all observations within
each group are the same.
3
Problems of Relying on ICCs to
make Decisions about
Multilevel Analyses
• In the next example, the ICCs are all 0. All
means are 3. There is no between-group
variability for either measure.
• Yet, the relationship between x and y varies
across the 6 groups
• Positive in 1, 2, 3, negative 4, 5, 6.
Random Coefficient Models
• Coefficients are random
– Coefficients are randomly sampled from a
population of coefficients
• Separation of true and error variance
• More accurate parameter estimates (means,
variances, and covariances) and more accurate
significance tests
4
What is meant by Random?
• Need to consider breadth of inference space
– About what population do you want to make an
inference?
– Narrow -- more specific Broad -- more general
• Classic studies of fertilizer and oven failure
at different temperatures
Logic of MLM
• Coefficients describing level 1 phenomena
are estimated for each level 2 unit
– Intercepts--means
– Slopes--covariances (like regression coef.)
• Level 1 coefficients are then analyzed at
level 2
Three Typical Data Structures
• Individuals nested with groups
– Students in classrooms
– Workers in work groups
– Citizens in countries
• Interval contingent
– Data collection triggered by passage of time
• Event contingent
– Data collection triggered by a type(s) of event
5
Zgłoś jeśli naruszono regulamin