Forget all this .50 vs .22 vs. 9mm vs. .357 magnum vs. .380 stuff.
For the best protection, just build a pillbox on your roof, get a couple of automatic weapons, and blast anyone that comes near your house.
This would also be a deterrent for the little bastards that throw eggs and toilet paper at your house at Halloween.