fmsmObject function

Fitted fmsmObject object

Fitted fmsmObject object

The fmsm function returns the fitted model object fmsmObject. This is of class "fmsm" and includes the components listed below. These are intended for confident users. To extract results from the fitted model objects, functions such as summary.fmsm, plot.fmsm, Q.pred and P.pred should be used instead.

Returns

  • suStf: A list with all of the quantities used for estimation and post-estimation computations. This includes the full design matrix full.X, the starting parameters used, params.0 and sp.0, and more technical quantities such as the positions of the smooths' parameters and of the parametric coefficients.

  • msm.fit.object: This contains all of the details of the model fitting.

  • msm.post.object: This contains all of the post-estimation details.

  • formula: Formula used in the model specification.

  • short.formula: Short version of the model specification, i.e. only non-zero transition specifications are included.

  • n: Number of observations in the dataset.

  • N: Number of unique individuals.

  • logLik: The value of the log-likelihood at convergence.

  • t.edf: Total effective degrees of freedom.

  • singleComp: If present, log-likelihood, gradient and Hessian computed at the starting parameter (without fitting).

See Also

fmsm, summary.fmsm

  • Maintainer: Alessia Eletti
  • License: MIT + file LICENSE
  • Last published: 2024-07-19

Useful links