Expected Frequency Squared Difference Squared Difference Divided by Expected Observed Difference Category Frequency fij - eij (fj – @;)² ej Frequency (-60)2 : 3,600 3,600 A 20 80 20 – 80 = -60 80 В 160 80 80 C 20 40 400 10 The sum of the final column will be the x test statistic. Thus, the test statistic is x %3D There are k = 3 categories, so the degrees of freedom is k – 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
icon
Related questions
Question
100%
Step 2
The x test statistic for a goodness of fit follows where f; is the observed frequency for category i, e;
expected frequency for category i, and k is the number of categories. The appropriate x has k
is the
1 degrees of
freedom.
k
= (f, - e)?
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 – e;)²
eij
fij - eij
(fj – @j)²
fj
eij
Frequency
(-60)2
3,600
3,600
A
20
80
20
80 = -60
%D
80
В
160
80
80
20
40
400
10
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 =
Cubri4
Cli
Transcribed Image Text:Step 2 The x test statistic for a goodness of fit follows where f; is the observed frequency for category i, e; expected frequency for category i, and k is the number of categories. The appropriate x has k is the 1 degrees of freedom. k = (f, - e)? 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 – e;)² eij fij - eij (fj – @j)² fj eij Frequency (-60)2 3,600 3,600 A 20 80 20 80 = -60 %D 80 В 160 80 80 20 40 400 10 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 = Cubri4 Cli
(a) Use the p-value approach.
A goodness of fit test will be conducted for the following hypotheses. This type of test is always an upper tail
test. The p-value approach will be used, meaning that the given level of significance, a =
0.01, will be
compared to the area under the curve to the right of the calculated test statistic.
0.40, PB = 0.40, and
= 0.20
Ho:PA
H: The population proportions are not pa = 0.40, pB = 0.40, and pc
Pc
= 0.20.
The goal of the hypothesis test is to determine if the observed proportions are significantly different from the
given proportions. A sample size of 200 yielded 20 in category A, 160 in category B, and 20 in category C.
Assuming the hypothesized proportions are true, then the expected frequencies in each category will be the
product of the hypothesized proportions and the sample size.
expected frequency = category proportion(sample size)
The proportion for category A is assumed to be 0.40. Use the sample size of 200 to find the expected
frequency for this category, ea•
expected frequency
category proportion(sample size)
%D
CA =
0.40
0.40 (200)
80
80
The proportion for category B is assumed to be 0.40. Use the sample size of 200 to find the expected
frequency for this category, eg.
expected frequency
category proportion(sample size)
eB =
0.40
0.40 (200)
80
80
The proportion for category C is assumed to be 0.20. Use the sample size of 200 to find the expected
frequency for this category, ec:
expected frequency
category proportion(sample size)
%D
ec = (0.20
0.20
)(200)
40
40
Transcribed Image Text:(a) Use the p-value approach. A goodness of fit test will be conducted for the following hypotheses. This type of test is always an upper tail test. The p-value approach will be used, meaning that the given level of significance, a = 0.01, will be compared to the area under the curve to the right of the calculated test statistic. 0.40, PB = 0.40, and = 0.20 Ho:PA H: The population proportions are not pa = 0.40, pB = 0.40, and pc Pc = 0.20. The goal of the hypothesis test is to determine if the observed proportions are significantly different from the given proportions. A sample size of 200 yielded 20 in category A, 160 in category B, and 20 in category C. Assuming the hypothesized proportions are true, then the expected frequencies in each category will be the product of the hypothesized proportions and the sample size. expected frequency = category proportion(sample size) The proportion for category A is assumed to be 0.40. Use the sample size of 200 to find the expected frequency for this category, ea• expected frequency category proportion(sample size) %D CA = 0.40 0.40 (200) 80 80 The proportion for category B is assumed to be 0.40. Use the sample size of 200 to find the expected frequency for this category, eg. expected frequency category proportion(sample size) eB = 0.40 0.40 (200) 80 80 The proportion for category C is assumed to be 0.20. Use the sample size of 200 to find the expected frequency for this category, ec: expected frequency category proportion(sample size) %D ec = (0.20 0.20 )(200) 40 40
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Point Estimation, Limit Theorems, Approximations, and Bounds
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.
Similar questions
  • SEE MORE QUESTIONS
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