Pam's disco dancing is somewhat erratic (9)
I believe the answer is:
spasmodic
'somewhat erratic' is the definition.
'spasmodic' can be an answer for 'erratic' (thesaurus). I am not certain of the 'somewhat' bit.
'pam's disco dancing' is the wordplay.
'dancing' indicates an anagram.
'pams'+'disco'='pamsdisco'
'pamsdisco' anagrammed gives 'SPASMODIC'.
'is' is the link.
Can you help me to learn more?
(Other definitions for spasmodic that I've seen before include "Occurring in irregular bursts" , "fitfully" , "Done in short bursts" , "Occasional" , "Done in brief irregular bursts" .)