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.
ya numeric vector representing the dependent variable.
X11a level-one numeric vector representing a categorical exogenous variable.
X12a level-one numeric vector representing a binomial distributedexogenous variable.
X13a level-one numeric vector representing a binomial distributed exogenous variable.
X14a level-two numeric vector representing a normally distributed exogenous variable.
X15a level-two numeric vector representing a normally distributed endogenous variable, correlated with the level-two errors.
X21a level-two numeric vector representing a binomial distributed exogenous variable.
X22a level-two numeric vector representing a binomial distributed exogenous variable.
X23a level-two numeric vector representing a binomial distributed exogenous variable.
X24a level-teo numeric vector representing a normally distributed exogenous variable.
X31a level-three numeric vector representing a normally distributed exogenous variable.
X32a level-three numeric vector representing a truncated normally distributed exogenous variable.
X33a level-three numeric vector representing a truncated normally distributed exogenous variable.
Interceptthe model intercepta.
SIDa numeric vector identifying each level-three observation.
CIDa numeric vector identifying each level-two observation.