Man pages for ctsem
Continuous Time Structural Equation Modelling

AnomAuthAnomAuth
ctACFContinuous Time Autocorrelation Function (ctACF)
ctACFresidualsCalculate Continuous Time Autocorrelation Function (ACF) for...
ctAddSamplesSample more values from an optimized ctstanfit object
ctCheckFitVisual model fit diagnostics for ctsem fit objects.
ctChisqTestChi Square test wrapper for ctStanFit objects.
ctCollapsectCollapse Easily collapse an array margin using a specified...
ctDeintervalisectDeintervalise
ctDiscreteParsctDiscretePars
ctDiscreteParsPlotctDiscreteParsPlot
ctDiscretiseDataDiscretise long format continuous time (ctsem) data to...
ctDocsGet documentation pdf for ctsem
ctEmpiricalBayesFitEmpirical Bayes subject-wise ctsem fits
ctExample1ctExample1
ctExample1TIpredctExample1TIpred
ctExample2ctExample2
ctExample2levelctExample2level
ctExample3ctExample3
ctExample4ctExample4
ctExtractExtract samples from a ctStanFit object
ctFitFit a ctsem model
ctFitCovCheckVisual lagged covariance or correlation diagnostics for ctsem...
ctFitCovCheckPlotctFitCovCheckPlot
ctFitUpdateUpdate a ctStanFit object
ctGeneratectGenerate
ctGenerateFromFitAdd a '$generated' object to ctstanfit object, with random...
ctGenerateFromPriorsGenerate data from a ctstanmodel object
ctIntervaliseConverts absolute times to intervals for wide format ctsem...
ctKalmanctKalman
ctKalmanArrayGet Kalman filter estimates from a ctStanFit object
ctLongToWidectLongToWide Restructures time series / panel data from long...
ctLOOK fold cross validation for ctStanFit objects
ctModelDefine a ctsem model
ctModelConvertOMXConvert an old OpenMx-style ctsem model to the modern ctsem...
ctModelCoverage_checkCoverage Check Function
ctModelHigherOrderRaise the order of a ctsem type ='omx' model object.
ctModelLatexGenerate and optionally compile latex equation of subject...
ctModelMatricesMatrix view for ctStanModel objects
ctOptimUncertaintyUpdate optimized ctsem uncertainty estimates
ctPlotArrayPlots three dimensional y values for quantile plots
ctPlotPosteriorctPlotPosterior
ctPolyPlots uncertainty bands with shading
ctPostPredDataCreate a data.table to compare data generated from a ctsem...
ctPostPredictCompares model implied density and values to observed, for a...
ctPostPredPlotsCreate diagnostic plots to assess the goodness-of-fit for a...
ctPredictTIPctPredictTIP
ctRawParnamesctRawParnames
ctResidualsExtract Standardized Residuals from a ctsem Fit
ctsem-packagectsem
ctstantestdatctstantestdat
ctstantestfitctstantestfit
ctStanUpdModelUpdate an already compiled and fit ctStanFit object
ctSubjectParsExtract an array of subject specific parameters from a...
ctSummaryMatricesctSummaryMatrices
ctTIpredEffectsGet time independent predictor effect estimates
ctWideNamesctWideNames sets default column names for wide ctsem...
ctWideToLongctWideToLong Convert ctsem wide to long format
datastructuredatastructure
inv_logitInverse logit
log1p_explog1p_exp
longexamplelongexample
OscillatingOscillating
plotctACFPlot an approximate continuous-time ACF object from ctACF
plot.ctKalmanDFPlots Kalman filter output from ctKalman.
plot.ctStanFitplot.ctStanFit
plot.ctStanModelPrior plotting
sdpcor2covsdcor2cov
standatact_specificsubjectsAdjust standata from ctsem to only use specific subjects
stanoptimisOptimize / importance sample a stan or ctStan model.
stan_reinitsfQuickly initialise stanfit object from model and data
stan_unconstrainsamplesConvert samples from a stanfit object to the unconstrained...
stanWplotRuns stan, and plots sampling information while sampling.
summary.ctEmpiricalBayesFitSummarise empirical Bayes subject-wise ctsem fits
summary.ctStanFitsummary.ctStanFit
test_iscloseTests if 2 values are close to each other
ctsem documentation built on June 30, 2026, 5:07 p.m.