esmdata_sim {esmtools}R Documentation

Simulated ESM Data Set

Description

Mimic the structure of a dataset from a heterosexual romantic couples study (i.e., ESM dyadic design). This simulated study focuses on the emotional affect dynamics of romantic partners taking into account the context (location and contact with the partner). In addition, this study assumes that couples are randomized into two treatments. Thus, the dataset includes a baseline phase and a treatment phase, where couples are randomly allocated to one of the two treatments. Here are the general characteristics of the dataset. More information on: https://preprocess.esmtools.com/terminology.html/

Usage

esmdata_sim

Format

A data frame with 4200 rows and 18 columns:

dyad

Dyad identification number

id

Participant identification number

role

Role of a participant within a dyad (make the partner distinguishable)

age

Age of the participant

cond_dyad

Treatment condition to which the dyad was assigned, as follows: 0=control group and 1=experimental group

obsno

ESM questionnaire (beep) number of the observation that indicates their serial order

scheduled

Timestamps (e.g., “2023/04/14 10:23:47”) of when the ESM questionnaire was scheduled

sent

Timestamps (e.g., “2023/04/14 10:23:47”) of when the ESM questionnaire was sent

start

Timestamps (e.g., “2023/04/14 10:23:47”) of when the ESM questionnaire was opened by the participant

end

Timestamps (e.g., “2023/04/14 10:23:47”) of when the ESM questionnaire was item ended by the participant

PA1

A positive affect (PA) item with a slider scale (1-100)

PA2

A positive affect (PA) item with a slider scale (1-100)

PA3

A positive affect (PA) item with a slider scale (1-100)

NA1

A negative affect (NA) item with a slider scale (1-100)

NA2

A negative affect (NA) item with a slider scale (1-100)

NA3

A negative affect (NA) item with a slider scale (1-100)

location

Categorical item with 4 possible answers (home, work, public space, other)

contact

Dichotomous item (1=contact, 0=no contact)


[Package esmtools version 1.0.1 Index]