Financial Modeling of the Equity Market: From CAPM to Cointegration