A dataset simmulated to exemplify the use of the multilevelIV()
function.
data("dataMultilevelIV")
A data frame with 2645 observations, clustered into 40 level-three variables.
y
a numeric vector representing the dependent variable.
X11
a level-one numeric vector representing a categorical exogenous variable.
X12
a level-one numeric vector representing a binomial distributedexogenous variable.
X13
a level-one numeric vector representing a binomial distributed exogenous variable.
X14
a level-two numeric vector representing a normally distributed exogenous variable.
X15
a level-two numeric vector representing a normally distributed endogenous variable, correlated with the level-two errors.
X21
a level-two numeric vector representing a binomial distributed exogenous variable.
X22
a level-two numeric vector representing a binomial distributed exogenous variable.
X23
a level-two numeric vector representing a binomial distributed exogenous variable.
X24
a level-teo numeric vector representing a normally distributed exogenous variable.
X31
a level-three numeric vector representing a normally distributed exogenous variable.
X32
a level-three numeric vector representing a truncated normally distributed exogenous variable.
X33
a level-three numeric vector representing a truncated normally distributed exogenous variable.
Intercept
the model intercepta.
SID
a numeric vector identifying each level-three observation.
CID
a numeric vector identifying each level-two observation.