Skip to contents

Data

Data sets of dyadic data for use with dySEM

These data sets come from a variety of sources, and are used to facilitate the exemplar deployment of dySEM functionality; they may be useful to you for learning, teaching, and/or development.

commitmentM
Ratings of relational satisfaction and commitment from 282 (M)ixed-sex couples
commitmentQ
Ratings of relational satisfaction and commitment from 282 (Q)ueer couples
DRES
Relationship quality and sexual satisfaction of 121 couples
imsM
Ratings on the full Investment Model Scale (IMS) from 282 (M)ixed-sex couples
pnrqM
Ratings on items from the Positive-Negative Relationship Quality Scale (PNRQ; Rogge et al., 2017) from 219 (M)ixed-sex couples
prqcQ
Ratings on items from the Perceived Relationship Quality Components (PRQC) Inventory from 118 (Q)ueer couples

Scrapers

Scrape variable information from a dyadic data set

These functions are used to extract variable names and other information from dyadic data sets, to facilitate the specification of dySEM models.

scrapeVarCross()
A Variable Name-Scraping and Indexing Function for cross-sectional data

Scripters

Uni-construct Scripters

These functions are used to generate lavaan syntax corresponding to models representing one construct within a dyadic data set

scriptUni()
A Function That Writes, Saves, and Exports Syntax for Fitting Unidimensional Dyadic Factor Models
scriptCor()
A Function That Writes, Saves, and Exports Syntax for Fitting Correlated Dyadic Factor Models
scriptHier()
A Function That Writes, Saves, and Exports Syntax for Fitting Hierarchical Dyadic Factor Models
scriptBifac()
A Function That Writes, Saves, and Exports Syntax for Fitting Bifactor Dyadic Models

Bi-construct Scripters

These functions are used to generate lavaan syntax corresponding to models representing two constructs within a dyadic data set

scriptAPIM()
A Function That Writes, Saves, and Exports Syntax for Fitting Latent Actor-Partner Interdependence Models (APIMs)
scriptObsAPIM()
A Function That Writes, Saves, and Exports Syntax for Fitting Observed Actor-Partner Interdependence Models
scriptCFM()
A Function That Writes, Saves, and Exports Syntax for Fitting Latent Common Fate Models (CFMs)
scriptMIM()
A Function That Writes, Saves, and Exports Syntax for Fitting Latent Mutual influence Model
scriptBiDy()
A Function That Writes, Saves, and Exports Syntax for Fitting Bifactor Dyadic (BiDy) models

Multi-construct Scripters

These functions are used to generate lavaan syntax corresponding to models representing more than two constructs within a dyadic data set

scriptCFA()
A Function That Writes, Saves, and Exports Syntax for Fitting Latent Dyadic Confirmatory Factor Analysis (CFA) Models with Multiple Factors
scriptDyEFA()
A Function That Writes, Saves, and Exports Syntax for Fitting Dyadic Exploratory Factor Analysis (DEFA) Models

These functions are used to generate lavaan syntax corresponding to models that are used to make corrections to model fit indexes when fitting indistinguishable models

scriptISAT()
A Function That Writes, Saves, and Exports Syntax for Fitting the I-SAT model for indistinguishable dyads
scriptINULL()
A Function That Writes, Saves, and Exports Syntax for Fitting the I-NULL model for indistinguishable dyads

Outputters and Calculators

Outputters

These functions are used to extract and present information from fitted lavaan models in tabular or path diagram form

outputParamTab()
A Function That Exports Tables based on dySEM models
outputParamFig()
A function That Exports SEM diagrams based on dySEM models
outputInvarCompTab()
Compare Model Fit of Nested Dyadic Invariance Models
outputConstraintTab()
Evaluate Invariance Equality Constraints in a specified Dyadic Invariance Model
outputUniConstructComp()
A Function That Fits and Compares Competing Dyadic Uni-construct Models

Calculators

These functions are used to calculate various auxiliary metrics relevant to dyadic SEM

getDyReliability()
A Function Calculates Omega Total Coefficients from a Dyadic CFA
getDydmacs()
Calculates dmacs difference in expected indicator scores for between dyad members
getIndistFit()
A Function that Computes Corrected Fit Indexes According to the ISAT and INULL Models of Olsen & Kenny (2006)

Deprecated functions

These functions are deprecated and will be removed in future versions of dySEM

getConstraintTests()
A function that performs a score test for relaxing each invariance equality constraint between partners in a given dyadic SEM model.
getInvarCompTable()
Compare model fit of nested dyadic invariance models in order from most parsimonious (residual) to least parsimonious (configural)
outputModel()
A Function That Exports Tables and/or SEM Diagrams based on dySEM models