document.write( "Question 1193649: Matt thinks that he has a special relationship with the number 2. In particular, Matt thinks that he would roll a 2 with a fair 6-sided die more often than you'd expect by chance alone. Suppose p is the true proportion of the time Matt will roll a 2.\r
\n" ); document.write( "\n" ); document.write( "Now suppose Matt makes n = 50 rolls, and a 2 comes up 11 times out of the 50 rolls. Determine the P-value of the test:
\n" ); document.write( "

Algebra.Com's Answer #825687 by math_tutor2020(3835)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "p = population proportion of the number of times '2' shows up\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If we assume each of the six sides are equally likely, then p should be p = 1/6 since one side is labeled '2' out of 6 sides total.
\n" ); document.write( "The one-sample proportion test aims to check that claim. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hypotheses:
\n" ); document.write( "H0: \"p+=+1%2F6\"
\n" ); document.write( "H1: \"p+%3E+1%2F6\"
\n" ); document.write( "The claim is in the alternative hypothesis (H1) because Matt thinks he would roll a '2' more often than expected.
\n" ); document.write( "The inequality sign in the alternative hypothesis determines that we have a right-tailed test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = number of times a '2' shows up = 11
\n" ); document.write( "n = number of rolls = 50\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "phat = sample proportion that estimates p
\n" ); document.write( "phat = x/n
\n" ); document.write( "phat = 11/50
\n" ); document.write( "phat = 0.22\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SE = standard error
\n" ); document.write( "SE = sqrt(phat*(1-phat)/n)
\n" ); document.write( "SE = sqrt(0.22*(1-0.22)/50)
\n" ); document.write( "SE = 0.058583 which is approximate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "z = test statistic
\n" ); document.write( "z = (phat - p)/SE
\n" ); document.write( "z = (0.22 - 1/6)/0.058583
\n" ); document.write( "z = 0.91038924830298
\n" ); document.write( "z = 0.910389 which is also approximate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now use a calculator such as this one
\n" ); document.write( "https://onlinestatbook.com/2/calculators/normal_dist.html
\n" ); document.write( "to find that P(Z > 0.910389) = 0.1813 approximately
\n" ); document.write( "Recall that we're doing a right-tailed test, so this determines which portion we're shading under the curve. Specifically, we're shading to the right of z = 0.910389 and that area is roughly 0.1813\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "At the common alpha values of things like alpha = 0.05 and alpha = 0.10, the p-value of 0.1813 means we would fail to reject the null. We would conclude that p = 1/6 is indeed the case unless stronger evidence comes along to have us overturn the null. You only reject the null if the p-value is smaller than alpha.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: The p-value is approximately 0.1813
\n" ); document.write( "
\n" ); document.write( "
\n" );