document.write( "Question 1195123: The mayor of a community in MA has expressed opposition to having marijuana retail stores in the city. The public may or may not feel differently, and a local polling agency wants to find out. Surveying 580 residents, 310 are in support of allowing a marijuana retail outlet within the city, and 270 are opposed. Based on these data, determine if there is a clear and significant majority viewpoint. \n" ); document.write( "
Algebra.Com's Answer #827564 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
Ho: p=0.5
\n" ); document.write( "Ha: p NE 0.5
\n" ); document.write( "alpha=0.05 (will use that)prob.{reject Ho|Ho true}
\n" ); document.write( "phat=310/580=0.5345
\n" ); document.write( "z=(0.5345-0.500)/sqrt(0.5*0.5/580)
\n" ); document.write( "=0.0345/0.0207
\n" ); document.write( "=1.67
\n" ); document.write( "fail to reject Ho; insufficient evidence to say support is not 50% in the population.
\n" ); document.write( "p-value 0.096
\n" ); document.write( "
\n" ); document.write( "
\n" );