What does prudence, erudition and speculation mean?

You are mistaken. It should be: erudite, questioning, thoughtful, discerning and faithful.

From chapter 20 of the Doctrine of the Mean, "Be knowledgeable, interrogate, think carefully, distinguish clearly and stick to it".

It is about Confucian efforts to improve their studies and cultivate their personality.