Some of this stuff is random, some of this stuff you can make happen, and some is a combination. YC is a combination. They're doing their best to figure out who to pick and you're doing your best to make your company work. Golden rule of being self-employed: NEVER focus on one opportunity or plan. Always have several things going. And be flexible about it.
What's PG say their success rate is? Something like 50%? Sure -- it'd be great to be in a graduating class, but getting into YC is NOT like passing a test. You don't control it and even for the people who do control it, it's a crap shoot. It's more like bumping into some folks in the hall and chatting a bit and giving them your business card. Maybe they'll call. Maybe not. Don't get your hopes on it. How much can you really convey to somebody by bumping into them and chatting in the hall?
Sure, but let's face it, to be "under YC" makes you much more able to hit success, all the other things being the same.
This is not exactly fair, but it's how things work.