Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emissions Probability Distribution #28

Open
antonionieto opened this issue Apr 2, 2020 · 1 comment
Open

Emissions Probability Distribution #28

antonionieto opened this issue Apr 2, 2020 · 1 comment

Comments

@antonionieto
Copy link

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!

@ucabqll
Copy link

ucabqll commented Jul 20, 2022

hello, were you able to relate the coefficients back to the distribution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants