The x2 test statistic for a goodness of fit follows where f, is the observed frequency for category i, e, is the expected frequency for category i, and k is the number of categories. The appropriate x2 hask - 1 degrees of freedom. k x2 |- 1
The x2 test statistic for a goodness of fit follows where f, is the observed frequency for category i, e, is the expected frequency for category i, and k is the number of categories. The appropriate x2 hask - 1 degrees of freedom. k x2 |- 1
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
100%

Transcribed Image Text:The x? test statistic for a goodness of fit follows where f, is the observed frequency for category i, e, is the
expected frequency for category i, and k is the number of categories. The appropriate x? has k - 1 degrees of
freedom.
x² =
(f, - e)?
%3D
i = 1
The observed and expected frequencies are summarized in the table below.
Expected
Frequency
Squared
Difference
Squared Difference
Divided by Expected
Observed
Difference
Category
Frequency
fj - ej
(f - e,)?
Frequency
e
3,600
A
(-60)? :
20
80
20 - 80 = -60
= 3,600
80
B
80
80
100
40
3,600
90
The sum of the final column will be the x test statistic. Thus, the test statistic is x?
=
There are k = 3 categories, so the degrees of freedom is k - 1
Enter an exact number.
Expert Solution

Step 1
The complete table is,
Category |
Observed |
Expected |
Difference |
Squared Difference |
Squared Difference Divided by Expected Frequency |
A | 20 | 80 | -60 | ||
B | 80 | 80 | 0 | 0 | |
C | 100 | 40 |
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman