It's not guaranteed, but it almost certainly raises the odds. The YC "brand" and investor exposure is quite valuable on its own, even independent of any other benefits.
Pretty sure I read about at least a few million automatically on demo day, depending on the startup my guess is getting up to 10 in the year following is not a bad bet. I suppose someone whould have to crunch the numbers.