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!










share|cite|improve this question




























    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!










    share|cite|improve this question


























      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!










      share|cite|improve this question















      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






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 7 hours ago









      Davide Giraudo

      124k16149253




      124k16149253










      asked Nov 18 at 17:58









      Iwona Grabowska

      11




      11



























          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          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






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Bundesstraße 106

          Le Mesnil-Réaume

          Ida-Boy-Ed-Garten