Learn R Programming

⚠️There's a newer version (1.0.6) of this package.Take me there.

cTMed (version 1.0.5)

Continuous Time Mediation

Description

Calculates standard errors and confidence intervals for effects in continuous-time mediation models. This package extends the work of Deboeck and Preacher (2015) and Ryan and Hamaker (2021) by providing methods to generate standard errors and confidence intervals for the total, direct, and indirect effects in these models.

Copy Link

Version

Install

install.packages('cTMed')

Monthly Downloads

242

Version

1.0.5

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

January 24th, 2025

Functions in cTMed (1.0.5)

BootIndirectCentral

Bootstrap Sampling Distribution for the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
BootMedStd

Bootstrap Sampling Distribution of Standardized Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
DeltaBeta

Delta Method Sampling Variance-Covariance Matrix for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
DeltaBetaStd

Delta Method Sampling Variance-Covariance Matrix for the Elements of the Standardized Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
BootBeta

Bootstrap Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
BootTotalCentral

Bootstrap Sampling Distribution for the Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
BootBetaStd

Bootstrap Sampling Distribution for the Elements of the Standardized Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
DeltaIndirectCentral

Delta Method Sampling Variance-Covariance Matrix for the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
BootMed

Bootstrap Sampling Distribution of Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
DeltaMed

Delta Method Sampling Variance-Covariance Matrix for the Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
IndirectStd

Standardized Indirect Effect of X on Y Through M Over a Specific Time Interval
DeltaMedStd

Delta Method Sampling Variance-Covariance Matrix for the Standardized Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
ExpCov

Model-Implied State Covariance Matrix
Indirect

Indirect Effect of X on Y Through M Over a Specific Time Interval
IndirectCentral

Indirect Effect Centrality
DeltaTotalCentral

Delta Method Sampling Variance-Covariance Matrix for the Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
Direct

Direct Effect of X on Y Over a Specific Time Interval
DirectStd

Standardized Direct Effect of X on Y Over a Specific Time Interval
ExpMean

Model-Implied State Mean Vector
MCBeta

Monte Carlo Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
MCBetaStd

Monte Carlo Sampling Distribution for the Elements of the Standardized Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
MCTotalCentral

Monte Carlo Sampling Distribution of Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
MedStd

Standardized Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
MCPhi

Generate Random Drift Matrices Using the Monte Carlo Method
MCIndirectCentral

Monte Carlo Sampling Distribution of Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
MCPhiSigma

Generate Random Drift Matrices and Process Noise Covariance Matrices Using the Monte Carlo Method
PosteriorBeta

Posterior Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time Intervals
Med

Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
confint.ctmeddelta

Delta Method Confidence Intervals
confint.ctmedboot

Bootstrap Method Confidence Intervals
PosteriorIndirectCentral

Posterior Distribution of the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
plot.ctmeddelta

Plot Method for an Object of Class ctmeddelta
TotalCentral

Total Effect Centrality
plot.ctmedmc

Plot Method for an Object of Class ctmedmc
MCMed

Monte Carlo Sampling Distribution of Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
TotalStd

Standardized Total Effect Matrix Over a Specific Time Interval
PosteriorTotalCentral

Posterior Distribution of the Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
PosteriorMed

Posterior Distribution of Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
Trajectory

Simulate Trajectories of Variables
summary.ctmeddelta

Summary Method for an Object of Class ctmeddelta
summary.ctmedmc

Summary Method for an Object of Class ctmedmc
Total

Total Effect Matrix Over a Specific Time Interval
MCMedStd

Monte Carlo Sampling Distribution of Standardized Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time Intervals
print.ctmedeffect

Print Method for Object of Class ctmedeffect
plot.ctmedmed

Plot Method for an Object of Class ctmedmed
print.ctmedmc

Print Method for Object of Class ctmedmc
cTMed-package

cTMed: Continuous Time Mediation
print.ctmedboot

Print Method for Object of Class ctmedboot
print.ctmeddelta

Print Method for Object of Class ctmeddelta
plot.ctmedtraj

Plot Method for an Object of Class ctmedtraj
summary.ctmedmed

Summary Method for an Object of Class ctmedmed
summary.ctmedposteriorphi

Summary Method for Object of Class ctmedposteriorphi
print.ctmedtraj

Print Method for Object of Class ctmedtraj
confint.ctmedmc

Monte Carlo Method Confidence Intervals
summary.ctmedboot

Summary Method for an Object of Class ctmedboot
summary.ctmedtraj

Summary Method for an Object of Class ctmedtraj
plot.ctmedboot

Plot Method for an Object of Class ctmedboot
print.ctmedmcphi

Print Method for Object of Class ctmedmcphi
print.ctmedmed

Print Method for Object of Class ctmedmed