R and Python examples about statistics