Equal...omg.....F-16 would be all over an 18. Thank god we never had to use it in a real war.
They both have advantages and disadvantages, air combat isn't a video game like you think it is where you look up some specs on top speed or climb rate and pronounce one aircraft as far superior.
F-18 has lower RCS, and better low speed handling especially AoA than F-16. Which aircraft defeats the other head-to-head depends on a lot of variables including pilot ability, situational awareness going into the fight, and even a bit of luck.
Pilots being equal f-18 loses more than it wins.
Now, put the fight over water. The F-18 always tries to drag the fight over water where HE has the advantage. The F-14 had to do the same thing. What a seasoned pilot does is to get you to play his game. That's how he got to be a seasoned in the first place.
And the F-18 wins enough against first class fighters. Just like the F-14 lost to our F-15s from time to time in exercises as well. The only thing that proved was that was the F-15 had a different radar and could locate the F-14 from a higher incident rate while the F-14 had a narrow band and could see further. The F-14 was designed to tangle with Bear Bombers and didn't need to locate fighters that were spaced out. The F-18 radar isn't the narrow cone that the F-14 is. The F-18 is designed to see those spread out fighters. In today's world, the F-18 is the superior fighter over the F-18. Just remember, that's a lot of tonnage that the F-14 is having to sling around from side to side.