ctmaStdParams function

ctmaStdParams

ctmaStdParams

Computes standardized drift effects from a CoTiMA or ctsem fit object. Can only handle CLPM or RI-CLPM fit objects.

ctmaStdParams( fit = NULL, times = 1, digits = 4, standardize = TRUE, oneTailed = FALSE )

Arguments

  • fit: CoTiMA or ctsem fit object with or without random intercepts
  • times: scalar (1 by defualt) or vector of scalars defining the discrete time lags for which standardized drift effects are computed.
  • digits: rounding (4 by default)
  • standardize: logical. TRUE (default) or FALSE (does not standardize and just computes discrete time effects)
  • oneTailed: logical. FALSE (default) or TRUE. If TRUE, one-tailed CIs will be reported

Returns

ctmaStdParams returns a list of standardized discrete time drift matrices for different time intervals.

Examples

## Not run: ctmaStdParams(CoTiMAFullFit_3_orig, times=c(.1, 1, 2), digits=6, standardize=TRUE) ## End(Not run)