Probabilistic index models