Model-Build.pdf
(
52 KB
)
Pobierz
Building a Multilevel Model
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
Conceptualizing the Model
• First consideration: Number of levels
• Typically, number of levels is pretty
straightforward, Usually dictated or
suggested by data
• Members within teams, occasions within
persons, and so forth. Keep in mind that the
number of units of analysis must be enough
to form a sample
Specifying Models:
How Many Levels?
• Law of parsimony
– Fewer are generally better
– KISS -- Keep it Simple (Stupid)
• Although a data structure may seem as if
another level is needed (e.g., 3 instead of 2),
there may not be enough data to estimate all
the parameter properly.
1
Example
•
•
•
•
•
•
10 classes
10-15 students in each class
Only 2 schools
Would produce a
two-level
model
Not enough schools for three-level
Schools can be compared by assigning
school variables to classes
Occasions, Persons, Teams?
•
•
•
•
•
Multiple measures per person (e.g., 14)
Numerous persons (e.g., 45)
Few teams (e.g., 3)
Conceptually, this is a 3 level model
However,
given that there are 3 teams, there is not
enough information to estimate the random
variability associated with sampling teams
• In such a case, team can become a person level
variable in a two level model
Sequence of Analyses
• Run “totally unconditional” models – no
predictors at level 1 or level 2 for all
measures
• Construct level 1 model
• Examine level 2 differences in level 1
coefficients
2
Unconditional Models
• Rarely, do they test hypotheses per se
• Provide valuable information about the
distribution of variance – Where is the
action?
Sequence of Building Models
• General rule
• Make decisions about level 1 predictors
• Finalize model in terms of centering, errors,
etc.
• Enter level 2 variables to examine
relationships between level 2 predictors and
level 1 coefficients (slopes and intercepts)
Entering Predictors: Level 2
• Common practice is to (initially) enter the
same predictors at level 2 for all level 1
coefficients (intercept and slopes)
• Level 1: y
ij
=
β
0j
+
β
1j
(X1) +
β
2j
(X2) + r
ij
• Level 2:
•
β
0j
=
γ
00
+
γ
01
(P1) + u
1j
•
β
1j
=
γ
10
+
γ
11
(P1) + u
1j
•
β
2j
=
γ
20
+
γ
21
(P1) + u
1j
3
Why?
• If a level 2 predictor is not entered, the
assumption is that it is not significant
• Such an assumption needs to be tested
• Moreover, all coefficients are estimated
based on covariance matrices, and if an
element of the matrix is missing, this
changes the estimates of the other elements
How Many Predictors?
• Particularly at level 1, be conservative
• Generally use forward-stepping
– Add terms to simple models
• Rather than backward stepping
– Start with most complex models and delete terms
• Need to think of “Carrying-capacity of the data”
– How many parameters can you estimate?
Carrying capacity of data
• Think of data as information or energy
• Recognize that information/energy is
needed to estimate a coefficient/parameter
• Big samples provide better estimates
because you have more information to
estimate parameters
4
Accuracy of estimates
• If you use a data set to estimate too many
parameters, there will not be enough
information available for each parameter
• So, your estimates will not be accurate
Number of parameters in MRCM
• In MRCM, compared to OLS, many more
parameters are estimated
• For each variable, a fixed effect and a
random effect are estimated
• AND, covariances between all the random
effects are also estimated
• In OLS (regression) no random error terms
and no correlations between error terms
An example
• Y
ij
=
β
0j
+ r
ij
– Estimate fixed and random for intercept (2)
• Y
ij
=
β
0j
+
β
1j
(X) + r
ij
– Estimate fixed and random effects for intercept
and X, and the correlation between the two
random terms (2 + 2 + 1 = 5)
• Y
ij
=
β
0j
+
β
1j
(X
1
) +
β
2j
(X
2
) + r
ij
– Estimate fixed and random effects for intercept,
X
1
, and X
2,
and the correlations between the
three random terms (2 + 2 + 2 + 3 = 9)
5
Plik z chomika:
Eatarhunt
Inne pliki z tego folderu:
Centering.pdf
(25 KB)
Class-1-2.pdf
(55 KB)
Class-1.pdf
(81 KB)
Conclusion.pdf
(20 KB)
Error.pdf
(27 KB)
Inne foldery tego chomika:
Koteja
Zgłoś jeśli
naruszono regulamin