nce to determine if there is a relationship. Less than 5 weeks 5-14 weeks tation 84 112 ation 50 55 cial 89 105

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Find test value and p-score.

Is the length of time of unemployment related to the type of industry? A random sample of unemployed
workers from three different work sectors yielded the following data. Perform a hypothesis test at 0.10
level of significance to determine if there is a relationship.
Less than 5 weeks
5-14 weeks
15-26 weeks
Transportation
84
112
83
Information
50
55
45
Financial
89
105
114
What are the expected numbers? (round to 3 decimal places)
Less than 5 weeks
5-14 weeks
15-26 weeks
Transportation
Information
Financial
Transcribed Image Text:Is the length of time of unemployment related to the type of industry? A random sample of unemployed workers from three different work sectors yielded the following data. Perform a hypothesis test at 0.10 level of significance to determine if there is a relationship. Less than 5 weeks 5-14 weeks 15-26 weeks Transportation 84 112 83 Information 50 55 45 Financial 89 105 114 What are the expected numbers? (round to 3 decimal places) Less than 5 weeks 5-14 weeks 15-26 weeks Transportation Information Financial
Expert Solution
Step 1

Let A and B be the two attributes divided into r and s classes respectively. Then, to test whether the attributes A and B are independent or not, following procedure will be followed:

Let oij is the observed frequency for contingency table category in column i and row j and eij is the corresponding expected frequency for contingency table category in column i and row j.

Null hypothesis: the attributes A and B are independent.

Alternative hypothesis: the attributes A and B are not independent.

Test statistics: χ2=i=1rj=1soij-eij2eij

The expected frequency is calculated as eij=ri×cjN. N is total frequency. Here, ri and cj are ith row total and jth column total and χ2 follows chi-square distribution with (r-1)(s-1) degree of freedom. Now compute the p-value associated with the calculated χ2 value at given level of significance and degree of freedom, we will accept or reject the hypothesis.

steps

Step by step

Solved in 5 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman