Notes created by Yan Li\use HLM6.0 to analyze Meta analysis data\with one predictor in level 2
Step 1: Creating the MDM file
U:\>C:
C:\>cd Documents and Settings
C:\Documents and Settings>cd yli
C:\Documents and Settings\yli>cd Desktop
C:\Documents and Settings\yli\Desktop>cd HLM
C:\Documents and Settings\yli\Desktop\HLM>HLM2
Will you be starting with raw data? Y
Is the input file a v-known file? Y
How many level-1 statistics are there? 1
How many level-2 predictors are there? 1
Enter 8 character name for level-1 variable number 1: EFFSIZE
Enter 8 character name for level-2 variable number 1: WEEKS
Input format of raw data file (the first field must be the character ID)
format: (a2, 3f12.3)
What file contains the data?expect.DAT
Enter name of MDM file: expect.MDM
19 groups have been processed
Step 2: Estimating a V-known model
After creating the MDM file, we are ready to perform the analysis.
Part 1: Intercept only—Unconditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 expect.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For EFFSIZE enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For WEEKS enter 1
Which level-2 predictors to model EFFSIZE?
Level-2 predictor? (Enter 0 to end) 0
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For WEEKS enter 1
Which level-2 variables to model EFFSIZE?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? n
OUTPUT SPECIFICATION
Do you want a level-2 residual file? n
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? n
Enter a problem title: Intercept Only Model
Enter name of output file: meta20_m1
Part 2: The variable WEEKS is included—Conditional Model
C:\Documents and Settings\yli\Desktop\HLM>HLM2 expect.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For EFFSIZE enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For WEEKS enter 1
Which level-2 predictors to model EFFSIZE?
Level-2 predictor? (Enter 0 to end) 1
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For WEEKS enter 1
Which level-2 variables to model EFFSIZE?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? n
OUTPUT SPECIFICATION
Do you want a level-2 residual file? n
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? n
Enter a problem title: Variable WEEKS is included
Enter name of output file: expect_m2
.
Notes created by Yan Li\use HLM6.0 to analyze Meta analysis data\with 3 predictors in level 2
Step 1: Creating the MDM file
U:\>C:
C:\>cd Documents and Settings
C:\Documents and Settings>cd yli
C:\Documents and Settings\yli>cd Desktop
C:\Documents and Settings\yli\Desktop>cd HLM
C:\Documents and Settings\yli\Desktop\HLM>HLM2
Will you be starting with raw data? Y
Is the input file a v-known file? Y
How many level-1 statistics are there? 1
How many level-2 predictors are there? 3
Enter 8 character name for level-1 variable number 1: d
Enter 8 character name for level-2 variable number 1: rii
Enter 8 character name for level-2 variable number 2: ntot
Enter 8 character name for level-2 variable number 3: weeks
Input format of raw data file (the first field must be the character ID)
format: (a2, 3F11.3, 2F8.0)
What file contains the data?meta20.DAT
Enter name of MDM file: meta20.MDM
20 groups have been processed
Step 2: Estimating a V-known model
After creating the MDM file, we are ready to perform the analysis.
Part 1: Intercept only—Unconditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 meta20.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For D enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 predictors to model D?
Level-2 predictor? (Enter 0 to end) 0
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 variables to model D?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? N
OUTPUT SPECIFICATION
Do you want a level-2 residual file? N
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? N
Enter a problem title: Intercept Only Model
Enter name of output file: meta20_m1
Part 2: The variable time is included—Conditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 meta20.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For D enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 predictors to model D?
Level-2 predictor? (Enter 0 to end) 3
Level-2 predictor? (Enter 0 to end) 0
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 variables to model D?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? N
OUTPUT SPECIFICATION
Do you want a level-2 residual file? N
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? N
Enter a problem title: Variable Time is included
Enter name of output file: meta20_m2
Part 2: The variable ntot is included—Conditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 meta20.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For D enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 predictors to model D?
Level-2 predictor? (Enter 0 to end) 2
Level-2 predictor? (Enter 0 to end) 0
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 variables to model D?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? N
OUTPUT SPECIFICATION
Do you want a level-2 residual file? N
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? N
Enter a problem title: Variable ntot is included
Enter name of output file: meta20_m3
Part 2: The variable rii is included—Conditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 meta20.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For D enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 predictors to model D?
Level-2 predictor? (Enter 0 to end) 1
Level-2 predictor? (Enter 0 to end) 0
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 variables to model D?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? N
OUTPUT SPECIFICATION
Do you want a level-2 residual file? N
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? N
Enter a problem title: Variable rii is included
Enter name of output file: meta20_m4
Part 2: All of the predictors are included—Conditional Model.
C:\Documents and Settings\yli\Desktop\HLM>HLM2 meta20.MDM
SPECIFYING AN HLM2 MODEL
Level-1 predictor variable specification
Which level-1 predictors do you wish to use?
The choices are:
For D enter 1
level-1 predictor? (Enter 0 to end) 1
Level-2 predictor variable specification
Which level-2 variables do you wish to use?
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 predictors to model D?
Level-2 predictor? (Enter 0 to end) 1
Level-2 predictor? (Enter 0 to end) 2
Level-2 predictor? (Enter 0 to end) 3
ADDITIONAL PROGRAM FEATURES
Select the level-2 variables that you might consider for
inclusion as predictors in subsequent models.
The choices are:
For RII enter 1 For NTOT enter 2 For WEEKS enter 3
Which level-2 variables to model D?
Level-2 variable? (Enter 0 to end) 0
Do you wish to use any of the optional hypothesis testing procedures? n
OUTPUT SPECIFICATION
Do you want a level-2 residual file? n
How many iterations do you want to do? 10000
Do you want to see OLS estimates for all of the level-2 units? n
Enter a problem title: All Predictors are included
Enter name of output file: meta20_m5