Question: The qqnorm function creates a normal probability plot in R. However, it plots the y- axis differently. For this problem, you will create R code

 The qqnorm function creates a normal probability plot in R. However,

The qqnorm function creates a normal probability plot in R. However, it plots the y- axis differently. For this problem, you will create R code that plots the normal probability plot. a) Provide the R code that will create a normal probability plot. Make sure to plot both the line that would be expected under a normal distribution and the points for the data. (Note: You can sort data in R using the 'sort' function.) b) Create data using the following code: Data=rexp (N) The 'rexp' function will provide data that follows an exponential distribution and N is the number of data points. For this problem, use N=150. Create a normal probability plot for these data using your code from part (a). Can this distribution be considered normal? Why or why not? Provide interpretation of the plot. c) Create a histogram of the data. Discuss the histogram in context with your normal probability plot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!