I don't think I've seen any study that shows a correlation for more injuries inside the pocket or outside. As you say, you often take bigger hits in the pocket, but if you run you are hit 100% of the time (unless you score an uncontested TD I guess) whereas many passes from the pocket occur without getting significant contact.