Learn R Programming

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

cTMed (version 1.0.4)

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.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

January 8th, 2025

Functions in cTMed (1.0.4)

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
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
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
DeltaTotalCentral

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

Indirect Effect Centrality
Indirect

Indirect Effect of X on Y Through M 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
Direct

Direct Effect of X on Y 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
ExpCov

Model-Implied State Covariance Matrix
DirectStd

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

Generate Random Drift Matrices Using the Monte Carlo Method
ExpMean

Model-Implied State Mean Vector
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
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
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
MCTotalCentral

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

Standardized Total Effect Matrix Over a Specific Time Interval
Trajectory

Simulate Trajectories of Variables
PosteriorIndirectCentral

Posterior Distribution of the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time Intervals
cTMed-package

cTMed: Continuous Time Mediation
confint.ctmeddelta

Delta Method Confidence Intervals
plot.ctmedboot

Plot Method for an Object of Class ctmedboot
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
PosteriorTotalCentral

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

Bootstrap Method Confidence Intervals
plot.ctmeddelta

Plot Method for an Object of Class ctmeddelta
confint.ctmedmc

Monte Carlo Method Confidence Intervals
plot.ctmedmc

Plot Method for an Object of Class ctmedmc
print.ctmeddelta

Print Method for Object of Class ctmeddelta
plot.ctmedtraj

Plot Method for an Object of Class ctmedtraj
print.ctmedboot

Print Method for Object of Class ctmedboot
summary.ctmedboot

Summary Method for an Object of Class ctmedboot
MedStd

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
summary.ctmeddelta

Summary Method for an Object of Class ctmeddelta
Total

Total Effect Matrix Over a Specific Time Interval
TotalCentral

Total Effect Centrality
print.ctmedmed

Print Method for Object of Class ctmedmed
plot.ctmedmed

Plot Method for an Object of Class ctmedmed
print.ctmedtraj

Print Method for Object of Class ctmedtraj
print.ctmedmc

Print Method for Object of Class ctmedmc
summary.ctmedmc

Summary Method for an Object of Class ctmedmc
print.ctmedmcphi

Print Method for Object of Class ctmedmcphi
summary.ctmedposteriorphi

Summary Method for Object of Class ctmedposteriorphi
summary.ctmedmed

Summary Method for an Object of Class ctmedmed
summary.ctmedtraj

Summary Method for an Object of Class ctmedtraj