Some applications of genetic algorithms to statistical inference