Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Making inferences about p using RStudio. Before making the decision to introduce a new version of Coke (New Coke) in 1985, the Coca-Cola company
Making inferences about p using RStudio. Before making the decision to introduce a new version of Coke (New Coke) in 1985, the Coca-Cola company introduced New Coke to approximately 400 consumers in 30 cities in the USA. With the brands not identified, 226 chose New Coke over the old version (Old Coke). Assume that this was a random sample of the population. Use a hypothesis test to find out if there was evidence that US consumers prefer New Coke to Old Coke. Note that you don't need to upload any data here, only the above information is required for input. The goal of this question is to guide you through the steps involved when we calculate the P-value by hand. TIP! In a different context, you may want to use the prop. test function. You can use the prop. test function without the continuity correction here to check your answer since it essentially gives the same answer you would get by hand. Also, RStudio reports P-values in scientific notation. It uses an "e" as the exponent that separates the base number with how many decimal places are moved to the right. For example, 0.002 can be written as 2e-3, or 2 x 10-. Similarly, 2.63e-06 is actually 2.63 x 10 = 0.00000263. But always take note if the question asks for rounding, for example, 2.63e-06 rounded to two decimal places would be equal to 0.00 but it would be 2. 6e-06 if the question asks to round to 2 significant figures (and if the question says at least x decimal places or at least y significant figures, then you do not have to round at all). (0) Preliminary work: Understanding the story and the notations The notations are the ones used in the MATH1041 lecture slides, refer to those if you need. In the boxes below, enter either a number or Zoom: 67% own if the quantity is unknown a) Pobs = 0.565 b) PO 157
Step by Step Solution
★★★★★
3.30 Rating (150 Votes )
There are 3 Steps involved in it
Step: 1
The detailed ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started