Question

In: Statistics and Probability

Test if there is a significant difference in house prices for houses with 4 or more...

Test if there is a significant difference in house prices for houses with 4 or more bedrooms, if compared to houses with 3 or less bedrooms. Answer the questions for Assessment. (Pick the closest answer)

1. What is the P-value? a. 0.074081031 b. ​​1.85525E-07 c. 0.002738669 d. 0.000144083

2. What is the Statistical interpretation? a. The P-value is too small to have a conclusive answer. b. The P-value is much smaller than 5% thus we are very certain that house prices are different. c. ​​The P-value is much smaller than 5% thus the answer is inconclusive. d. The P-value is larger than 5% thus the answer is inconclusive.

3. What is the conclusion? a. Statistical interpretation agrees with the intuition: the house prices are different due to the number of bedrooms in the house. b. The statistics does not conform to the intuition that there is a difference in house price since one would expect number of bedrooms changes the house price. c. Since the test is inconclusive the conclusion is inconclusive as well. d. The test does not make statistical sense.

Age   #Bathrooms   #Rooms   #BedRooms   #FirePlaces   sellingPrice in $100000
42   1   7   4   0   4.9176
62   1   7   4   0   5.0208
40   1   6   3   0   4.5429
54   1   6   3   0   4.5573
42   1   6   3   0   5.0597
56   1   6   3   0   3.891
51   1   7   3   1   5.898
32   1   6   3   0   5.6039
32   1   6   3   0   5.8282
30   1   6   3   0   5.3003
30   1   5   2   0   6.2712
32   1   6   3   0   5.9592
32   1   6   3   0   5.6039
50   1.5   8   4   0   8.2464
17   1.5   6   3   0   7.7841
23   1   7   3   0   9.0384
22   1.5   6   3   0   7.5422
44   1.5   6   3   0   6.0931
3   1   7   3   0   8.14
31   1.5   8   4   0   9.1416
42   2.5   10   5   1   16.4202
14   2.5   9   5   1   14.4598
46   1   5   2   1   5.05
22   1.5   7   3   1   6.6969
40   1   6   3   1   5.9894
50   1.5   8   4   1   8.7951
48   1.5   8   4   1   8.3607
30   1.5   6   3   1   12

Solutions

Expert Solution

We ran the t test in R  difference in house prices for houses with 4 or more bedrooms, if compared to houses with 3 or less bedrooms.

1. Load the data into dataset house

2. Filter the selling price with 4 or more bedrooms

x = house$sellingPrice[BedRooms > 3]

3. Filter the selling price with 3 or less bedrooms.

y = house$sellingPrice[BedRooms < 4]

4. Run the t test, to get the P-value

t.test(x,y)

   Welch Two Sample t-test

data: x and y
t = 2.0474, df = 8.1708, p-value = 0.07408
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.3762624 6.5318424
sample estimates:
mean of x mean of y
9.420275 6.342485

The output shows that the P-value is a. 0.074081031

2.

The statistical interpretation is,

b. The P-value is much smaller than 5% thus we are very certain that house prices are different.

3.

Since we reject the null hypothesis and accepted the claim because of low p-value, the conclusion is,

a. Statistical interpretation agrees with the intuition: the house prices are different due to the number of bedrooms in the house.


Related Solutions

