Hello. You did not present the examples, which makes it impossible for pairs to be formed. However, I will try to help you in the best possible way, telling you the meaning of each one.
An example is something that aims to explain a situation, making it clearer and pointing out how it can be applied in a given situation. Ex: An example of an adjective and the word "cheerful" in the phrase "Moses is cheerful" because the word "cheerful" shows a characteristic of Moses.
An analogy is the transfer of meaning between two elements that have some relation or similarity. Ex: Love is like a ball. When we have it, we kick it.
An anecdote is a very small story, with humorous humor and with the aim of presenting a story quickly and in a comical way.