The CAESAR II approach to friction does not involve a random variable that can be anticipated/predicted by its probabilities (stochastic).
I would call it trial and error (but there is some randomness in the solution).
Initially, the program assumes the friction force will prevent the pipe from sliding so a pair of friction restraints, perpendicular to each other and the restraint defined with friction, are included in the model. If the load on these friction restraints is greater than mu*N, the pipe will slide and another iteration is required to evaluated that (i.e., the model was not correct at this point). On the next iteration, we know the normal load for the friction restraint and, from those friction restraints, we know the direction the pipe wanted to move. So, replace the friction restraints with a force vector of mu*N and apply it against the current slide direction. This next iteration, confirms that the friction load magnitude and direction are consistent with the current assumptions (within a specified tolerance); if not, another iteration is required. These iterations continue until all supports work together successfully.
CAESAR II does not necessarily calculate the "true" response of each nonlinear pipe position, but it does reach a possible solution for this family of nonlinear conditions. Maybe this is your stochastic reference point.
By the way, I will be presenting a webinar on nonlinear conditions in CAESAR II on 27 March (2018). You may want to attend. This is an updated re-do of a similar presentation from November 2014. Register here:
Failure to Launch