If you live in Philadelphia, stock is indeed better than real estate if ignoring equivalent rent. Now I understand Shiller's point a little better.
But in places where appreciation is low, rent yield is close to 10%. If rent inflation is really low, stocks might be better than real estate.
You should be happy that you did not live in Philadelphia.
Will Philadelphia, Chicago and other Midwestern cities revive in the next decade?