Continuous Time Structural Equation Modelling


[Up] [Top]

Documentation for package ‘ctsem’ version 2.8.2

Help Pages

ctsem-package ctsem
AnomAuth AnomAuth
ctCheckFit Check absolute fit of ctFit or ctStanFit object.
ctCI ctCI Computes confidence intervals on specified parameters / matrices for already fitted ctsem fit object.
ctCollapse ctCollapse Easily collapse an array margin using a specified function.
ctCompareExpected ctCompareExpected Compares model implied to observed means and covariances for panel data fit with ctsem.
ctDeintervalise ctDeintervalise
ctDensity ctDensity
ctDiscretePars ctDiscretePars
ctDiscretiseData Discretise long format continuous time (ctsem) data to specific timestep.
ctExample1 ctExample1
ctExample1TIpred ctExample1TIpred
ctExample2 ctExample2
ctExample2level ctExample2level
ctExample3 ctExample3
ctExample4 ctExample4
ctFit Fit a ctsem object
ctGenerate ctGenerate
ctGenerateFromFit Generates data according to the model estimated in a ctsemFit object.#'
ctIndplot ctIndplot
ctIntervalise Converts absolute times to intervals for wide format ctsem panel data
ctKalman ctKalman
ctKalmanPlot ctKalmanPlot
ctLongToWide ctLongToWide Restructures time series / panel data from long format to wide format for ctsem analysis
ctModel Define a ctsem model
ctModelFromFit Extract a ctsem model structure with parameter values from a ctsem fit object.
ctMultigroupFit Fits a multiple group continuous time model.
ctPlot ctPlot
ctPlotArray Plots three dimensional y values for quantile plots
ctPoly Plots uncertainty bands with shading
ctPostPredict Posterior predictive type check for ctsemFit.
ctRefineTo ctRefineTo
ctsem ctsem
ctStanContinuousPars ctStanContinuousPars
ctStanDiscretePars ctStanDiscretePars
ctStanDiscreteParsPlot ctStanDiscreteParsPlot
ctStanFit ctStanFit
ctStanGenerateData Add a $generated object to ctstanfit object, with random data generated from posterior of ctstanfit object
ctStanModel Convert a frequentist (omx) ctsem model specification to Bayesian (Stan).
ctStanParMatrices Returns model equation and other matrices from a ctStanFit object, and vector of values for free parameters.
ctStanParnames ctStanParnames
ctStanPlot plot.ctStanFit
ctStanPlotPost ctStanPlotPost
ctStanPostPredict Compares model implied density and values to observed, for a ctStanFit object.
ctstantestdat ctstantestdat
ctstantestfit ctstantestfit
ctStanTIpredeffects Get time independent predictor effect estimates
ctStanTIpredMarginal Plot marginal relationships between covariates and parameters for a ctStanFit object.
ctStanUpdModel Update an already compiled and fit ctStanFit object
ctWideNames ctWideNames sets default column names for wide ctsem datasets. Primarily intended for internal ctsem usage.
ctWideToLong ctWideToLong Convert ctsem wide to long format
datastructure datastructure
extract.ctStanFit Extract samples from a ctStanFit object
inv_logit Inverse logit
isdiag Diagnostics for ctsem importance sampling
Kalman Kalman
longexample longexample
msquare Right multiply a matrix by its transpose.
optimstan Optimize / importance sample a stan or ctStan model.
Oscillating Oscillating
plot.ctsemFit Plotting function for object class ctsemFit
plot.ctsemFitMeasure Misspecification plot using ctCheckFit output
plot.ctsemMultigroupFit Plot function for ctsemMultigroupFit object
plot.ctStanFit plot.ctStanFit
plot.ctStanModel Prior plotting
sdpcor2cov sdcor2cov
stanWplot Runs stan, and plots sampling information while sampling.
stan_checkdivergences Analyse divergences in a stanfit object
stan_confidenceRegion Extract functions of multiple variables from a stanfit object
stan_postcalc Compute functions of matrices from samples of a stanfit object
stan_unconstrainsamples Convert samples from a stanfit object to the unconstrained scale
summary.ctsemFit Summary function for ctsemFit object
summary.ctsemMultigroupFit Summary function for ctsemMultigroupFit object
summary.ctStanFit summary.ctStanFit