Determine the P-value of the hypothesis test performed in Problem 10. Data from Problem 10 The Web
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 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.
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.
DistributionThe word "distribution" has several meanings in the financial world, most of them pertaining to the payment of assets from a fund, account, or individual security to an investor or beneficiary. Retirement account distributions are among the most...
Step by Step Answer:
Statistics Informed Decisions Using Data
ISBN: 9780321757272
4th Edition
Authors: Michael Sullivan III