Package: cTMed 1.0.2

Ivan Jacob Agaloos Pesigan

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.2.tar.gz
cTMed_1.0.2.tar.gz(r-4.5-noble)cTMed_1.0.2.tar.gz(r-4.4-noble)
cTMed_1.0.2.tgz(r-4.4-emscripten)cTMed_1.0.2.tgz(r-4.3-emscripten)
cTMed.pdf |cTMed.html
cTMed/json (API)
NEWS

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

Peer review:

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

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

openblascppopenmp

1.70 score 25 scripts 173 downloads 31 exports 64 dependencies

Last updated 2 days agofrom:ec1f5909e8. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 27 2024
R-4.5-linux-x86_64OKNov 27 2024

Exports:DeltaBetaDeltaBetaStdDeltaIndirectCentralDeltaMedDeltaMedStdDeltaTotalCentralDirectDirectStdExpCovExpMeanIndirectIndirectCentralIndirectStdMCBetaMCBetaStdMCIndirectCentralMCMedMCMedStdMCPhiMCTotalCentralMedMedStdPosteriorBetaPosteriorIndirectCentralPosteriorMedPosteriorPhiPosteriorTotalCentralTotalTotalCentralTotalStdTrajectory

Dependencies:abindbackportsBHcallrcheckmateclicOdecolorspacectsemdata.tableDerivdescdistributionalexpmfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmizemunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigplyrposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrstanrstantoolsscalessimStateSpaceStanHeadersstatmodtensorAtibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
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
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 '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
Extract the Posterior Samples of the Drift MatrixPosteriorPhi
Posterior Distribution of the Total Effect Centrality Over a Specific Time Interval or a Range of Time IntervalsPosteriorTotalCentral
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 '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