Dear all,
I'm working on my thesis paper and trying to replicate this author's process for MCMC Gibbs Sampling. I have read some tutorials as well as Stata's manuals, so I know how to use the GUI (typing "db bayesmh") to build posterior models, priors distribution, input data and such.
However, I still cannot get the gist of the process and the steps needed to replicate it. The attached photo (or you can find it at https://imgur.com/a/8jHpvo6) is the explanation of the author for this process. The main idea is that I want to identify the 2 states of the stock market (whether it is bull or bear) using equally weighted market returns. The transition probabilities of the 2 states follow First-order Markov Chain.
I'm especially quite vague about the part that "estimate the transition probabilities using conjugate beta priors, but use weak priors".
I need to know how to do this process step by step, if possible. Otherwise, any help/ clarification is much appreciated as well!
I'm using Stata 15 for Windows.
Many thanks!
I'm working on my thesis paper and trying to replicate this author's process for MCMC Gibbs Sampling. I have read some tutorials as well as Stata's manuals, so I know how to use the GUI (typing "db bayesmh") to build posterior models, priors distribution, input data and such.
However, I still cannot get the gist of the process and the steps needed to replicate it. The attached photo (or you can find it at https://imgur.com/a/8jHpvo6) is the explanation of the author for this process. The main idea is that I want to identify the 2 states of the stock market (whether it is bull or bear) using equally weighted market returns. The transition probabilities of the 2 states follow First-order Markov Chain.
I'm especially quite vague about the part that "estimate the transition probabilities using conjugate beta priors, but use weak priors".
I need to know how to do this process step by step, if possible. Otherwise, any help/ clarification is much appreciated as well!
I'm using Stata 15 for Windows.
Many thanks!
Comment