Package: cTMed 1.0.5

cTMed: Continuous Time Mediation

Calculates standard errors and confidence intervals for effects in continuous-time mediation models. This package extends the work of Deboeck and Preacher (2015) <doi:10.1080/10705511.2014.973960> and Ryan and Hamaker (2021) <doi:10.1007/s11336-021-09767-0> by providing methods to generate standard errors and confidence intervals for the total, direct, and indirect effects in these models.

Authors:Ivan Jacob Agaloos Pesigan [aut, cre, cph]

cTMed_1.0.5.tar.gz
cTMed_1.0.5.zip(r-4.5)cTMed_1.0.5.zip(r-4.4)cTMed_1.0.5.zip(r-4.3)
cTMed_1.0.5.tgz(r-4.4-x86_64)cTMed_1.0.5.tgz(r-4.4-arm64)cTMed_1.0.5.tgz(r-4.3-x86_64)cTMed_1.0.5.tgz(r-4.3-arm64)
cTMed_1.0.5.tar.gz(r-4.5-noble)cTMed_1.0.5.tar.gz(r-4.4-noble)
cTMed_1.0.5.tgz(r-4.4-emscripten)cTMed_1.0.5.tgz(r-4.3-emscripten)
cTMed.pdf |cTMed.html
cTMed/json (API)
NEWS

# Install 'cTMed' in R:
install.packages('cTMed', repos = c('https://jeksterslab.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jeksterslab/ctmed/issues

Pkgdown site:https://jeksterslab.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

centralitycontinuous-timedelta-methodmediationmonte-carlo-methodnetworkopenblascppopenmp

5.32 score 22 scripts 7.7k downloads 37 exports 4 dependencies

Last updated 2 hours agofrom:475cc18b24. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 19 2025
R-4.5-win-x86_64OKJan 19 2025
R-4.5-linux-x86_64OKJan 19 2025
R-4.4-win-x86_64OKJan 19 2025
R-4.4-mac-x86_64OKJan 19 2025
R-4.4-mac-aarch64OKJan 19 2025
R-4.3-win-x86_64OKJan 19 2025
R-4.3-mac-x86_64OKJan 19 2025
R-4.3-mac-aarch64OKJan 19 2025

Exports:BootBetaBootBetaStdBootIndirectCentralBootMedBootMedStdBootTotalCentralDeltaBetaDeltaBetaStdDeltaIndirectCentralDeltaMedDeltaMedStdDeltaTotalCentralDirectDirectStdExpCovExpMeanIndirectIndirectCentralIndirectStdMCBetaMCBetaStdMCIndirectCentralMCMedMCMedStdMCPhiMCPhiSigmaMCTotalCentralMedMedStdPosteriorBetaPosteriorIndirectCentralPosteriorMedPosteriorTotalCentralTotalTotalCentralTotalStdTrajectory

Dependencies:numDerivRcppRcppArmadillosimStateSpace

Readme and manuals

Help Manual

Help pageTopics
Bootstrap Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time IntervalsBootBeta
Bootstrap Sampling Distribution for the Elements of the Standardized Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time IntervalsBootBetaStd
Bootstrap Sampling Distribution for the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsBootIndirectCentral
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 IntervalsBootMed
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 IntervalsBootMedStd
Bootstrap Sampling Distribution for the Total Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsBootTotalCentral
Bootstrap Method Confidence Intervalsconfint.ctmedboot
Delta Method Confidence Intervalsconfint.ctmeddelta
Monte Carlo Method Confidence Intervalsconfint.ctmedmc
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 IntervalsDeltaBeta
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 IntervalsDeltaBetaStd
Delta Method Sampling Variance-Covariance Matrix for the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsDeltaIndirectCentral
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 IntervalsDeltaMed
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 IntervalsDeltaMedStd
Delta Method Sampling Variance-Covariance Matrix for the Total Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsDeltaTotalCentral
Direct Effect of X on Y Over a Specific Time IntervalDirect
Standardized Direct Effect of X on Y Over a Specific Time IntervalDirectStd
Model-Implied State Covariance MatrixExpCov
Model-Implied State Mean VectorExpMean
Indirect Effect of X on Y Through M Over a Specific Time IntervalIndirect
Indirect Effect CentralityIndirectCentral
Standardized Indirect Effect of X on Y Through M Over a Specific Time IntervalIndirectStd
Monte Carlo Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time IntervalsMCBeta
Monte Carlo Sampling Distribution for the Elements of the Standardized Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time IntervalsMCBetaStd
Monte Carlo Sampling Distribution of Indirect Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsMCIndirectCentral
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 IntervalsMCMed
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 IntervalsMCMedStd
Generate Random Drift Matrices Using the Monte Carlo MethodMCPhi
Generate Random Drift Matrices and Process Noise Covariance Matrices Using the Monte Carlo MethodMCPhiSigma
Monte Carlo Sampling Distribution of Total Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsMCTotalCentral
Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time IntervalsMed
Standardized Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time IntervalsMedStd
Plot Method for an Object of Class 'ctmedboot'plot.ctmedboot
Plot Method for an Object of Class 'ctmeddelta'plot.ctmeddelta
Plot Method for an Object of Class 'ctmedmc'plot.ctmedmc
Plot Method for an Object of Class 'ctmedmed'plot.ctmedmed
Plot Method for an Object of Class 'ctmedtraj'plot.ctmedtraj
Posterior Sampling Distribution for the Elements of the Matrix of Lagged Coefficients Over a Specific Time Interval or a Range of Time IntervalsPosteriorBeta
Posterior Distribution of the Indirect Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsPosteriorIndirectCentral
Posterior Distribution of Total, Direct, and Indirect Effects of X on Y Through M Over a Specific Time Interval or a Range of Time IntervalsPosteriorMed
Posterior Distribution of the Total Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsPosteriorTotalCentral
Print Method for Object of Class 'ctmedboot'print.ctmedboot
Print Method for Object of Class 'ctmeddelta'print.ctmeddelta
Print Method for Object of Class 'ctmedeffect'print.ctmedeffect
Print Method for Object of Class 'ctmedmc'print.ctmedmc
Print Method for Object of Class 'ctmedmcphi'print.ctmedmcphi
Print Method for Object of Class 'ctmedmed'print.ctmedmed
Print Method for Object of Class 'ctmedtraj'print.ctmedtraj
Summary Method for an Object of Class 'ctmedboot'summary.ctmedboot
Summary Method for an Object of Class 'ctmeddelta'summary.ctmeddelta
Summary Method for an Object of Class 'ctmedmc'summary.ctmedmc
Summary Method for an Object of Class 'ctmedmed'summary.ctmedmed
Summary Method for Object of Class 'ctmedposteriorphi'summary.ctmedposteriorphi
Summary Method for an Object of Class 'ctmedtraj'summary.ctmedtraj
Total Effect Matrix Over a Specific Time IntervalTotal
Total Effect CentralityTotalCentral
Standardized Total Effect Matrix Over a Specific Time IntervalTotalStd
Simulate Trajectories of VariablesTrajectory