Question
1.Consider the data set below. mydata
1.Consider the data set below.
mydata<-c(4, 5, 7, 9, 10, 12, 14, 16, 18, 23, 28, 33, 53, 77)
Enter the data into R (you can copy the command above, and paste it into R).
The quantile plot command is :qqnorm(mydata).Is this data set normally distributed?
What does the shapiro.test(mydata) command tell you?(Null hypothesis of this test is that the dataset you give it comes from a normal distribution).
If you conclude above that mydata is not normally distributed, then apply a log transform:
mydata2<-log(mydata)
and assess whether mydata2 is normally distributed with the Shapiro test.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started