Statistical trial generator