Learn R Programming

cTMed (version 1.0.10)

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

252

Version

1.0.10

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

July 21st, 2026

Functions in cTMed (1.0.10)

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
BootIndirectCentralStd

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

Bootstrap Sampling Distribution for the Standardized Direct Effect Centrality 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
BootBeta

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

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

Bootstrap Sampling Distribution for the Standardized 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
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
DeltaIndirectCentral

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

Delta Method Sampling Variance-Covariance Matrix for the Direct 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
DeltaDirectCentralStd

Delta Method Sampling Variance-Covariance Matrix for the Standardized Direct Effect Centrality 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
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
DeltaIndirectCentralStd

Delta Method Sampling Variance-Covariance Matrix for the Standardized 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
DeltaTotalCentral

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

Delta Method Sampling Variance-Covariance Matrix for the Standardized Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
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
DirectCentral

Direct Effect Centrality
Indirect

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

Standardized Direct Effect Centrality
DirectStd

Standardized Direct Effect of X on Y Over a Specific Time Interval
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
Direct

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

Standardized Indirect Effect Centrality
IndirectCentral

Indirect Effect Centrality
MCPhi

Generate Random Drift Matrices Using the Monte Carlo Method
MCTotalCentralStd

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

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

Monte Carlo Sampling Distribution of Standardized Indirect Effect Centrality 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
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
MCPhiSigma

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

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

Monte Carlo Sampling Distribution of Direct Effect Centrality 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
PosteriorMedStd

Posterior 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
PosteriorBetaStd

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

Posterior Distribution of the Direct Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
PosteriorIndirectCentralStd

Posterior Distribution of the Standardized Indirect Effect Centrality 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
PosteriorDirectCentralStd

Posterior Distribution of the Standardized Direct 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
MedStd

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

Delta Method Confidence Intervals
cTMed-package

cTMed: Continuous-Time Mediation
Trajectory

Simulate Trajectories of Variables
TotalCentralStd

Standardized Total Effect Centrality
confint.ctmedboot

Bootstrap Method Confidence Intervals
TotalCentral

Total Effect Centrality
PosteriorTotalCentral

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

Total Effect Matrix Over a Specific Time Interval
PosteriorTotalCentralStd

Posterior Distribution of the Standardized Total Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
plot.ctmedmed

Plot Method for an Object of Class ctmedmed
plot.ctmeddelta

Plot Method for an Object of Class ctmeddelta
print.ctmedboot

Print Method for Object of Class ctmedboot
confint.ctmedmc

Monte Carlo Method Confidence Intervals
TotalStd

Standardized Total Effect Matrix Over a Specific Time Interval
print.ctmedmc

Print Method for Object of Class ctmedmc
print.ctmeddelta

Print Method for Object of Class ctmeddelta
summary.ctmedmed

Summary Method for an Object of Class ctmedmed
print.ctmedeffect

Print Method for Object of Class ctmedeffect
plot.ctmedboot

Plot Method for an Object of Class ctmedboot
summary.ctmedtraj

Summary Method for an Object of Class ctmedtraj
summary.ctmedposteriorphi

Summary Method for Object of Class ctmedposteriorphi
plot.ctmedmc

Plot Method for an Object of Class ctmedmc
summary.ctmedmc

Summary Method for an Object of Class ctmedmc
summary.ctmedboot

Summary Method for an Object of Class ctmedboot
print.ctmedtraj

Print Method for Object of Class ctmedtraj
plot.ctmedtraj

Plot Method for an Object of Class ctmedtraj
summary.ctmeddelta

Summary Method for an Object of Class ctmeddelta
print.ctmedmcphi

Print Method for Object of Class ctmedmcphi
print.ctmedmed

Print Method for Object of Class ctmedmed