If, following an increase in real income, less of the good is purchased, then the good is an inferior good.
Inferior goods have a negative YED.
When real incomes are rising during a period of economic growth, then demand for inferior goods will fall causing an inward shift of the demand curve.
When real incomes are falling during a period of recession or more generally, if wages are rising more slowly than prices, then market demand for inferior goods will rise