Application of probability and statistics in modeling