Open House_Price data. Test if there is a significant difference in house prices for houses that...
Open House_Price data. Test if there is a significant difference in house prices for houses that are less than 31 years old compared to houses that are 31 years or older. Answer the questions for Assessment. (Pick the closest answer) 1. What is the P-value? a. 0.106390147 b. ​​1.85525E-07 c. ​​0.002738669 d. ​​0.000144083 2. What is the Statistical interpretation? a. The P-value is too small to have a conclusive answer. b. The P-value is much smaller than 5% thus we...
How does the Fisher’s least significant difference test differ from Tukey’s honestly significant difference test? Provide...
How does the Fisher’s least significant difference test differ from Tukey’s honestly significant difference test? Provide examples of when you would use each, and explain the differences between these two post-hoc test.
A study was conducted to examine the difference in house prices in A, B, C and...
A study was conducted to examine the difference in house prices in A, B, C and D. Selling pricing were sampled from four houses in each city. The prices for Cities are given (in thousands of CAD) in the Excel spreadsheet. Based on these data, perform a Kruskal-Wallis test to decide if there is a difference in house prices between these cities. Be sure that you carefully define null and alternative hypotheses. Make your conclusions at the 0.10 significance level....
1. A manager wants to test if there is a significant difference in the variance of...
1. A manager wants to test if there is a significant difference in the variance of the output from two similar machines. It has been determined that the output of the two machines is normally distributed. To carry out the hypothesis test about the population variances, the manager takes random samples from the output of each machine. The results are: Machine 1 Machine 2 1x=128.9 2x=159.5 s1= 6.8 s2= 7.2 n1=13 n2=15 a.)What is the observed value of the appropriate...
Test if there is a significant difference in death by Hurricanes with category 1 and category...
Test if there is a significant difference in death by Hurricanes with category 1 and category 4. Answer the questions for Assessment. (Pick the closest answer) 7. What is the P-value? a. #DIV/0! b. 0.128060089 c. 0.342038086 d. None of these 8. What is the Statistical interpretation? a. The P-value is too small to have a conclusive answer. b. The P-value is too large to have a conclusive answer. c. The P-value is smaller then 5%, thus we are very...
Open Hurricanes data. Test if there is a significant difference in the death by Hurricanes and...
Open Hurricanes data. Test if there is a significant difference in the death by Hurricanes and Min Pressure measured. Answer the questions for Assessment. (Pick the closest answer) 7. What is the P-value? a. #DIV/0! b. 0.384808843 c. 0.634755682 d. None of these 8. What is the Statistical interpretation? a. The P-value is too large to have a conclusive answer. b. The P-value is too small to have a conclusive answer. c. ​​The P-value is much smaller than 5% thus...
1- Test the hypothesis that there is a significant difference between the number of hours older...
1- Test the hypothesis that there is a significant difference between the number of hours older (60 or more) versus younger people watch T.V. Alpha is 05 a) State the assumptions b) State the null and alternate hypotheses c) explain your decision to reject or not reject and formulate your conclusion (Alpha is .05) Show your work. d) what is the mean difference between the two groups? e) what are the lower and upper 95% confidence intervals? f) which group...
Open Hurricanes data. Test if there is a significant difference in death by Hurricanes with category...
Open Hurricanes data. Test if there is a significant difference in death by Hurricanes with category 1 and category 4. Answer the questions for Assessment. (Pick the closest answer) 7. What is the P-value? a. #DIV/0! b. 0.128060089 c. 0.342038086 d. None of these 8. What is the Statistical interpretation? a. The P-value is too small to have a conclusive answer. b. The P-value is too large to have a conclusive answer. c. The P-value is smaller then 5%, thus...
Dr. Xiong, a clinical psychologist, wishes to test the claim that there is a significant difference...
Dr. Xiong, a clinical psychologist, wishes to test the claim that there is a significant difference in a person's adult weight if he is raised by his father instead of his mother. Dr. Xiong surveys five sets of identical twin boys who were raised separately, one by the mother and one twin by the father. Each twin is weighed and identified as having been raised by his mother or his father. The following table lists the results. Do these data...
This data gives the square footage and sales prices for several houses and sales prices for...
This data gives the square footage and sales prices for several houses and sales prices for several houses in Dallas, Texas. Square Footage Value 2000 238139.4 2200 259712 2400 300953.7 3000 369965.7 3200 340091.3 3600 405425 2900 345131 You plan to build a 500-sqaure-foot addition to your house. How much do you think your home value will increase as a result? What percentage of the variation in home value is explained by the variation in the house size? Please set...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT