Dear Nglthu,
Not sure what you mean by scale(x1,x2), this:
library(depmixS4)
data(speed)
x1 <- rnorm(nrow(speed))
x2 <- rnorm(nrow(speed))
scale(x1,x2)
produces an error ...
but, the use of two predictors or covariates on the transition matrix is
possible:
speed$x2 <- x2
mod1 <- depmix(lis
Dear helpers,
is there any possible that transition (in depmixS4) is in scale of two
variable, e.g transition=~scale(x1,x2)?
If it can be, how transition of two variable (covariate time) can be worked
in depmixS4-hidden markov model for time series.
Many thanks,
nglthu
--
View this message in con
2 matches
Mail list logo