A] We use run test to conclude that data points are random or not .
We use library randtest in R to compute run test So make sure you install it by downloding from cran or use command install.packages("randtest") to install it.
R scipt for run test:
x=c(68.2,71.6,69.3,71.6,70.4,65,63.6,64.7,65.3,64.2,67.6,68.6,66.8,67.9,66.7,70.1)
library(randtests)
runs.test(x,alternative = "two.sided")
Out put: statistic = -1.0351, runs = 7, n1 = 8, n2 = 8, n = 16, p-value = 0.3006 alternative hypothesis: nonrandomness
Conclusion: Here p value of run test statistics is 0.3006 which is > alpha=0.05. So we accept null hypothesis that is sample are randoms. ( i.e there is no evidance that sample are not random )
B] Wilcoxon signed -rank test to test wheather median score of sample population is less than 68oz.
R script for wilcoxon singed- rank test:
x=c(68.2,71.6,69.3,71.6,70.4,65,63.6,64.7,65.3,64.2,67.6,68.6,66.8,67.9,66.7,70.1)
library(stats)
wilcox.test(x=1:100, mu = 68,alternative = "greater")
Out put: V = 56.5, p-value = 0.7326 alternative
hypothesis: true location is greater than 68
Conclusion: Here p value of wilcoxon singed rank test is 0.7326 so we accept null hypothesis that sample population median is less than 68.
C] Following assumption are necessary for wilcoxon singed test used in B]
this test does not required normality assumption only assumption required is randomness in sample.
A quality control engineer developed a control chart to maintain the weights of family size ketchup...
HELP ME WITH THIS STATISTICS QUESTION, DONE IIN R
PROGRAMMING.
A quality control engineer developed a control chart to maintain the weights of family size ketchup bottle (desired population median weight is 68 oz). Weights (in ounces) of 16 bottles taken at randomly selected times from the production process are as follows (data displayed in order of time of the selection): 68.2, 71.6, 69.3, 71.6 , 70.4, 65, 63.6, 64.7, 65.3, 64.2, 67.6, 68.6, 66.8,67.9, 66.7, 70.1 (a) (3 points)...
A quality control chart has been maintained for the weights of
paint cans taken from a conveyor belt at a fixed point in a
production line. Sixteen (16) weights obtained today, in order of
time, are as follows:
Use the run test, at approximately a 0.01 level, to determine
whether the weights of the paint cans on the conveyor belt deviate
from randomness. Show your steps. If using a program, use R.
64.7 32 1693150 ,MI 653 642 GYS, 68S,...
gold ($/oz) Y
copper (cents/lb) X1
silver ($/oz) X2
Aluminum (cents/lb) X3
161.1
64.2
4.4
39.8
308
93.3
11.1
61
613
101.3
20.6
71.6
460
84.2
10.5
76
376
72.8
8
76
424
76.5
11.4
77.8
361
66.8
8.1
81
318
67
6.1
81
368
66.1
5.5
81
448
82.5
7
72.3
438
120.5
6.5
110.1
382.6
130.9
5.5
87.8
Statistics 11 Homework 9 Due Wednesday, Nov. 20 Metals.jmp lists the yearly average price of gold, copper, silver, and aluminum....
answer what is blank!
- 9 of 10 IDI MIST.HT.TH.02.0060a 16 points] Batteries R Us is a manufacturer of batteries and are testing a new production technique for the most popular battery type. It is known that the mean lifetime of these batteries made using the previous production technique was 66 hours. The standard deviation in battery lifetime is 5.7 hours and it is assumed that this has not changed. They would ke to know whether mean battery time has...