I am working on testing the Arbitrage Pricing Theory. So, I have 5 independent variables, or factors (oil price, inflation, industrial production, FX, stock index) that affect the dependent variable (stock return). So, I have a raw data on theses factors for the last 7 years to be processed. I need to find the betas regressing these factors on the computer software (maybe, STATA). But I don't have any idea, how to start this process. Should I create my own .dta format file to regress it on STATA if I don't have such ready to use data file? Is it possible at all?

p/s: I am considering the US stock market, actually S&P500 index. Thanks a lot.

Similar questions and discussions