download the attchment file and solve the following questions:
5.4.5(a, e), 5.4.6(a, d – use the table to respond), 10.3.3, 10.3.7* need Rsudio, 10.3.11*(use ds.10.3.13), 10.3.15, 10.4.3* needs R, 10.4.9.
notice that the second attcahment file is the R codes for problem 10.3.7.
some help with R:
5.4.5 – finding critical values from the chi-square distribution:
qchisq(probability, df, lower.tail = F)
put the probability in first, then the degrees of freedom. lower.tail = F because we always want the right tail with a chi-square distribution.
5.4.6 – make sure you use the table to answer these (see assignment schedule)
10.3.7 – see last canvas message from me, I sent the code out.
10.3.11 – I’ve been telling some of you to do this by hand (which is still my recommendation) because it will be good practice for the test. Use R to get the frequencies, then just calculate expected counts and chi-square statistic by hand. However, here is the code if some of you want to do it that way. Either way will receive credit for doing the problem.
probs = c(.04, .06, .80, .06, .04)
chisq.test(chem$Frequency, p = probs)
10.4.3 – This one is asking for a test for independence. the chisq.test() can do this test, but the data needs to be in a certain format, and its not given to us in that format. There are ways to fix this, but for this one, I would just use R to get the two way contingency table, then calculate expected counts and chi-square statistic by hand.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more