completed relative distribution part in methods.Rnw