I find it rather odd when someone writes that an item was used "in prediction" of 'X', however I don't know whether that is my own preference or it's actually incorrect. Personally, I think that 'for' is much more appropriate.
To illustrate my point, here is an example of a sentence and how I would correct it:
1 : "Y is a risk factor in predicting cancer recurrence"
2 : "Y is a risk factor for predicting cancer recurrence"
I feel both sentences convey the same point, but "in predicting" just sounds weird to me; I prefer option 2. Is there are difference between 1 and 2, or am I just being picky?