StressAnxiety: Dependency of Anxiety on Stress

Description Usage Format Details Source References Examples

Description

For this data, stress and anxiety were measured among nonclinical women in Townsville, Queensland, Australia.

Usage

1
data("StressAnxiety")

Format

A data frame containing 166 observations on 2 variables.

stress

score, linearly transformed to the open unit interval (see below).

anxiety

score, linearly transformed to the open unit interval (see below).

Details

Both variables were evaluated on the scales from 0 to 42, Smithson and Verkuilen (2006) transformed them in a range from 0 to 1.

Source

Example 2 from Smithson and Verkuilen (2006) supplements.

References

doi: 10.1037/1082-989X.11.1.54 Smithson, M., and Verkuilen, J. (2006). A Better Lemon Squeezer? Maximum-Likelihood Regression with Beta-Distributed Dependent Variables. Psychological Methods, 11(7), 54–71.

Examples

1
2
3
4
5
data("StressAnxiety", package = "bayesbr")
bbr <- bayesbr(anxiety ~ stress | stress,
              data = StressAnxiety, iter = 100)

summary(bbr)

bayesbr documentation built on July 17, 2021, 1:07 a.m.