In R, please provide the code for the following: Install the EnvStats package and load the library. Use help(varTest) to open the information about the function varTest and read the documentation and notes about using this function Using the precip data set, create a sample of size 20. Use this sample to test if the standard deviation is greater than 15 square miles. Clearly state your hypotheses, rejection rule, and conclusion in your report. Use alpha = 0.05. Compute the population variance of the precip data set (note that the var() function gives the sample variance so you will have to scale it to obtain the population variance). Given this information, what do you think about your test results? Explain any discrepancies or issues that you see.
In R, please provide the code for the following:
-
Install the EnvStats package and load the library.
-
Use help(varTest) to open the information about the function varTest and read the
documentation and notes about using this function
-
Using the precip data set, create a sample of size 20.
-
Use this sample to test if the standard deviation is greater than 15 square miles. Clearly
state your hypotheses, rejection rule, and conclusion in your report. Use alpha = 0.05.
-
Compute the population variance of the precip data set (note that the var() function
gives the sample variance so you will have to scale it to obtain the population variance). Given this information, what do you think about your test results? Explain any discrepancies or issues that you see.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps