New research shows it’s 40% more expensive to buy than rent as home sales and mortgage rates increase.