Question

In: Statistics and Probability

2. Take data sets A and B and delete duplicated values such that each value is...

2. Take data sets A and B and delete duplicated values such that each value is unique even when pooling the two data sets. Just like with the previous problem, treat data sets A and B as hypothetical data on the weights of children whose parents smoke cigarettes, and those whose parents do not respectively.

a) Calculate the expected value of the wilcoxon Rank-Sum test statistic E(Wx) assuming the null hypothesis of equal medians being true.

b) Conduct a Wilcoxon-Rank-Sum test on the data

Note: Data set A - 12.36, 12.39, 12.44, 12.50, 12.61, 12.80,12.82, 12.87, 12.89, 12.95, 13.25

Data set B - 12.41, 12.56, 12.61, 12.64, 12.70, 12.85, 13.05, 13.08

Solutions

Expert Solution

b)

First, we put both samples together and organize it in ascending order, which is shown in the table below:

Sample Value
1 12.36
1 12.39
2 12.41
1 12.44
1 12.50
2 12.56
1 12.61
2 12.61
2 12.64
2 12.70
1 12.80
1 12.82
2 12.85
1 12.87
1 12.89
1 12.95
2 13.05
2 13.08
1 13.25

Now, that the values that are in ascending order are assigned ranks to them, taking care of assigning the average rank to values with rank ties

Sample Value Rank Rank (Adjusted for ties)
1 12.36 1 1
1 12.39 2 2
2 12.41 3 3
1 12.44 4 4
1 12.50 5 5
2 12.56 6 6
1 12.61 7 7.5
2 12.61 8 7.5
2 12.64 9 9
2 12.70 10 10
1 12.80 11 11
1 12.82 12 12
2 12.85 13 13
1 12.87 14 14
1 12.89 15 15
1 12.95 16 16
2 13.05 17 17
2 13.08 18 18
1 13.25 19 19

The sum of ranks for sample 1 is:

R1 ​= 1+2+4+5+7.5+11+12+14+15+16+19 = 106.5

and the sum of ranks of sample 2 is:

R2​ = 3+6+7.5+9+10+13+17+18 = 83.5

Hence, the test statistic is R = R1​=106.5.

(1) Null and Alternative Hypotheses

The following null and alternative hypotheses need to be tested:

H0​: Median (Difference) = 0

H1: Median (Difference) ≠ 0

(2) Rejection Region

The critical value for the signficance level provided and the type of tail is Rc ​= 46, and the null hypothesis is rejected if R ≤ 46.

(3) Decision about the null hypothesis

Since in this case R = 106.5 > 46, there is not enough evidence to claim that the population median of differences is different than 0, at the 0.05 significance level.


Related Solutions

Construct a 95% confidence interval for data sets A and B. Data sets A and B...
Construct a 95% confidence interval for data sets A and B. Data sets A and B are dependent. Assume that the paired data came from a population that is normally distributed, and round your final answer to three decimal places. setA: 30 28 47 43 31 setB: 28 24 35 35 22 A) What is the mean of the differences( )? B) What is the standard deviation of the differences( )? C) What is the critical t-value( )? D) What...
Given two sets of data, A and B. i) Data set A has an r value...
Given two sets of data, A and B. i) Data set A has an r value of -.81 and data set B has an r value of .94 Describe the differences between the two data sets as completely as you can using the regression information we have learned. ii) Which linear regression equation, the one for A or the one for B, would probably be a better predictor? Why?
Each value in the data set is called a ? .    Variables whose values are...
Each value in the data set is called a ? .    Variables whose values are determined by chance are called ? . A Blank 1 consists of all subjects (human or otherwise) that are being studied.    A Blank 1 is a circle that is divided into sections or wedges according to the percentage of frequencies in each category of the distribution.    Tell whether Descriptive or Inferential Statistics has been used. In the upcoming election, it is predicted...
Question 2: For each of the following data sets, classify into the following, and give a...
Question 2: For each of the following data sets, classify into the following, and give a brief explanation for each choice: i. Quantitative or Qualitative ii. Discrete or Continuous iii. Nominal, Ordinal, Interval, or Ratio a) Low temperature on the day of the winter solstice at a certain location, in °C, over 20 consecutive years. b) Number of years, out of the last 20 years, when the low temperature on the day of the winter solstice was below 0 °C,...
Write a program in Java that will take as input two sets A and B, and...
Write a program in Java that will take as input two sets A and B, and returns a list of all functions from A to B.
data sets A and B are depwndent. fondthr critical value to test the claim, M=0. use...
data sets A and B are depwndent. fondthr critical value to test the claim, M=0. use alpha= .02. A.   6.2.     7.4.     9.3.    6.3.   6.4 B.   3.6.     2.5.      3.4.   2.3.   3.7
Averages and variation Consider two data sets A and B. The sets are identical except the...
Averages and variation Consider two data sets A and B. The sets are identical except the high value of the data set B is three times greater than the high value of data set A. (a) How does the median of the two data sets compare? (b) How do the means of the two data sets compare? (c) How do the standard deviations of the two data sets compare? (d) How do the box- and –whisker plots of the two...
Using values from the Appendix of Thermodynamic data, calculate the value of H° for each of...
Using values from the Appendix of Thermodynamic data, calculate the value of H° for each of the following reactions. (a) 3 Fe(s) + 4 CO2(g) 4 CO(g) + Fe3O4(s) H° = 13.6 Correct: Your answer is correct. kJ (b) CH4(g) + 4 Cl2(g) CCl4(l) + 4 HCl(g) H° = 308.6 Incorrect: Your answer is incorrect. kJ (c) Fe2O3(s) + 3 CO(g) 2 Fe(s) + 3 CO2(g) H° = 24.8 Incorrect: Your answer is incorrect. kJ (d) 4 NH3(g) + O2(g)...
Data sets for the question below Data Set G: Assume the population values are normally distributed....
Data sets for the question below Data Set G: Assume the population values are normally distributed. Random variable: x = weight of border collie in pounds sample size = 25 34.1 40.8 36.0 34.9 35.6 43.4 35.4 29.3 33.3 37.8 35.8 37.4 39.0 38.6 33.9 36.5 37.2 37.6 37.3 37.7 34.9 33.2 36.2 33.5 36.9 Use Excel (or similar software) to create the tables. Then copy the items and paste them into a Word document. The tables should be formatted...
2. (a) Find the values of a and b such that the eigenvalues of A =...
2. (a) Find the values of a and b such that the eigenvalues of A = |a 1 are 2 and -5. (b) Find the values of a, b and c such that the eigenvalues of A = | 0 1 0 | 0 0 1 | a b c are 3, -2, and 5. b 1|
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT