The idea is you train PHD, after the training, turn off guiding, click the "Brain," check the "disable guide output" checkbox, then start guiding again. Since the guide output is disabled, the star will go all over the place. PHD will measure the deviations, and from that you can measure the periodic error.
A software called PECPrep can be used to analyze the PHD log file. It is important to check the compensate for star declination checkbox when importing the file, and enter the star's declination in the little box, otherwise the periodic error reported will be falsely small.
So here's the periodic error of my CGEM. The CGEM has 180 teeth, so one period of the worm is (86164 seconds / 180) = 479 seconds. 86164 seconds is 1 sidereal day (which is less than the standard day of 86400 seconds)

Under FFT Smoothing I have unchecked all the components except the two major ones. As we can see the biggest component (magnitude 100%) is at a period of 482 seconds. This is the worm fundamental frequency (since it matches the 479 seconds worm period).
The second biggest component (55%) is at 182 seconds. This is the famous CGEM 8/3 component due to the poor-quality gear in the motor. 8/3 = 2.6667, and 479 (fundamental) / 2.6667 = 180 seconds.
The total periodic error is +22 / -20 arc-seconds, or 42" peak-to-peak. Which is huge.
If we un-check the 8/3 component, leaving only the worm fundamental:

we see that the fundamental periodic error (which is solely due to the worm gear) is +14/-15 arc-seconds, , or 29" p-p. A large figure. For reference the typical Mach1 is 7" uncorrected, and the typical AP900 is 3" to 4" uncorrected.
I was able to get an Aeroquest worm from Aeroquest Machining. This is analogous to the Ovision worm for G-11's. Here is the periodic error:

As we can see - the largest component is now the 182-second component!!! the total PE is +21 / -19 arc-seconds, or 40" p-p. Not much of an improvement.
If we un-check the 182-second component, leaving only the 482-second component (which is the worm fundamental) we get this -

The PE is now +8 / -8 arc-seconds or 16" p-p. So in summary the Aeroquest worm is twice as smooth as the stock CGEM worm.
Moral of the story: a good worm cannot overcome the bad 8/3 gear inside the CGEM.
All of this is moot if you auto-guide fast enough. Both the fundamental (479 seconds) and 8/3 (180 seconds) are slow-moving terms, and can be guided out.
If we look at the first screenshot, the "maxRate" is 0.48 arc-seconds / second.
If we want to maintain guiding within 1" (normally our image scale is about 2" to 3") then this means we must guide at a rate no slower than 1 correction every 2 seconds (thus allowing an accumulated drift of 0.48 x 2 = 0.96")
Periodic error correction (PEC) can reduce the fundamental term only - because the 8/3 term is non-integral (2.6667) and not in phase with the fundamental. So for this mount, a good PEC training should reduce the PE to about 22" or so - as the 8/3 motor term is 20". That would halve the PE and allow guiding corrections every 4 seconds, instead of every 2.