I have seen many A-10's miss with the gun and lots of F-15E's hit.
F-15 gun is optimised for air-to-air (shells fired with an upwards trajectory), meaning it has to take a nose-down attitude when firing at close ranges - not ideal when flying at high speed and low level.
Everything about the A-10 is optimised for air-to-ground - no compromises.