I have been stopped for speeding scads of times.
I have never gotten a single speeding ticket. Ever.
I was guilty every single time.
When an officer stops you, he has two main concerns. He is concerned about his safety. He has no idea who you are, what your attitudes are, what your temperament is like, and, if you are armed, whether you are a LAC or a criminal. He is also concerned about being treated respectfully, as a person and as a LEO who is just doing his job. He knows that he has just made your day a lot worse and that some people will not react well to that at all.
If you assuage the officer's concerns, he is much more likely to give you a warning and let you go.
I always have the window down already when the officer steps up to it. My hands are already holding my license, insurance, and registration, are on top of the steering wheel, are visible, and are otherwise obviously empty. There is a smile on my face. I greet the office politely with something like, "Good morning, sir." I am contrite and willing to be lectured by the officer. After all, he is right. I broke the law.
I am convinced that my answering the officer's top two concerns--by making him feel safe and by respecting the tough task he is having to perform--has greatly increased the probability that I won't get a ticket each stop. There is no guarantee that this will work every time because, when you are stopped, you are not in control of the situation. However, you can heavily influence the situation with a little wisely placed civility.