An algorithm for generating chi random variables

An algorithm is presented for generating random variables from the chi family of distributions withdegrees of freedom parameter LY 2 1. It is based on the ratio of uniforms method and can be usedeffectively for the gamma family.