Yield Curve Slope vs Mid Slope

Could anyone explain how to find whether economy is in expansion, late expansion , slowdown etc. by comparing yield curve slope with mid slope?