document.write( "Question 1192384: The weight in pounds of a random sample of 7 babies were recorded before and after
\n" );
document.write( "taking a certain vitamin syrup for a period of one month.
\n" );
document.write( " a) Construct a 95% confidence interval of the difference of the mean weights.
\n" );
document.write( " b) Is there a significant difference in their weights at 0.05 level?
\n" );
document.write( "before 29 22 25 29 26 24 31
\n" );
document.write( "after 39 26 25 35 33 36 32 \n" );
document.write( "
Algebra.Com's Answer #824297 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Part a)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Hypothesis: \n" ); document.write( "H0: \n" ); document.write( "H1: \n" ); document.write( "This is a two-tailed test.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Given Data
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For each row separately, subtract the values in the order A-B to form a column of differences (d)
\n" ); document.write( "You should get \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The sample size is n = 7 which means the degrees of freedom (df) are \n" ); document.write( "df = n-1 \n" ); document.write( "df = 7-1 \n" ); document.write( "df = 6 \n" ); document.write( "Refer to a T table like this one \n" ); document.write( "https://www.sjsu.edu/faculty/gerstman/StatPrimer/t-table.pdf \n" ); document.write( "Locate the row that has df = 6 \n" ); document.write( "Locate the column that has 0.05 as the two tails \n" ); document.write( "Intersecting the row and column yields the approximate value t = 2.447 \n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now let's compute the margin of error. \n" ); document.write( "E = margin of error\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can then find the lower bound L \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "And the upper bound (U) as well \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The 95% confidence interval in the format (L, U) is roughly (-9.81, -1.62) \n" ); document.write( "Negative values are valid because it represents the idea that the \"after\" weights are larger than the \"before\" ones.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "=====================================================================================\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Part b)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The result of part a) is equivalent to saying we are 95% confident that \n" ); document.write( "In other words, we are 95% confident that the pameter we're after ( \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Is \n" ); document.write( "So it's unlikely that \n" ); document.write( "There appears to be a significant difference in the weights.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This means we'd reject the null and side with the alternative hypothesis to conclude that \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " |