Bayesian State Space Representation Model: Applications to Macroeconomics and International Finance