Probabilistic modeling for clickstream analysis