Calculate Continuous Time Autocorrelation Function (ACF) for Standardized Residuals of ctsem fit.
Source:R/ctACF.R
ctACFresiduals.RdThis function takes a fit object from ctsem and computes the continuous time autocorrelation function (ACF) on the standardized residuals.
Arguments
- fit
A fitted model object generated by the ctsem package.
- ...
Additional arguments to be passed to the
ctACFfunction.
Details
This function first extracts the standardized residuals from the fit object using
the ctKalmanArray function. Then, it calculates the continuous time ACF for these residuals
and returns the results as a data table.