pdf of the mixture of Gaussian linear (Markov-switching) models for hhsmm
pdf of the mixture of Gaussian linear (Markov-switching) models for hhsmm
The probability density function of a mixture Gaussian linear (Markov-switching) models for a specified observation vector, a specified state and a specified model's parameters
dmixlm(x, j, model, resp.ind =1)
Arguments
x: the observation matrix including responses and covariates
j: a specified state between 1 to nstate
model: a hhsmmspec model
resp.ind: a vector of the column numbers of x which contain response variables. The default is 1, which means that the first column of x is the univariate response variable
Kim, C. J., Piger, J. and Startz, R. (2008). Estimation of Markov regime-switching regression models with endogenous switching. Journal of Econometrics, 143(2), 263-273.