Butter a 9 x 13-inch baking dish and set it aside.
Wash, peel, and slice 3 pounds sweet potatoes (about 5 large sweet potatoes) into ½-inch thick rounds.
Place the sweet potatoes in the buttered baking dish and set them aside.
In a medium saucepan over medium heat, combine 8 tablespoons (1 stick) salted butter, ½ cup packed brown sugar, ½ teaspoon ground cinnamon, and ¼ teaspoon ground nutmeg.
Heat the mixture, stirring frequently, until the butter is melted and the sugar has dissolved. Remove the saucepan from the heat and stir in ½ teaspoon vanilla extract.
Pour the butter and sugar mixture over the sweet potatoes and use a wooden spoon to stir the sweet potatoes and make sure each potato slice is coated in the syrup.
Cover the pan with foil and bake the yams in the preheated oven for 30 minutes.
After 30 minutes, remove the foil from the pan, carefully spoon some of the cooking syrup over the yams, and continue cooking the yams, uncovered, for an additional 20 to 25 minutes, or until the sweet potatoes can be easily pierced with a fork and the cooking liquid is syrupy.
Allow the candied yams to cool for about 10 minutes and enjoy!