document.write( "Question 1201206: In October, the campus bookstore asked a random set of freshmen and seniors how much they had spent on textbooks that semester. The bookstore believes that the two groups spent the same amount. What is an appropriate test value for a z test?\r
\n" ); document.write( "\n" ); document.write( "Sample size: freshmen 50, seniors 60
\n" ); document.write( "Sample mean freshmen $480, seniors $500
\n" ); document.write( "Population std.dev. freshmen $52, seniors $63
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #837543 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
since you know the population standard deviation, i believe you can use the z-score.
\n" ); document.write( "note that the sample size is greater than 30 as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's a refernce on when to use t-score versus when to use z-score.
\n" ); document.write( "https://math.stackexchange.com/questions/1817980/how-to-know-when-to-use-t-value-or-z-value\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "freshmen:
\n" ); document.write( "sample size is 50
\n" ); document.write( "sample mean is 480
\n" ); document.write( "population standard deviation is 52\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "seniors:
\n" ); document.write( "sample size is 60
\n" ); document.write( "sample mean is 500
\n" ); document.write( "population standard deviation is 63\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "standard error of the test is sqrt(52^2/50 + 63^2/60) = 10.964974414.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "mean difference is 20
\n" ); document.write( "standard error is 10.964974414
\n" ); document.write( "z-score is 20 / that = 1.8239947\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "critical z-score for 95% two tailed confidence interval is equal to plus or minus 1.96
\n" ); document.write( "since test z-score is within these limits, the results are not significant and the conclusion is that the means of the two samples are not considered to be different.
\n" ); document.write( "if you want to use p-value, then:
\n" ); document.write( "the two-tailed p-value is .034 * 2 (.034 on the left and .034 on the right) which is equal to .068 which is greater than two tailed critical p-value of .05.
\n" ); document.write( "note that the two tailed critical p-value is divided by 2 to get a p-value of .025 on each end.\r
\n" ); document.write( "\n" ); document.write( "here are the results from the calculator i found at https://www.statskingdom.com/120MeanNormal2.html that confirms these results.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );