Learn R Programming

cTMed (version 1.0.8)

Continuous-Time Mediation

Description

Computes effect sizes, standard errors, and confidence intervals for total, direct, and indirect effects in continuous-time mediation models as described in Pesigan, Russell, and Chow (2025) .

Copy Link

Version

Install

install.packages('cTMed')

Monthly Downloads

208

Version

1.0.8

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

October 13th, 2025

Functions in cTMed (1.0.8)

DeltaIndirectCentral

Delta Method Sampling Variance-Covariance Matrix for the Indirect Effect Centrality 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
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
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
BootTotalCentral

Bootstrap Sampling Distribution for the Total 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
BootBeta

Bootstrap Sampling Distribution 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
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
BootIndirectCentral

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

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

Monte Carlo Sampling Distribution of Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
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
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
IndirectStd

Standardized Indirect Effect of X on Y Through M Over a Specific Time Interval
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
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
IndirectCentral

Indirect Effect Centrality
Med

Total, Direct, and Indirect Effects of X on Y Through M 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
MCPhi

Generate Random Drift Matrices Using the Monte Carlo Method
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
MCPhiSigma

Generate Random Drift Matrices and Process Noise Covariance Matrices Using the Monte Carlo Method
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
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
MedStd

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

Posterior Distribution of the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
PosteriorBeta

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

Simulate Trajectories of Variables
confint.ctmeddelta

Delta Method Confidence Intervals
confint.ctmedboot

Bootstrap Method Confidence Intervals
cTMed-package

cTMed: Continuous-Time Mediation
plot.ctmedboot

Plot Method for an Object of Class ctmedboot
confint.ctmedmc

Monte Carlo Method Confidence Intervals
Total

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
TotalStd

Standardized Total Effect Matrix Over a Specific Time Interval
TotalCentral

Total Effect Centrality
plot.ctmedmc

Plot Method for an Object of Class ctmedmc
print.ctmedmcphi

Print Method for Object of Class ctmedmcphi
print.ctmeddelta

Print Method for Object of Class ctmeddelta
plot.ctmedmed

Plot Method for an Object of Class ctmedmed
plot.ctmeddelta

Plot Method for an Object of Class ctmeddelta
print.ctmedmc

Print Method for Object of Class ctmedmc
print.ctmedmed

Print Method for Object of Class ctmedmed
print.ctmedboot

Print Method for Object of Class ctmedboot
summary.ctmedposteriorphi

Summary Method for Object of Class ctmedposteriorphi
summary.ctmedmc

Summary Method for an Object of Class ctmedmc
summary.ctmedmed

Summary Method for an Object of Class ctmedmed
plot.ctmedtraj

Plot Method for an Object of Class ctmedtraj
print.ctmedeffect

Print Method for Object of Class ctmedeffect
summary.ctmeddelta

Summary Method for an Object of Class ctmeddelta
summary.ctmedtraj

Summary Method for an Object of Class ctmedtraj
summary.ctmedboot

Summary Method for an Object of Class ctmedboot
print.ctmedtraj

Print Method for Object of Class ctmedtraj