LMbasic-class: Class "LMbasic"

Description Value Author(s) See Also

Description

An S3 class object created by lmest function for basic Latent Markov (LM) model.

Value

lk

maximum log-likelihood at convergence of the EM algorithm

piv

estimate of initial probability vector

Pi

estimate of transition probability matrices (k x k x TT)

Psi

estimate of conditional response probabilities (mb x k x r)

np

number of free parameters

k

optimal number of latent states

aic

value of the Akaike Information Criterion for model selection

bic

value of the Bayesian Information Criterion for model selection

lkv

log-likelihood trace at every step

V

array containing the estimated posterior probabilities of the latent states for each response configuration and time occasion

n

number of observations in the data

TT

number of time occasions

modBasic

model on the transition probabilities: default 0 for time-heterogeneous transition matrices, 1 for time-homogeneous transition matrices, 2 for partial time homogeneity based on two transition matrices one from 2 to (TT-1) and the other for TT.

sepiv

standard errors for the initial probabilities

sePi

standard errors for the transition probabilities

sePsi

standard errors for the conditional response probabilities

Lk

vector containing the values of the log-likelihood of the LM model with each k (latent states)

Bic

vector containing the values of the BIC for each k

Aic

vector containing the values of the AIC for each k

call

command used to call the function

data

data.frame given in input

Author(s)

Francesco Bartolucci, Silvia Pandolfi, Fulvia Pennoni, Alessio Farcomeni, Alessio Serafini

See Also

lmest


LMest documentation built on Oct. 10, 2021, 1:09 a.m.