In a home invasion I would have thought the last thing you would want is a gun. If you're in the US, then the invader likely has a gun, so if you also have a gun then you're giving them a pretty good incentive to shoot you. If you don't then you might get robbed, but home insurance will cover that.