IOHMM
IOHMM copied to clipboard
Emissions Probability Distribution
Hi!
I have adjusted an unsupervised IOHMM with 3 states and an emission covariate (see code below).
SHMM = UnSupervisedIOHMM(num_states=3, max_EM_iter=200, EM_tol=1e-4)
SHMM.set_models(model_emissions = [OLS(est_stderr=True)], model_transition=CrossEntropyMNL(solver='lbfgs'), model_initial=CrossEntropyMNL(solver='lbfgs'))
SHMM.set_inputs(covariates_initial = [], covariates_transition = [], covariates_emissions = [['var']])
SHMM.set_outputs([['out']])
SHMM.set_data([df])
SHMM.train()
I am trying to get the Emissions Probability Distribution in each state based on the emission covariate value. How can I model this probability? I am getting two coefficients and two estimated standard error coefficients of the emission model in each state.
How can I use these coefficients?
Appreciate your answers!
hello, were you able to relate the coefficients back to the distribution?