Disorder and critical phenomena through basic probability models