Chi-square test for independence of attributes.
Is sentence Independent of Plea? Many people believe that criminals who plead guilty tend to get lighter sentences than those who are convened in trials. The accompanying table summarizes randomly selected sample data for San Francisco Defendants in burglary cases. All of the subjects and prior prison sentences. Make use of a 0.05 significance level to test the claim that the sentence is independent of the plea. IF you were an attomey defending a guilty defendant, would these results suggest that you should encourage a guilty plea?
|
Guilty Plea
|
Not Guilty Plea
|
Sent to prison
|
392
|
58
|
Not Sent to prison
|
564
|
14
|