Question

In: Statistics and Probability

1. Chi-squared :      X Y Row Marginals A: 60, 30, 90 B: 18, 40, 58 Column...

1. Chi-squared :

     X Y Row Marginals

A: 60, 30, 90

B: 18, 40, 58

Column Marginal: 78, 70, 140

Solutions

Expert Solution

Solution:

Here, we have to use chi square test for independence of two categorical variables.

Null hypothesis: H0: Column and row variables are independent.

Alternative hypothesis: Ha: Column and row variables are not independent.

We assume level of significance = α = 0.05

Test statistic formula is given as below:

Chi square = ∑[(O – E)^2/E]

Where, O is observed frequencies and E is expected frequencies.

E = row total * column total / Grand total

We are given

Number of rows = r = 2

Number of columns = c = 2

Degrees of freedom = df = (r – 1)*(c – 1) = 1*1 = 1

α = 0.05

Critical value = 3.841459

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Observed Frequencies

Column variable

Row variable

X

Y

Total

A

60

30

90

B

18

40

58

Total

78

70

148

Expected Frequencies

Column variable

Row variable

X

Y

Total

A

47.43243

42.56757

90

B

30.56757

27.43243

58

Total

78

70

148

Calculations

(O - E)

12.56757

-12.5676

-12.5676

12.56757

(O - E)^2/E

3.329868

3.710425

5.167037

5.757556

Chi square = ∑[(O – E)^2/E] = 17.96489

P-value = 0.0000225

(By using Chi square table or excel)

P-value < α = 0.05

So, we reject the null hypothesis

There is sufficient evidence to conclude that Column and row variables are not independent.


Related Solutions

Given the following table: Probability X Y 20% 15% 30% 60% 25% 18% 20% 30% 20%...
Given the following table: Probability X Y 20% 15% 30% 60% 25% 18% 20% 30% 20% Calculate a) the covariance of X and Y, and b) the correlation coefficient. Select one: a. a) -20.64% b) -0.90 b. a) -20.18% b) -0.88 c. a) -17.89% b) -0.78 d. a) -19.20% b) -0.84 e. a) -18.35% b)-0.80
Determine y’, a, and b for the following data: x 0 20 40 60 80 100...
Determine y’, a, and b for the following data: x 0 20 40 60 80 100 120 140 160 180 y 0.01 0.12 0.24 0.38 0.51 0.67 0.84 1.01 1.15 1.31 a)calculate the 0.95 confidence intervals for α and β. b)test to see if a relationship between x and y exists. c)determine the 0.95 confidence limits when x = 90 for: i. α + βx ii. Any one y’ d)determine the 0.95 confidence limits when x = 200 for: i.....
Given the data {20, 20, 30, 30, 40, 40, 50, 50, 60, 60}, calculate 1. Gini...
Given the data {20, 20, 30, 30, 40, 40, 50, 50, 60, 60}, calculate 1. Gini coefficient using the quintile distribution. 2. Draw the Lorenz curve with proper labels.
46 42 37 52 58 36 75 72 90 65 78 80 56 40 48 60...
46 42 37 52 58 36 75 72 90 65 78 80 56 40 48 60 58 76 82 75 38 48 86 88 75 65 45 80 68 47 62 75 56 85 44 70 75 64 67 72 For the data set distribution of Salaries of the employees                                               Arrange in an array (ascending order) Evaluate the mean, the median, the mode, the skew, the average deviation the standard deviation and the interquartile range. Group, on a new...
use the following contingency table a b c total 1 15 30 45 90 2 40...
use the following contingency table a b c total 1 15 30 45 90 2 40 45 50 135 total 55 75 95 225 a. compute the expected frequency for each cell b. compute x^2stat. is it significant at a=0.01
Calculate the correlation coefficient​ r, letting Row 1 represent the​ x-values and Row 2 the​ y-values....
Calculate the correlation coefficient​ r, letting Row 1 represent the​ x-values and Row 2 the​ y-values. Then calculate it​ again, letting Row 2 represent the​ x-values and Row 1 the​ y-values. What effect does switching the variables have on​ r? Row 1 18 20 36 48 52 66 75 Row 2 118 110 206 200 141 171 202 Calculate the correlation coefficient​ r, letting Row 1 represent the​ x-values and Row 2 the​ y-values. requals Calculate the correlation coefficient​ r,...
Stock Price # Shares X Y Z X Y Z Jan. 13, 1999 25 40 30...
Stock Price # Shares X Y Z X Y Z Jan. 13, 1999 25 40 30 1000 2000 1000** Jan. 14, 1999 25 42 7 1000 2000 5000 Jan. 15, 1999 27 42 8 1000** 2000 5000 Jan. 16, 1999 14 44 10 2000 2000 5000 *5:1 Split on Stock Z after Close on Jan. 13, 1999 **2:1 Split on Stock X after Close on Jan. 15, 1999 WHAT IS THE PRICE WEIGHTED INDEX ON JANUARY 13TH What is the...
1. The probability of event A is 60%, the probability of event B is 40%, and...
1. The probability of event A is 60%, the probability of event B is 40%, and the probability of either A or B is 65%. What is the probability of events A and B simutaneously? 2. 50% of items are Type A, 30% are Type B, and 20% are Type C. each type is broken up into V1 and V2. Type A is 80% V1, Type B is 60% V1, and Type C is 30% V1. If a randomly selected...
A lamina occupies the part of the rectangle 0≤x≤40≤x≤4, 0≤y≤30≤y≤3 and the density at each point...
A lamina occupies the part of the rectangle 0≤x≤40≤x≤4, 0≤y≤30≤y≤3 and the density at each point is given by the function ρ(x,y)=3x+7y+4ρ(x,y)=3x+7y+4. A. What is the total mass? B. Where is the center of mass?
f(x,y)=30(1-y)^2*x*e^(-x/y). x>0. 0<y<1. a). show that f(y) the marginal density function of Y is a Beta...
f(x,y)=30(1-y)^2*x*e^(-x/y). x>0. 0<y<1. a). show that f(y) the marginal density function of Y is a Beta random variable with parameters alfa=3 and Beta=3. b). show that f(x|y) the conditional density function of X given Y=y is a Gamma random variable with parameters alfa=2 and beta=y. c). set up how would you find P(1<X<3|Y=.5). you do not have to do any calculations
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT