Use R-Studio
Dr. Spock Problem "In 1968, Dr. Benjamin Spock was tried in United States District Court of Massachusetts in Boston on charges of conspiring to violate the Selective Service Act by encouraging young men to resist being drafted into military service for Vietnam. The defense in that case challenged the method by which jurors were selected, claiming that women many of whom had raised children according to the popular methods developed by Dr. Spock (he was a pediatrician) were underrepresented. In fact, the Spock jury had no women The Spock defense pointed to the venire Gury pool) for their trial, which contained only one woman. That woman was released by the prosecution, making an all-male jury. Defense argued that the judge in the trial had a history of venires in which women were systematically underrepresented, contrary to the law. They compared this district judge's recent venires with the venires of six other Boston are district judges. The percentage of women in those venires are presented in the dataset." [Ramsey,F. L. and Schafer, R. (2013). The Statistical Sleuth 3". Boston, MA: Brooks/Cole, p. 117 You may access the data using the following code install.packages ("Sleuth3") library("Sleuth3") data (case0502,package- "Sleuth3") attach (case0502) case0502 e. Use 1m) to construct a hypothesis to test whether there is any difference in women's representation among the judges. What is each row of the output estimating? Are there any similarities between your results from part b. and part e.? f. Using the formulas for SSTotal, SSG and SSE presented in class and their corresponding df, to construct the ANOVA table. g. Address the first question with a linear contrast of interest. State the meaning of your contrast. Test the statistical significance of the contrast. You may use the following code to extract MSE from the anova table: MSE-summary (your model name goes here)"Mean Sq" 11211 h. Address the second question at -0.05. Report your results and interpret the outcome