lifestresses: Memory of Life Stresses

lifestressesR Documentation

Memory of Life Stresses

Description

This data set, "lifestresses", provides the number of reported life stresses (summed across participants) that occurred in specific months prior to an interview. This data set contains the subset of 147 participants who reported one negative life event over the time span of 18 months prior to an interview. Description taken from the JASP (2020) data library.

Usage

data(lifestresses)

Format

A data.frame with 18 rows and 3 variables:

month

The month in which participants reported a stressful life event.

stress.freq

The number of participants who reported a life stress in the particular month prior to an interview.

stress.percentage

The percentage of participants who reported a life stress in the particular month prior to an interview.

References

\insertRef

haberman1978multibridge

\insertRef

jaspmultibridge

\insertRef

sarafoglou2020evaluatingPreprintmultibridge

\insertRef

uhlenhuth1977rememberingmultibridge

Examples

data(lifestresses)
# Prior specification 
# We assign a uniform Dirichlet distribution, that is, we set all 
# concentration parameters to 1
a             <- rep(1, 18)
x             <- lifestresses$stress.freq
factor_levels <- lifestresses$month
# Test the following restricted Hypothesis:
# Hr: month1 > month2 > ... > month18 
Hr            <- paste0(1:18, collapse=">"); Hr
out  <- mult_bf_informed(x=x, Hr=Hr, a=a, factor_levels=factor_levels,
niter=1e3, bf_type = 'BFre', seed = 4)
m1 <- summary(out)
m1

multibridge documentation built on Nov. 1, 2022, 5:05 p.m.