They are based on similar concepts surrounding perception. Our expectancy influences how we perceive a stimulus. For example, if you're reading a book about rabbits and there's a typo where a rabbit is written as rabbi instead, you may miss this and continue to read it as rabbit as this is what you expect to be written in the book.