Question

In: Statistics and Probability

[R code] A <- c(117.1, 121.3, 127.8, 121.9, 117.4, 124.5, 119.5, 115.1) B <- c(123.5, 125.3,...

[R code]
A <- c(117.1, 121.3, 127.8, 121.9, 117.4, 124.5, 119.5, 115.1)
B <- c(123.5, 125.3, 126.5, 127.9, 122.1, 125.6, 129.8, 117.2)
I want to test whether Machine B makes more precise measurements than Machine A. Adjust the center locations of the samples to be equal using the median values of the two samples, and then test(Ansari-Bardley test) at a significance level of 0.05. Thank you :)

Solutions

Expert Solution

Solution

A <- c(117.1, 121.3, 127.8, 121.9, 117.4, 124.5, 119.5, 115.1)
> B <- c(123.5, 125.3, 126.5, 127.9, 122.1, 125.6, 129.8, 117.2)
> test=ansari.test(A, B,alternative="greater",exact = NULL, conf.int = FALSE, conf.level = 0.95)
> test

   Ansari-Bradley test

data: A and B
AB = 35, p-value = 0.4587
alternative hypothesis: true ratio of scales is greater than 1

Since p-value > 0.05 we conclude that variance are equal for both mmachine.

# We will use  Wilcoxon rank sum test or Mann Whitnney U test to check  test whether Machine B makes more precise measurements than Machine A based on median.

wilcox.test(A,B,alternative = "greater")

   Wilcoxon rank sum test

data: A and B
W = 13, p-value = 0.981
alternative hypothesis: true location shift is greater than 0

Since p-value = 0.981 > 0.05 so we conclude that Machine B and Machine A same in precise measurement.


Related Solutions

V=[(a b), a,b E R+] with (a1 b1)+(a2 b2)=(a1a2 b1b2)and for c E R, c(a b)=(a^c...
V=[(a b), a,b E R+] with (a1 b1)+(a2 b2)=(a1a2 b1b2)and for c E R, c(a b)=(a^c b^c) is a vector space over R. Define T:R^2 to V by T[a b]= (e^a e^b). prove T is a linear transformation from R2 to V.
Let the schema R = (A,B,C) and the set F = {A → B,C → B}...
Let the schema R = (A,B,C) and the set F = {A → B,C → B} of FDs be given. Is R in 3NF? Why or why not?
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if...
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if and only if ad=bc. (a) Show that R is an equivalence relation. (b) What is the equivalence class of (1,2)? List out at least five elements of the equivalence class. (c) Give an interpretation of the equivalence classes for R. [Here, an interpretation is a description of the equivalence classes that is more meaningful than a mere repetition of the definition of R. Hint:...
For the relation R(A,B,C,D,E) with the following Functional Dependencies: A → B, A → C, BC...
For the relation R(A,B,C,D,E) with the following Functional Dependencies: A → B, A → C, BC → D, AC → E, CE → A, list all non-trivial FDs following from the above.    Generate all possible keys for R. Check whether R is in 3NF. If it is in 3NF, explain the criteria you used. If it is not in 3NF, convert it into 3NF, showing the new relations and their FDs.
Consider the class C of all intervals of the form (a, b), a, b ∈ R,...
Consider the class C of all intervals of the form (a, b), a, b ∈ R, a < b and ∅. Show that C is closed under finite intersections but not under complementations or unions. Hint: to show closure of finite intersections, it is enough to prove closure for intersections of 2 sets.
Let L = {x = a r b s c t | r + s =...
Let L = {x = a r b s c t | r + s = t, r, s, t ≥ 0}. Give the simplest proof you can that L is not regular using the pumping lemma.
1. ¬B∨(G↔J), H→(B&C) ∴(H&J)→G 2. A∨B, C↔¬(B∨D) ∴C→A 3. (A&B) ↔ (F→G), (A&F) & B∴(G→R)→R 4....
1. ¬B∨(G↔J), H→(B&C) ∴(H&J)→G 2. A∨B, C↔¬(B∨D) ∴C→A 3. (A&B) ↔ (F→G), (A&F) & B∴(G→R)→R 4. T→¬B, T→¬D ∴ T→¬(B∨D) 5. ¬(M∨¬S), S→(R→M) ∴A → (¬R∨T) 6. (F&G) → I, (I∨J) → K ∴F→(G→K) 7. ¬U, O→G, ¬(O∨G) →U ∴G Prove that the arguments are valid by constructing a dedication using the rules MP, MT, DN, Conj, Simp, CS, Disj, DS, DM, CP, HS, BE, and DL. Use CP if needed.
APPLIED STATISTICS 2 PLEASE USE R, SHOW R CODE AND OUTPUT, with conclusion Let x<-c(1,2,3,4,5,6,7,8), y<-c(4,6,3,7,8,3,9,...
APPLIED STATISTICS 2 PLEASE USE R, SHOW R CODE AND OUTPUT, with conclusion Let x<-c(1,2,3,4,5,6,7,8), y<-c(4,6,3,7,8,3,9, 6.5). By vector operation (other method will get 0 point), find a). the equation of regression line, that is, find a, b. b). Find SSR, SSE c). Find F-value d). Find p-value e). Make your decision, that is, answer the question, can we say y and x have linear relationship at alpha=0.05?.
What is the boiling point of water? a) 100 °F b) 671.67 °R c) 373 °C d) 212 °r
What is the boiling point of water? a) 100 °F b) 671.67 °R c) 373 °C d) 212 °r
Work out the products of the matrices E, R, R^2,R^3, A, B, C, D, and verify...
Work out the products of the matrices E, R, R^2,R^3, A, B, C, D, and verify that these products reproduce the multiplication table for the symmetries of the square, as expected. (Instead of computing all 64 products, compute “sufficiently many” products, and show that your computations suffice to determine all other products.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT