| dataMultilevelIV | R Documentation |
A dataset simulated to exemplify the use of the multilevelIV() function.
It has 2767 observations, clustered into 40 level-three variables and 1347 observations at level two. The endogenous regressor is X15 with a true
coefficient value of -1.
data("dataMultilevelIV")
A data frame with 2767 observations clustered into 40 level-three variables and 1347 level-two variables.
ya numeric vector representing the dependent variable.
X11a level-one numeric vector representing a categorical exogenous variable with true parameter value equal to 3.
X12a level-one numeric vector representing a binomial distributed exogenous variable with true parameter value equal to 9.
X13a level-one numeric vector representing a binomial distributed exogenous variable with true parameter value equal to -2.
X14a level-two numeric vector representing a normally distributed exogenous variable with true parameter value equal to 2.
X15a level-two numeric vector representing a normally distributed endogenous variable, correlated with the level-two errors.
It true parameter value equals to -1 and it has a correlation with the level two errors equal to 0.7.
X21a level-two numeric vector representing a binomial distributed exogenous variable with true parameter value equal to -1.5.
X22a level-two numeric vector representing a binomial distributed exogenous variable with true parameter value equal to -4.
X23a level-two numeric vector representing a binomial distributed exogenous variable with true parameter value equal to -3.
X24a level-teo numeric vector representing a normally distributed exogenous variable with true parameter value equal to 6.
X31a level-three numeric vector representing a normally distributed exogenous variable with true parameter value equal to 0.5.
X32a level-three numeric vector representing a truncated normally distributed exogenous variable with true parameter value equal to 0.1.
X33a level-three numeric vector representing a truncated normally distributed exogenous variable with true parameter value equal to -0.5.
SIDa numeric vector identifying each level-three observations.
CIDa numeric vector identifying each level-two observations.
Raluca Gui raluca.gui@business.uzh.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.