This is a R program that estimates the expected return of a given index based on historical data of two selected market indices by CAPM function. Using bayesian statistics method.
Compare to SimpleReturnExpectationCalculator, SimpleReturnExpectationCalculator2 will be written in R. It provides more information about the model and prediction accuracy.