Question

In: Statistics and Probability

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.

Data given below:

B A C D
289 488 518 524
512 496 506 504
408 505 525 575
494 502 522 582

Solutions

Expert Solution

First, all the data needs to be put together in one column as shown below:

Sample Value
1 488
1 496
1 505
1 502
2 289
2 512
2 408
2 494
3 518
3 506
3 525
3 522
4 524
4 504
4 575
4 542

Now, the data needs to be organized in ascending order by value (keeping track of what sample the values belongs to). The results are shown below:

Sample Value (In Asc. Order)
2 289
2 408
1 488
2 494
1 496
1 502
4 504
1 505
3 506
2 512
3 518
3 522
4 524
3 525
4 542
4 575

Now, we need to assign ranks to the values that are already organized in ascending order. Make sure that take the average of ranks in case of rank ties (Ex. If two values shared the first place in the list, instead of assigning rank 1 and rank 2 to them, assign rank 1.5 to both) The following ranks are obtained:

Sample Value (In Asc. Order) Rank Rank (Adjusted for ties)
2 289 1 1
2 408 2 2
1 488 3 3
2 494 4 4
1 496 5 5
1 502 6 6
4 504 7 7
1 505 8 8
3 506 9 9
2 512 10 10
3 518 11 11
3 522 12 12
4 524 13 13
3 525 14 14
4 542 15 15
4 575 16 16

In order to compute the sum of rank for each sample, it is easier to organize the above table by samples. The following is obtained:

Sample Value Rank (Adjusted for ties)
1 488 3
1 496 5
1 502 6
1 505 8
2 289 1
2 408 2
2 494 4
2 512 10
3 506 9
3 518 11
3 522 12
3 525 14
4 504 7
4 524 13
4 542 15
4 575 16

With the information provided we can now easily compute the sum of ranks for each of the samples:

R1 = 3 + 5 + 6 + 8 = 22

R2 = 1 + 2 + 4 + 10 = 17

R3 = 9 + 11 + 12 + 14 = 46

R4 = 7 + 13 + 15 + 16 = 51

(1) Null and Alternative Hypotheses

The following null and alternative hypotheses need to be tested:

Ho: The samples come from populations with equal medians

Ha: The samples come from populations with medians that are not all equal

The above hypotheses will be tested using the Kruskal-Wallis test.

(2) Rejection Region

The combination of sample sizes does not allow to find a critical value for this Kruskal-Wallis test, please try increasing the sample sizes. Please consult with a Kruskal-Wallis test to check which combinations of sample sizes lead to meaningful critical values.


Related Solutions

. A study was conducted to examine the correlation between number of study hours and students...
. A study was conducted to examine the correlation between number of study hours and students grads in exam. Study hours for students: 2, 3, 5, 6, 8, 10, 10, 2, 5, 6, 5, 3, 7, 6, 2, 7, 6, 8, 2, 5 Grads in exam for students: 3, 4, 6, 7, 8, 10, 9, 8, 3, 6, 5, 4, 6, 6, 3, 7, 6, 3, 4, 5 1- as ungrouped data find the frequency, accumulated relative frequency, and accumulative...
. A study was conducted to examine the correlation between number of study hours and students...
. A study was conducted to examine the correlation between number of study hours and students grads in exam. Study hors for students: 2, 3, 5, 6, 8, 10, 10, 2, 5, 6, 5, 3, 7, 6, 2, 7, 6, 8, 2, 5 Grads in exam for students: 3, 4, 6, 7, 8, 10, 9, 8, 3, 6, 5, 4, 6, 6, 3, 7, 6, 3, 4, 5 1- as ungrouped data find the frequency, accumulated relative frequency, and accumulative...
PROBLEM 5 – HOUSING PRICES Situation: Real Estate One conducted a recent survey of house prices...
PROBLEM 5 – HOUSING PRICES Situation: Real Estate One conducted a recent survey of house prices for properties located on the shores of Tawas Bay. Data on 26 recent sales, including the number of bathroom, square feet and bedrooms are below. Selling Price Baths Sq Ft Beds 160000 1.5 1776 3 170000 2 1768 3 178000 1 1219 3 182500 1 1568 2 195100 1.5 1125 3 212500 2 1196 2 245900 2 2128 3 250000 3 1280 3 255000...
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...
A study was conducted to determine if there was a difference in the humor content in...
A study was conducted to determine if there was a difference in the humor content in British and American trade magazine advertisements. In an independent random sample of 270 American trade magazine advertisements, 56 were humorous. An independent random sample of 203 British trade magazines contained 52 humorous ads. Do these data provide evidence at the 0.05 significance level that there is a difference in the proportion of humorous ads in British versus American trade magazines? State the null and...
A research study was conducted to examine the impact of eating a high protein breakfast on...
A research study was conducted to examine the impact of eating a high protein breakfast on adolescents' performance during a physical education physical fitness test. The students were randomly selected and half received a high protein breakfast and half a low protein breakfast. All of the adolescents, both male and female, were given a fitness test with high scores representing better performance. Test scores are recorded below. Group High Protein Low Protein Males 9 8 8 10 7 8 7...
A research study was conducted to examine the impact of eating a high protein breakfast on...
A research study was conducted to examine the impact of eating a high protein breakfast on adolescents' performance during a physical education physical fitness test. The students were randomly selected and half received a high protein breakfast and half a low protein breakfast. All of the adolescents, both male and female, were given a fitness test with high scores representing better performance. Test scores are recorded below. Group High Protein Low Protein Males 9 8 8 10 7 8 7...
A study was conducted to examine whether the perception of service quality at hotels differed by...
A study was conducted to examine whether the perception of service quality at hotels differed by gender. Hotel guests were randomly selected to rate hotel service, and each rating was then transferred into a standardized score. By comparing the scores observed from the sample of male guests and the sample of female guests, researchers then wished to determine if there is evidence of a difference in average rating when awarded by males, μ 1, and the average rating when awarded...
Background An American College conducted a study in the early 2000 to examine if there were...
Background An American College conducted a study in the early 2000 to examine if there were any gender pay gaps[1] in its four schools: Business, Health, Liberal Studies and Sciences. Data were collected of a sample of 199 academics on their annual salary, years of service, rank, school, gender and age. The data file: Faculty Salary (Research Report Dataset).xlsx is available on Blackboard. A small portion of the data is shown below: Faculty ID Age Years of Service Rank School...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT