A political scientist is studying the impact of a political…

A political scientist is studying the impact of a political debate between candidates for governor in small western states. The scientist wants to evaluate the proportion of registered voters who switch their preference after viewing the debate. The following table contain the data from 75 registered voters. PreferenceBefore Debate PreferenceAfter Debate Total(Before Debate) Candidate A  Candidate B Candidate A  30 11 41 Candidate B 4 30 34 Total(After Debate) 34 41 75 We are interested in testing whether lower proportion of people like candidate A after the debate compared to the proportion of people who liked candidate A before the debate. the test statistic and the p-value are given as:

Employers want to know which days of the week employees have…

Employers want to know which days of the week employees have the highest num- ber of absences in a five-day work week. Most employers would like to believe that employees are absent equally during the week. Suppose a random sample of 60 managers are asked on which day of the week they had the highest number of employee absences. The results are recorded in the table below.  Day of the week Monday Tuesday Wednesday Thursday Friday Observed Frequency 15 11 10 9 15 At the 5% significance level, do we have enough evidence to suggest that the day of the week with the highest number of absences occur with equal frequency during a five-day work week.

Suppose the user enters 243.3 at the prompt “Enter quantity:…

Suppose the user enters 243.3 at the prompt “Enter quantity: “. What is the output of the following code? int quantity = 0;try {     System.out.print(“Enter quantity: “);     quantity = sc.nextInt();}catch (InputMismatchException e) {     sc.next();     System.out.println(“Error! Invalid quantity. Try again.\n”);     continue;}

Students learn subjects from instructors. For example, Stude…

Students learn subjects from instructors. For example, Student John Doe learns Chemistry from Dr. Kimmel. This means that each student could be in zero or several classes (taught by several instructors and on several subjects); Each instructor might be teaching zero or several classes (for several students and on several subjects); and each subject might be in several classes (taught by several instructors and attended by several students. Which of the following diagrams correctly represents this?