Test Value - Criminal Proceedings

Some defendants in criminal proceedings plead guilty and are sentenced without a trial, whereas others who plead innocent are subsequently found guilty and then are sentenced. In recent years, legal scholars have speculated as to whether sentences of those who plead guilty differ in severity from sentences for those who plead innocent and are subsequently judged guilty. Consider the data given below on defendants accused of robbery, all of whom, by the way, had previous prison records. At the .01 level of significance, do these data suggest that the proportion of all defendants in these circumstances who plead guilty and are sent to prison differs from the proportion who are sent to prison after pleading innocent and being found guilty?