3. (i) Consider the following R code: wilcox.test(UK Supermarkets $Salary ~ UKSupermarkets $Supermarket) (a) Which test is being used in this code? (b) What is the name of the dataset under consideration? How would be adapt this code if we had ties? What other command can be used which deals with ties? (ii) Consider the following R code: install packages("nortest") library(nortest) lillie.test (Differences) (a) Assuming the appropriate dataset has been imported and attached, what is wrong with this code? (b) If this code were to be corrected, what would be determined by run- ning it? [3 Marks]
3. (i) Consider the following R code: wilcox.test(UK Supermarkets $Salary ~ UKSupermarkets $Supermarket) (a) Which test is being used in this code? (b) What is the name of the dataset under consideration? How would be adapt this code if we had ties? What other command can be used which deals with ties? (ii) Consider the following R code: install packages("nortest") library(nortest) lillie.test (Differences) (a) Assuming the appropriate dataset has been imported and attached, what is wrong with this code? (b) If this code were to be corrected, what would be determined by run- ning it? [3 Marks]
Holt Mcdougal Larson Pre-algebra: Student Edition 2012
1st Edition
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Chapter11: Data Analysis And Probability
Section11.2: Box-and-whisker Plots
Problem 1E
Related questions
Question
![3. (i) Consider the following R code:
wilcox.test(UK Supermarkets $Salary ~ UKSupermarkets $Supermarket)
(a) Which test is being used in this code?
(b) What is the name of the dataset under consideration?
How would be adapt this code if we had ties? What other command
can be used which deals with ties?
(ii) Consider the following R code:
install packages("nortest")
library(nortest)
lillie.test (Differences)
(a) Assuming the appropriate dataset has been imported and attached,
what is wrong with this code?
(b) If this code were to be corrected, what would be determined by run-
ning it?
[3 Marks]](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd66c7573-6777-48ff-9bfb-9b3df1a769a6%2F50e4f8a6-dff0-460a-a3fc-6a53cd012f3d%2F89qnvel_processed.jpeg&w=3840&q=75)
Transcribed Image Text:3. (i) Consider the following R code:
wilcox.test(UK Supermarkets $Salary ~ UKSupermarkets $Supermarket)
(a) Which test is being used in this code?
(b) What is the name of the dataset under consideration?
How would be adapt this code if we had ties? What other command
can be used which deals with ties?
(ii) Consider the following R code:
install packages("nortest")
library(nortest)
lillie.test (Differences)
(a) Assuming the appropriate dataset has been imported and attached,
what is wrong with this code?
(b) If this code were to be corrected, what would be determined by run-
ning it?
[3 Marks]
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL

Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill


Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL

Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill


Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,

Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt