Direct and indirect use of maximum likelihood