# Questions tagged [hidden-markov-model]

Hidden Markov Models are used for modelling systems that are assumed to be Markov processes with hidden (i.e. unobserved) states.

552 questions
Filter by
Sorted by
Tagged with
20 views

### Maximum Likelihood in the Markov Switching GARCH(1,1) Model

In the standard GARCH(1, 1) model with normal innovations: $$~\epsilon _{t}=\sigma _{t}z_{t}}$$ $$\sigma^2_t=\omega+\alpha\epsilon^2_{t-1}+\beta\sigma^2_{t-1}.$$ The (negative) log-...
29 views

### Learning HMM parameters by counting?

In 8.4.3 of the book Speech and Language Processing: An introduction to natural language processing, the two matrices transition probabilities and emission probabilities can be learned by counting as ...
33 views

### Compute likelihood of state given multiple observations?

I am trying to use Bayes formula to compute the likelihood of a given state given a collection of independent but not sequenced observations - knowing the priors and knowing the probabilities of being ...
13 views

### How to use bootstrap method to compute confidence interval for HMM parameters?

I have known how to estimate parameters in hidden Markov model by Baum-Welch algorithm. And then I was curious about how to compute the confidence interval, but I found that few articles discuss about ...
47 views

### Differenciate between two distributions using gibbs sampling [closed]

This question is relate to the post : " Conditional distribution for Gibbs sampling for Gaussian mixture " but is a little bit different. My objective is to know why the algorithm (which is ...
22 views

### Next event prediction - approach

I have a problem that I do not know how to solve reasonably. I need predict date and amount of next (future) order of product. So my data looks like this: ...
35 views

### Identifiability of discrete HMM with categorical observations

My setup is simple. I have two categorical distributions with probabilities $p$ and $\tilde{p}$ that generate an observation depending on whether the hidden state is 1 or 0, respectively. In other ...
30 views

### Understanding emission probability in HMM definition

This is rather basic question. I was going through Speech and Language Processing by Jurafsky and Martin. In the book, they define a Hidden Markov Model (HMM) as follows: An HMM is specified by the ...
39 views

### Recreating research paper with HMM and K-S test

I am trying to recreate this research: https://www.mdpi.com/1911-8074/13/12/311/htm My first question is when they present the regime breakdown: ...
18 views

### How to verify if a graphical model has the markov property?

If I draw the computational graph of an HMM and an RNN from an architectural point of view they look very similar. The main difference is that an RNN gets some input $x$ and the HMM only operates on ...
20 views

### Calculating the degrees of freedom of a hidden Markov model (HMM)

I am curious if there is a straightforward explanation for calculating the degrees of freedom of a hidden Markov model (HMM). For example, take a simple HMM with a 1st-order Markov chain and 2 hidden ...
35 views

### Number of free parameters of a hidden Markov model with emission prob. as Gaussian mixture model?

If there are $K$ components (or HMM states) and there is $D$ dimensional GMM is the number of free parameters is: HMM: $K(K-1)$ for transition matrix $K-1$ for prior GMM: $D(D+1)K/2$ for ...
22 views

30 views

### Terminal State Classification with Hidden Markov Models

The Viterbi algorithm predicts the most likely sequence of hidden states. But what if the variable of interest is the final hidden state? For example, predicting if a friend (whom you can't visit due ...
33 views

### Does it make sense to study a Hidden Markov Model with an identity transition matrix?

Let's say I have a huge number of samples describing relatively long sequences of a high number of observable states, but whose 2 possible hidden states are constant inside a sequence. (Practically, ...
14 views

### HMM, probability of a short state sequence starting at an arbitrary time?

So, I'm going through some course literature on my own and don't have peers to discuss with. The question is "How will you find the probability of a short state sequence starting at an arbitrary ...
29 views

### What is the minimum time steps for training hidden markov model?

I'm working with hidden markov model. And I wonder what is the minimum time steps for training hidden markov model. For example, I have weight data with 3 years of 100 people like following ...
15 views

### Fix state labels of HMM in depmixS4

Everytime I fit my HMM, the obtained labels of states that I get are different. Sometimes State 1 is of negative mean and high std. deviation response parameters and sometimes State 2 is of negative ...
25 views

### Training a layered HMM

I am currently planning on training a layered Hidden Markov Model. I have 3 stages with the following structures. The first stage is a 3-state HMM with the State X: can emit insertion errors State Y: ...
23 views

### How do I establish which Hidden Markov Models generates better samples?

I have a time-serie and I fit different HMMs on it, each with a different number of hidden states. Now after sampling from the models , I'd like to compare the results with the ground truth data and ...
20 views

### HMM with emission probability being hidden state

I've been working on this problem for a while but cannot think of any solution. So here's the problem explained in the context of HMM. The hidden state is a probability that is updated given ...
29 views

### How to perform likelihood ratio hypothesis test between two hidden markov models

I'm currently working on a problem posed as follows: given some data $\mathbf{x}$, what's the appropriate way to accept/reject between two hypotheses which are hidden markov models that could have ...
15 views

43 views

### Use HMM for time series classification in python - define initial states

I have a time series of locations. I want to use HMM for classification of path, by using the knowledge I have on the locations. I know that locations [0,100] should be state A , [100,200] are state B ...
53 views

### Hidden Markov Models and How to Interpret Probability of the Overall Sequence?

What can I do to improve the probability of a sequence given my data? Consider the following MWE: ...
35 views

### Interpreting viterbi decoding and posterior probabilities

I am wondering why the last state of the predicted probabilities does not match the viterbi decoding sequence. Consider this MWE: ...
44 views

### How do I find Schwartz criterion (or Bayesian Information Criterion) for these three models?

I have to find the schwarz criterion for each of the models in this maths question using RStudio but I don't know where to start. I know I need to find the free parameters but don't know how to find ...
I have a Hidden Markov Model with a "publication lag" (i.e. the observation "published" in period $t$ is actually measured in period $t-1$). For example, a survey asking about ...