Last data update: 2014.03.03

R: Simulated 1-1-1 Data set
sim.111R Documentation

Simulated 1-1-1 Data set

Description

A simulated data set, where both predictor and outcome are level 1 variables.

Usage

data("sim.111")

Format

The data set contains 10 groups, each group has 30 observations. The format is list, where there are four elements:

x: the level 1 continuous predictor.

y: the level 1 continuous outcome.

m: the matrix of mediators, where there are three level 1 mediators, where m.2 and m.3 are continuous, and m.4 is categorical with 3 levels.

level: the group level for each observation.

Examples

data(sim.111)

Results