The problem is that in much of the anglosphere, housing is so scarce that you have to ignore such rules of thumb, or live in the middle of nowhere.
>This analysis is an edge case
>Another crazy edge case
If you ignore edge cases, then you're left with just the median case, and that says that at current price levels, houses aren't worth investing in because they have historically worse returns than stocks, and provide poor diversification.
>Include paying rent in your analysis comparing it with stocks, particularly after you pay it off. You're sinking $X into a rental property with zero return and zero equity gained. I don't have to pay $2000 to the mortgage ever again and I have an asset that has more than doubled in 20 years, and a place to live that is essentially rent/mortgage free for life. That's a lot of dividends comparatively. Also, rents go up, mortgage payments typically don't, so factor inflation in your rent analysis.
This calculator[1] factors everything you listed, and the math doesn't work out for the hottest housing markets. It might work out for Miami or Huston, but not San Francisco or even Albuquerque. Using default assumptions implies a break-even price-to-rent ratio of 14, but most US metros are far above that[2].
The nice thing about the calculator is that if you don't agree with the assumptions, you can plug in your own numbers. I'd like to see what numbers you come up with to make to make the math work out in favor of buying in the top US cities.
[1] https://www.nytimes.com/interactive/2024/upshot/buy-rent-cal...
[2] https://www.sofi.com/learn/content/price-to-rent-ratio-in-50...
>Housing prices are unrelated to an individual losing their job.
The point isn't that a Bay Area housing market will crash because Google Employee #68908 lost his job, it's that if there was an AI winter/tech crash, that will result in Bay Area housing prices dropping, along with layoffs.