Learn R Programming

quint (version 2.1.0)

SimData_1: Simulated data

Description

Data generated sampling from a multivariate normal distribution using as parameters \(samp\) = 150, \(es\) = 1.0,\(J\) = 20,\(rho\) = 0 where samp is the sample size, es is the effect size, J is the number os covariates, and rho is the correlation between pairs of covariates. The treatment condition (A) is sampled from a binomial distribution with \(p\) = 0.5 and the treatment outcome (Y) is obtained using the following regression \( Y = 1 + (.25 x X1) + (.25 x X2) - (.25 x X5]) - (es x ((A - 1) ^ 2)) + error\) where the error is sampled from a standard normal distribution.

Usage

SimData_1

Arguments

Format

A data frame with 150 observations on the following variables:

Y

Outcome variable. It is obtained by regression according to the previously explained formula.

A

This is the treatment condition variable. It is sampled from a binomial distribution.

X1

Simulated covariate. It is sampled from a multivariate normal distribution.

X2

Simulated covariate. It is sampled from a multivariate normal distribution.

X3

Simulated covariate. It is sampled from a multivariate normal distribution.

X4

Simulated covariate. It is sampled from a multivariate normal distribution.

X5

Simulated covariate. It is sampled from a multivariate normal distribution.

X6

Simulated covariate. It is sampled from a multivariate normal distribution.

X7

Simulated covariate. It is sampled from a multivariate normal distribution.

X8

Simulated covariate. It is sampled from a multivariate normal distribution.

X9

Simulated covariate. It is sampled from a multivariate normal distribution.

X10

Simulated covariate. It is sampled from a multivariate normal distribution.

X11

Simulated covariate. It is sampled from a multivariate normal distribution.

X12

Simulated covariate. It is sampled from a multivariate normal distribution.

X13

Simulated covariate. It is sampled from a multivariate normal distribution.

X14

Simulated covariate. It is sampled from a multivariate normal distribution.

X15

Simulated covariate. It is sampled from a multivariate normal distribution.

X16

Simulated covariate. It is sampled from a multivariate normal distribution.

X17

Simulated covariate. It is sampled from a multivariate normal distribution.

X18

Simulated covariate. It is sampled from a multivariate normal distribution.

X19

Simulated covariate. It is sampled from a multivariate normal distribution.

X20

Simulated covariate. It is sampled from a multivariate normal distribution.

gopt

Variable indicating whether the data is simulated such that there is qualitative interaction (0) or there is no qualitative interaction (1)

Details

IMPORTANT: for questions about these data contact Elise Dusseldorp: elise.dusseldorp@fsw.leidenuniv.nl.