While it's not to say Skywalker wouldn't stand a chance, the duel between Yoda and Anakin would be close. In the end, though, Yoda would be the ultimate victor if he fought Anakin in Star Wars' Revenge of the Sith.
again… One of the main reasons why Yoda would've won against Anakin is simply because he was far better trained than him. Yoda could see the moves his opponents were going to make before they made them; therefore, battling against Anakin would've put him at a far heavier advantage.
Evidence for ROTS Anakin > Yoda (in the force)
Sidious then confirms that Anakin is 'far' more powerful.
Yoda will most likely win in a fight against Darth Vader because he is more skilled with a lightsaber and has the experience and feats that allow him to trim whatever size and strength advantage Darth Vader has over him. In fact, Yoda nearly defeated Palpatine, something that Vader could never do.
Jedi Master Yoda is the most powerful of them all. This should come as no surprise, as he was the head of the Jedi Order in the prequels and was revered for his abilities during the original trilogy. Yoda's power is unmatched and was a real threat to Darth Vader and the Imperials.
Infil'a put up a fierce fight against Vader, almost killing him by throwing the already damaged Sith Lord off of a cliff. Despite severe damage to his suit, Vader survived the fall, and repaired himself with parts from Infil'a's droid, Arex.
This ensured that the Sith could hone their skills in secret without fear of betrayal from rival Sith factions. More cunning and devious than all but the most attuned Force-sensitive beings, Darth Bane could more than likely defeat Yoda in a battle of both strength and wit.
Yoda's Duel With Palpatine Called for a Strategic Shake-Up
Yoda claims that the light side of the Force is stronger than the dark, but his battle against Palpatine is almost equal. The Sith Lord's powers were enough to overwhelm the Jedi and send him plummeting down to the depths of the senate chamber.
Master Yoda has risen above all others to claim the top spot as the most powerful Jedi of all time and the true chosen one according to IGN's audience. He won pretty handily as well, as he was victorious in 89,756 of his 95,243 battles and had a win percentage of 94.2%.
In Star Wars Legends and Canon, Galen Marek (Starkiller) is the only Jedi (other than Obi-Wan Kenobi) to put a beat down on Darth Vader/Anakin Skywalker.
By the time of Episode 3; Anakin is in his prime, and already one of the Jedi Order's most powerful “masters” (although technically still a knight), just behind Obi-Wan, Windu, and Yoda. Maul wouldn't stand a chance.
On the other hand, Luke has shown greater control over the Force and has always been the more disciplined of the two Skywalkers. So, while there's a good chance that Anakin would win in a fair lightsaber battle, we can't count Luke out because we know he was just as strong or even stronger than his father.
Mace Windu failed in his mission to arrest Palpatine in Star Wars: Episode III - Revenge of the Sith, but Yoda may well have fared better. As powerful as Darth Sidious may have been, it's easy to forget he actually seemed afraid of Master Yoda.
Palpatine admits to Darth Vader that the Jedi he actually feared most was none other than Jocasta Nu.
Master Yoda failed Anakin Skywalker in Star Wars: Episode II — Attack of the Clones, and it resulted in the destruction of the Jedi Order. Master Yoda is one of the most revered characters in the Star Wars universe, and for good reason, but he ultimately failed in stopping the rise of the Sith.
The Force: As the Chosen One, Vader was immensely powerful and had an amazingly strong connection to the Force, stronger than any Force-user ever in existence. He also possessed the potential to according to Obi-Wan Kenboi become the most powerful light and dark side Force-Sensitive being in the history of the galaxy.
Kylo and Rey (Daisy Ridley) also blasted the Imperial Crusier open trying to Force pull the Lightsaber away from each other, so clearly, Kylo Ren is an extremely strong Force-wielder. Nonetheless, it can be said that Darth Vader is the more powerful master of the Force for one key reason: his temperament.
6 Strongest Jedi He Killed: Tsui Choi
Of the six Jedi Masters and two Jedi Knights who congregated, Tsui Choi was by far the strongest, something made all too clear when one of the Jedi leaked their location to Lord Vader to set an ambush for him.