ctmaScaleInits function

ctmaScaleInits

ctmaScaleInits

This function rescales inits for drifts and sets all other inits to 0 (because it is too complicated to re-scale inits for diffusions).It uses the internal trasnformations of ctStanFit (i.e., tforms) to transform the raw estimates, then re-scale them, and finally use the inverse of tfrom to supplie raw estimates as inits.

ctmaScaleInits( CoTiMAFit = NULL, ctsemFit = NULL, newTimeScale = NULL, autoRefit = FALSE )

Arguments

  • CoTiMAFit: Fit object created with ctmaFit
  • ctsemFit: Fit object created with ctStanFit
  • newTimeScale: New Time scale ctStanFit
  • autoRefit: Whether to automatically refit the original model using the new inits