Hidden Markov model in Credit risk modeling
up vote
0
down vote
favorite
Could you please help me to understand what is a standard (multinomial) logistic link function between $X_{t}$ and the entries of $Q_{t}$ used in 'Modeling Portfolio Defaults using Hidden Markov Models with Covariates', which were written by Konrad Banachewicz and Aad van der Vaart, André Lucas. The entries of $Q_{t}$ are
$$q_{ij,t}=frac{expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}{sumlimits_{j=1}^{N}expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}.$$
I do not know why $q_{ij,t}$ is defined in this way and what are the variables $Phi_{ij}$ and $eta_{ij}$...
Also I wrote the program in C++, which should check if the procedure described in this paper is fine - Expectation-Maximization (EM). In program at the begining the observation sequence, hidden states sequence, transition matrix $Q_{t}$ together with the distribution of the initial state $P(W_{1} = i) = pi_{i}$ and matrix $B$ are generated by pseudorandom numbers generator. Then the initial parameters of the model are generated again and
and procedure changing parameters is performed until we get the convergence with the original parameters - here we using the observation sequence generated at the begining - it is fixed. I do know why the program does not find at the end
similar parameters to the original ones.... Can it be that the model is not convergent or I am doing something wrong?
Thank you for your help!
finance
add a comment |
up vote
0
down vote
favorite
Could you please help me to understand what is a standard (multinomial) logistic link function between $X_{t}$ and the entries of $Q_{t}$ used in 'Modeling Portfolio Defaults using Hidden Markov Models with Covariates', which were written by Konrad Banachewicz and Aad van der Vaart, André Lucas. The entries of $Q_{t}$ are
$$q_{ij,t}=frac{expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}{sumlimits_{j=1}^{N}expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}.$$
I do not know why $q_{ij,t}$ is defined in this way and what are the variables $Phi_{ij}$ and $eta_{ij}$...
Also I wrote the program in C++, which should check if the procedure described in this paper is fine - Expectation-Maximization (EM). In program at the begining the observation sequence, hidden states sequence, transition matrix $Q_{t}$ together with the distribution of the initial state $P(W_{1} = i) = pi_{i}$ and matrix $B$ are generated by pseudorandom numbers generator. Then the initial parameters of the model are generated again and
and procedure changing parameters is performed until we get the convergence with the original parameters - here we using the observation sequence generated at the begining - it is fixed. I do know why the program does not find at the end
similar parameters to the original ones.... Can it be that the model is not convergent or I am doing something wrong?
Thank you for your help!
finance
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Could you please help me to understand what is a standard (multinomial) logistic link function between $X_{t}$ and the entries of $Q_{t}$ used in 'Modeling Portfolio Defaults using Hidden Markov Models with Covariates', which were written by Konrad Banachewicz and Aad van der Vaart, André Lucas. The entries of $Q_{t}$ are
$$q_{ij,t}=frac{expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}{sumlimits_{j=1}^{N}expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}.$$
I do not know why $q_{ij,t}$ is defined in this way and what are the variables $Phi_{ij}$ and $eta_{ij}$...
Also I wrote the program in C++, which should check if the procedure described in this paper is fine - Expectation-Maximization (EM). In program at the begining the observation sequence, hidden states sequence, transition matrix $Q_{t}$ together with the distribution of the initial state $P(W_{1} = i) = pi_{i}$ and matrix $B$ are generated by pseudorandom numbers generator. Then the initial parameters of the model are generated again and
and procedure changing parameters is performed until we get the convergence with the original parameters - here we using the observation sequence generated at the begining - it is fixed. I do know why the program does not find at the end
similar parameters to the original ones.... Can it be that the model is not convergent or I am doing something wrong?
Thank you for your help!
finance
Could you please help me to understand what is a standard (multinomial) logistic link function between $X_{t}$ and the entries of $Q_{t}$ used in 'Modeling Portfolio Defaults using Hidden Markov Models with Covariates', which were written by Konrad Banachewicz and Aad van der Vaart, André Lucas. The entries of $Q_{t}$ are
$$q_{ij,t}=frac{expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}{sumlimits_{j=1}^{N}expleft(Phi_{ij}^{'}X_{t}+eta_{ij}right)}.$$
I do not know why $q_{ij,t}$ is defined in this way and what are the variables $Phi_{ij}$ and $eta_{ij}$...
Also I wrote the program in C++, which should check if the procedure described in this paper is fine - Expectation-Maximization (EM). In program at the begining the observation sequence, hidden states sequence, transition matrix $Q_{t}$ together with the distribution of the initial state $P(W_{1} = i) = pi_{i}$ and matrix $B$ are generated by pseudorandom numbers generator. Then the initial parameters of the model are generated again and
and procedure changing parameters is performed until we get the convergence with the original parameters - here we using the observation sequence generated at the begining - it is fixed. I do know why the program does not find at the end
similar parameters to the original ones.... Can it be that the model is not convergent or I am doing something wrong?
Thank you for your help!
finance
finance
edited 7 hours ago
Davide Giraudo
124k16149253
124k16149253
asked Nov 18 at 17:58
Iwona Grabowska
11
11
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3003877%2fhidden-markov-model-in-credit-risk-modeling%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown