Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help . Using R studio Part 1: A hypothesis test with dice You will need to obtain 2 six-sided dice, which you will roll
Please help . Using R studio
Part 1: A hypothesis test with dice
You will need to obtain 2 six-sided dice, which you will roll 25 times (for a total of 50 outcomes). The point values for the dice are as follows: a 1 is worth 5 points; a 2 or 3 are worth 10 points; a 4 or 5 are worth 6 points; a 6 is worth 8 points.
- You need to create vector of your results. To make this faster, use the rep function inside your vector. For example,rep(8, 4)will repeat the value 10 four times, which would mean you rolled 6 four times.
- After tallying your points, compute your sample mean and sample standard deviation points. You may find it helpful to put your data into a vector for R. (You will report these values in the worksheet.)
- You need to test the claim that H0H0: 66.. Use the code
t.test(x,alternative = "greater",mu=6)
- (This assumes your vector of values is labeled x). Save the p-value for the test.
Questions
1. State your sample mean points and sample standard deviation of points.
2. Based on your summary statistics, is the given hypothesis test well posed? Explain.
3. Can we reject H0, based on the p-value? Explain.
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