Suppose we observe the following random sample of

resaplaha7dl

resaplaha7dl

Answered question

2022-03-31

Suppose we observe the following random sample of size n = 117, sampled from a discrete distribution.
 Value 0123456 Count 32362118622
We would like to test whether this data comes from a Poisson(λ) distribution.
calculate the observed value of the appropriate Goodness of Fit test statistic, used to test the null hypothesis that the observed data is Poisson distributed.
Give answer to three decimal places. Compute the p-value of the observed test statistic you just computed. Give answer to three decimal places.

Answer & Explanation

Aidyn Wall

Aidyn Wall

Beginner2022-04-01Added 10 answers

Chi-Square Test: In statistical hypothesis test, a chi-square test, or specifically Pearson's chi-square test is performed when the test statistic is distributed as chi-square under the null hypothesis. This test is used to determine whether there is a significant difference between the observed and the expected frequencies in one or more categories of a contingency table.
In the standard applications of this test, the observations are classified into mutually exclusive classes. If the null hypothesis is true i.e. there are no significant differences between the classes in the population, the test statistic which is computed from the observations follows a chi-square frequency distribution. The purpose of the test is to determine how likely the observed frequencies would be assuming the null hypothesis is true.
If Oi and Ei be the observed and expected frequency for the ith category, then the chi-square test statistic is given by,
χc2=i(OiEi)2Ei
where c is the degrees of freedom of the chi-square distribution.
Here, the null hypothesis is that the data comes from a Poisson distribution.
So, from the given data, we find the mean of the values.
 Value (x)  Count (f)  xf 0320136362214231854462452106212 Total 117178
Therefore,
χ¯=1Ni=1nχifi=178117=1.52 (rounded to 2 decimal places)
Now, the parameter of the population is λ i.e.
Average = λ = 1.52
Then the probability mass function of the random variable of the value is given by,
P(X=x)=(e1.52(1.52)χχ!),(0):, for χ=0,1,2,
Using this, we calculate the expected frequencies multiplying each probability by the total frequency i.e. 117.
 Value (x)  Observed frequency (Oi) Expected frequency (Ei)(OiEi)2/Ei03225.61.606013638.90.215622129.62.479231815.00.6100465.70.0167521.70.0421620.45.5642 Total 11711710.5337
We have,
χc2=i(OiEi)2Ei
=10.5337 (rounded to 4 decimal places)
The value of the test statistic is 10.534 (rounded to 3 decimal places).
From the chi-square value, we calculate p-value for this test using MS-Excel,
p-value=CHISQ.DIST(chi-square value,n-1,TRUE)
=CHISQ.DIST(10.534,6,TRUE)
=0.896(rounded to 3 decimal places)
Answer: The p-value of the observed test statistic is 0.896.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in College Statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?