Displaying 2 results from an estimated 2 matches for "trstart".
Did you mean:
strstart
2017 Sep 20
1
How to use depmix for HMM with intial parameters
...al_matrix)
powerdf is a column from my dataset which look like something = 19.0, 18.0,
24.0...............it has some 30 thousand rows
I tried using the code below and got an error
mod= depmix( response = power~1, data = powerdf, nstates=3,
instart=intial_prob_matrix,
trstart=transition_matrix, respstart=emission_matrix)
Error in makeResponseModels(response = response, data = data, nstates =
nstates, :
'respstart' has incorrect length, it should be 6
I cannot change my emission matrix, it would always be list of matrix (mean
, sigma and weighted coefficien...
2011 Oct 22
0
covariance matrix of model parameters
...arkov model on joint multivariate gaussian
distribution for 2 vectors. I am using the depmixS4 package in R.
Specifically, I am using the following code:
mod<-depmix(list(response = mom ~ mkt + p0 + p1, mkt~1), data = regvar,
nstates = 2,
family = list(gaussian(), gaussian()),instart = delta, trstart=Pi)
It seems that depmixS4 doesnt output the covariance estimates of the
parameters. What is the best package to obtain them?
--
View this message in context: http://r.789695.n4.nabble.com/covariance-matrix-of-model-parameters-tp3928558p3928558.html
Sent from the R help mailing list archive at Na...