Risk is an important consideration when holding a portfolio. There are two types of risks: systematic risks which affect the entire market and cannot be diversified away, and unsystematic risks which are unique to a company and can be reduced through diversification. The Capital Asset Pricing Model (CAPM) describes the relationship between risk and expected return, stating that the expected return of a security equals the risk-free rate plus a risk premium based on the security's beta, which measures its systematic risk relative to the market.