NOTE: THIS IS VERY SIMILAR TO ANOTHER PROBLEM THAT\'S ALREADY ANSWERED BUT THE V
ID: 3376062 • Letter: N
Question
NOTE: THIS IS VERY SIMILAR TO ANOTHER PROBLEM THAT'S ALREADY ANSWERED BUT THE VALUES ARE SLIGHTLY DIFFERENT. PLEASE PAY ATTENTION TO THE EXACT VALUES AND THE QUESTION BEING ASKED.
Please write legibly and show all steps.
(5p) A manufacturer of baseball bats selects every 10th bat that comes off the production line and weighs it. The weights (in ounces) from one's day production, in order of time, are shown in below: 31.1 31.7 31.5 31.8 31.6 32.3 32.8 33.1 32.1 32.3 33.1 33.3 33.5 33.6 33.5 33.5 Test for randomness above and below the mean (of these values) at a 5% significance levelExplanation / Answer
> library(randtests)
> x=c(31.1,31.7,31.5,318,31.6,32.3,32.8,33.1,32.1,32.3,33.1,33.3,33.5,33.6,33.5,33.5)
> runs.test(x,threshold = mean(x))
Runs Test
data: x
statistic = 0.37796, runs = 3, n1 = 1, n2 = 15, n = 16, p-value = 0.7055
alternative hypothesis: nonrandomness
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.