The absolute WORST case scenario is to be a white male driver 18 or younger. Each individual adjective in that sentence that you change will lower your rate.
As an example, with age groups, a Class A ticket given to an 18 year old will affect their rates much more than the same ticket given to a 22 year old. Insurance companies usually lower yearly rates depending on age. My insurance rate dropped very slightly when I hit 19, then again a little bit more when I hit 22, then dropped quite a bit when I hit 26. Different companies have different ages but most follow a pretty similar routine.
If the only difference between 2 drivers is that one is male and one is female, the female will have a slightly lower insurance rate. Their rate will be affected less by a ticket than the male's would getting the same ticket, too.
Being young and male pretty much fucks you by itself.