Some rounds will be more accurate than others for a few reasons...
1) some guns just seem to prefer one load over another. I had a 1911 that loved 5.2 grains of 231 and hated 5.6 grains of 231. Something about the extra bit of speed seemed to really destablize the bullet. No good explanation available. At 5.2 I could reasonably expect to shoot in to an inch at ten yards every time. At 5.6, maybe six inches. It wasn't me, it was the load and that gun didn't like it.
2) some manufacturers will meter powder far more carefully than others. Black Hills might meter their charges down to a tenth of a grain or less. Wolf might vary half a grain, who knows? I have seen mags of Wolf that went BANG bang pop BANG!!! bang BANG pop BANG.
However...by far the biggest factor is you. Unless you have a freak load/gun combo, there's a pretty good chance that at 7 yards, 2" groups are always going to be there for you.
Dial in your stance, grip, and trigger press and the rest is cake.
What does a dialed-in stance, grip and press look like?
Stance: feet a little more than shoulder width apart. Some guys will have one foot slightly ahead of the other, the so-called "combative" stance. I do this a bit for various reasons; it's not really necessary though. Weight on balls of feet. Knees bent. Shoulders rolled forward. Arms straight out. Lean forward. The gun will recoil back; get yourself solidly planted so that the recoil won't move you. Have someone shove you backwards; if you stay firmly planted, you're all set.
Grip: Maximum contact with the gun. With your strong hand, bury the tang of the gun in your web. Get high on the gun. Solid grip but not a death grip that makes you shake. Weak hand/left hand/other strong hand/### hand, stick your arm straight forward and thumb straight up. Now rotate your wrist until your fingers are pointing down at 45 degrees. Wrap that around your strong hand. Both your thumbs should be pointing forward. Yes it's uncomfortable. Shut up and get used to it.
Trigger press: smooth and zen'd right out. Balance an empty case on your front sight. When you can dry fire the gun without moving the brass, you're all set.
Sight alignment: Front sight. Front sight. Front sight. Focus on the front sight. You want equal sized light bars on either side of it and the top of the front sight aligned with the top of the rear.
Sight picture...varies a bit. M&P, probably a drive-the-dot situation. Dot on target = hole where dot was.
Useful tip: lock in the sights on a target and have someone else put their hand over yours and press the trigger. I did this recently for someone who couldn't make decent hits; turns out that with me on the trigger they were deadly accurate. Therefore: sight alignment was great; but a questionable trigger press. Solution: several hours of dry fire. Result: shooter now pretty good.
You go with that advice and think things through as you go, you will shoot well in a fairly short amount of time. You will hear some people say things like "maybe that gun doesn't fit you" or "get a .22".
That's why it's important to learn to shoot well...you need to kill those people.