Sentencing data shows that in the past five years nearly three out of every four under-18s convicted of rape avoided immediate custody.