Learn R Programming

truthiness (version 1.2.5)

truth_trajectory_models: Fitted Models from the Longitudinal Illusory Truth Study

Description

Fitted models from the pre-registered analysis of Henderson_Simons_Barr_2021;textualtruthiness, which have been stored as an objects in the package because the fitting process is too slow to allow them to be re-created when needed.

Usage

truth_trajectory_models

Arguments

Format

This object is a named list with six elements, with each element representing a fitted model object of class "clmm", resulting from a call to the clmm function. The named elements are:

main_base

Base model for testing the main effect; model formula is mod1 <- T ~ R + I1 + I2 + I3 + R:I1 + R:I2 + R:I3 + (R | subj_id) + (R | stim_id).

main_comp

Comparison model for testing the main effect; model formula identical to main_base except the fixed effect R has been excluded.

ix_base

Base model for testing the repetition-by-interval interaction; Model formula is mod3 <- T ~ R + I1 + I2 + I3 + R:I1 + R:I2 + R:I3 + (R:I1 + R:I2 + R:I3 | subj_id) + (R:I1 + R:I2 + R:I3 | stim_id).

ix_comp

Comparison model for testing the interaction; Model formula is identical to ix_base except for exclusion of the fixed effects terms R:I1, R:I2, and R:I3.

ix2

Same as ix_base except predictors included as factors rather than numerical predictors to enable use of functions from the emmeans package (for equivalence and follow-up tests).

main2

Same as main_base except predictors included as factors rather than numerical predictors to enable use of functions from the emmeans package (for equivalence and follow-up tests).

Examples

Run this code
# NOT RUN {
library(ordinal)

## print model information
summary(truth_trajectory_models$ix_base)

## likelihood ratio test, testing repetition-by-interval interaction
anova(truth_trajectory_models$ix_base,
      truth_trajectory_models$ix_comp)
# }

Run the code above in your browser using DataLab