Mathematics Homework Help
Mathematics Homework Help. Matlab Help
I need you to be familiar with the various functions of matlab and explain the codes when I don’t understand it.
step 1: apply PCA to determine the number of latent factors using the macro indicators.
Step 2: estimate a hidden Markov model and find the optimal number of regimes (states).