Question: Determine the P-value of the hypothesis test performed in Problem 10. Data from Problem 10 The Web site zillow.com allows us to research real estate

Determine the P-value of the hypothesis test performed in Problem 10.

Data from Problem 10

The Web site zillow.com allows us to research real estate listings. One neat feature of the site is the “Zestimate,” which represents the price Zillow believes the property should sell for. If the Zestimate is accurate, the median difference between the actual selling price and the Zestimate should be zero. The following data represent the difference between the actual selling price and Zestimate for a random sample of 10 real estate transactions. Do the data suggest the Zestimate is inaccurate? Use the a = 0.05 level of significance.

-79,500 -13,500 2500 -500 -500 14,500 3,500 |-1000 -6000 -12,500


We can use the P-value approach when determining whether or not to reject the null hypothesis regarding a median by using the sign test. Recall that the P-value is the probability of observing a test statistic as extreme or more extreme than what was actually observed, under the assumption that the null hypothesis is true.

In the sign test, we assume that the median is M0, so 50% of the data should be less than M0 and 50% of the data greater than M0. So we expect half of the data to result in minus signs and half of the data to result in plus signs. We can think of the data as a bunch of plus and minus signs that follow a binomial probability distribution with p = ½ if the null hypothesis is true. So the P-value is computed from the binomial probability formula, with X = k and n equal to the number of plus and minus signs:

P-value = P(X ≤ k) = nCk0.5k(1 - 0.5)n-k + nCk-10.5k-1(1 - 0.5)n-(k-1) + ∙ ∙ ∙ + nC0(1 - 0.5)n

For Example 1 in this section, the P-value is

P-value = P(X ≤ 8) = 20C8 ∙ 0.58 ∙ (1 - 0.5)20-8 + 20C7 ∙ 0.57 ∙ (1 - 0.5)13 + ∙ ∙ ∙ + 20C0(1 - 0.5)20 = 0.2517

Because the P-value is greater than the level of significance, a = 0.05, we do not reject the null hypothesis. These binomial probabilities are easiest to compute with statistical software or a graphing calculator with advanced statistical features.

-79,500 -13,500 2500 -500 -500 14,500 3,500 |-1000 -6000 -12,500

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Pvalue P X k P X 3 calc... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Statistics Informed Decisions Questions!