What information elements is guessing what's going to happen irl or in a movie/book related to? The obvious answer is Ni, but are there other information elements that could lead people to the same conclusions? Are there types other than Ni egos who are generally good at this?

And what about recognizing patterns in people's behavior and ways of thinking? Obviously this has to be in introverted function (field). Can it be anything other than Ni though?