User: Extract the factors that affect the shape of a yield curve, and list them using bullets.

Context:
Yield curves are usually upward sloping asymptotically: the longer the maturity, the higher the yield, with diminishing marginal increases (that is, as one moves to the right, the curve flattens out). According to columnist Buttonwood of The Economist newspaper, the slope of the yield curve can be measured by the difference, or "spread", between the yields on two-year and ten-year U.S. Treasury Notes. A wider spread indicates a steeper slope. 

There are two common explanations for upward sloping yield curves. First, it may be that the market is anticipating a rise in the risk-free rate. If investors hold off investing now, they may receive a better rate in the future. Therefore, under the arbitrage pricing theory, investors who are willing to lock their money in now need to be compensated for the anticipated rise in rates—thus the higher interest rate on long-term investments. Another explanation is that longer maturities entail greater risks for the investor (i.e. the lender). A risk premium is needed by the market, since at longer durations there is more uncertainty and a greater chance of events that impact the investment. This explanation depends on the notion that the economy faces more uncertainties in the distant future than in the near term. This effect is referred to as the liquidity spread. If the market expects more volatility in the future, even if interest rates are anticipated to decline, the increase in the risk premium can influence the spread and cause an increasing yield.

The opposite situation can also occur, in which the yield curve is "inverted", with short-term interest rates higher than long-term. For instance, in November 2004, the yield curve for UK Government bonds was partially inverted. The yield for the 10-year bond stood at 4.68%, but was only 4.45% for the 30-year bond. The market's anticipation of falling interest rates causes such incidents. Negative liquidity premiums can also exist if long-term investors dominate the market, but the prevailing view is that a positive liquidity premium dominates, so only the anticipation of falling interest rates will cause an inverted yield curve. Strongly inverted yield curves have historically preceded economic recessions.

The shape of the yield curve is influenced by supply and demand: for instance, if there is a large demand for long bonds, for instance from pension funds to match their fixed liabilities to pensioners, and not enough bonds in existence to meet this demand, then the yields on long bonds can be expected to be low, irrespective of market participants' views about future events.
Assistant: - The market's expectation of the future interest rate. If investors expect a higher interest rate in the future, then the curve would be upward sloping. Otherwise if the market is anticipating a falling interest rate, then the curve would be downward sloping.
- Risk premium. Longer maturities entail greater risks for the investor, thus investors would expect a higher return for longer term investments.
- Supply and demand. If there is a higher demand or lower supply for bonds with a certain maturity, then the yield for those bonds would go down.