Linear transformation of random variables