Displaying 1 result from an estimated 1 matches for "hmminit".
Did you mean:
hmm_init
2013 Apr 16
1
HMM Package parameter estimation
...3), 3,2,TRUE)
# CREATE THE KNOWN MODEL
hmmTrue = initHMM(states, symbols, startProb, transProb , emissionProb)
# SIMULATE 1000 OBSERVATIONS OF THE KNOWN MODEL
observation = simHMM(hmmTrue, 1000)
obs = observation$observation
#ESTIMATE A MODEL USING THE OBSERVATIONS GENERATED FROM THE KNOWN MODEL
hmmInit = initHMM(states, symbols, c(1/3,1/3,1/3))
hmmFit = baumWelch(hmmInit, obs)
#The parameters of hmmTrue and hmmFit are not at all alike, why is this?
Kind Regards,
Richard
[[alternative HTML version deleted]]