How many text messages do twelfth grade students send on ave…
How many text messages do twelfth grade students send on average on a typical day? You think it is around 20 texts a day, but your friend thinks it is more than that. You decide to see if there is significant evidence that twelfth grade students send on average more than 20 texts a day. A random sample of 21 twelfth grade students is taken. The sample mean is 23.26 with a sample standard deviation of 12.68. A boxplot of the data does not have strong skewness or outliers. The hypotheses is as follows: H0: μ = 20 Ha: μ > 20 a. The test statistic is 1.18, what is the p-value? [1] b. For this significance test, you fail to reject H0 and find no significant evidence that the true mean number of texts sent on a typical day by twelfth graders is greater than 20. What type of error could you have made? [2] c. If instead you performed a significance test to see if the true mean number of texts sent a day was different than 20, what level of significance would the 90% confidence interval on the same set of data agree with? [3]
Read DetailsBriefly state in English what the following function f compu…
Briefly state in English what the following function f computes (returns) if we assume argument A is a sorted list of integers and x is an integer. My answer has 6 words. Here’s an example to help you think about the problem: A = [-3, 2, 10, 43, 70, 89, 105]x = 89 def f(A,x): left = 0 right = len(A)-1 while left A[mid]: left = mid+1 return -1
Read Details