document.write( "Question 1209020: genetic experiment with peas resulted in one sample of offspring that consisted of 447 green peas and 158 yellow peas.
\n" ); document.write( "a. Construct a 95% confidence interval to estimate of the percentage of yellow peas
\n" ); document.write( "

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

\n" ); document.write( "x = number of yellow peas = 158
\n" ); document.write( "n = sample size = 447 green + 158 yellow = 605 total.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "phat = sample proportion of yellow peas
\n" ); document.write( "phat = x/n
\n" ); document.write( "phat = 158/605
\n" ); document.write( "phat = 0.26115702 approximately
\n" ); document.write( "Around 26.12% of the peas in the sample are yellow.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "At 95% confidence, the z critical value is roughly z = 1.960
\n" ); document.write( "This is a value to memorize since it comes up a lot in statistics.
\n" ); document.write( "Or this value is something you would look up in a textbook, reference sheet, or website.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "E = margin of error for a proportion
\n" ); document.write( "E = z*sqrt(phat*(1-phat)/n)
\n" ); document.write( "E = 1.960*sqrt(0.26115702*(1-0.26115702)/605)
\n" ); document.write( "E = 0.03500300\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "L = lower boundary of the confidence interval
\n" ); document.write( "L = phat - E
\n" ); document.write( "L = 0.26115702 - 0.03500300
\n" ); document.write( "L = 0.22615402
\n" ); document.write( "L = 0.226\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "U = upper boundary of the confidence interval
\n" ); document.write( "U = phat + E
\n" ); document.write( "U = 0.26115702 + 0.03500300
\n" ); document.write( "U = 0.29616002
\n" ); document.write( "U = 0.296\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The 95% confidence interval in the format L < p < U is approximately 0.226 < p < 0.296\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This can be condensed to (0.226, 0.296)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It indicates we are 95% confident that the population proportion of yellow peas is somewhere between 22.6% and 29.6%
\n" ); document.write( "
\n" ); document.write( "
\n" );