Q.7

Question

Birds in the trees Researchers studied the behavior of birds that were searching for seeds and insects in an Oregon forest. In this forest, 54% of the trees were Douglas firs, 40% were ponderosa pines, and 6% were other types of trees. At a randomly selected time during the day, the researchers observed 156 red-breasted nuthatches: 70 were seen in Douglas firs, 79 in ponderosa pines, and 7 in other types of trees.2 Do these data suggest that nuthatches prefer particular types of trees when they’re searching for seeds and insects? Carry out a chi-square goodness-of-fit test to help answer this question. 

Step-by-Step Solution

Verified
Answer

From the given information, We cannot reject the null hypothesis because the chi-square value is relatively insignificant, thus we conclude that there is no significant difference between the observed and expected pea count. In other words, after performing the chi-square goodness of fit test, we can conclude that Mendel's prediction is correct.

1Step 1: Given Information

It is given in the question that, In this forest, 54% of the trees were Douglas firs, 40% were ponderosa pines, and 6% were other types of trees. At a randomly selected time during the day, the researchers observed 156 red-breasted nuthatches: 70 were seen in Douglas firs, 79 in ponderosa pines, and 7 in other types of trees.

2Step 2: Explanation

Given: n=156

Let us assume: α=0.05

The null hypothesis states that the population proportions are equal to the mentioned proportions: 

H0:p1=54%          =0.54,

H0:p2=40%           =0.4,

H0:p3=6%           =0.06

The alternative hypothesis states the opposite of the null hypothesis: 

Ha: At least one of the pi's is different.

The expected frequency E is the product of the sample size  n and the probabilities pi

    E1=np1     =156×0.54     =84.24

    E2=np2     =156×0.4     =62.4

    E3=np3     =156×0.06     =9.36

The squared differences between the actual and predicted frequencies, divided by the expected frequency, make up the chi-square subtotals.

3Step 3: Explanation

The value of the test statistic is then the sum of the chi-square subtotals: χ2=(OE)2E    =(7084.24)284.24+(7962.4)262.4+(79.36)29.36    =7.4182 

The degree of freedom is the number of categories decreased by  1.

  df=c1    =31    =2

4Step 4: Explanation

The P-value is the probability of obtaining the value of the test statistic, or a value more extreme. The P-value is the number (or interval) in the column title of the chi-square distribution table in the appendix containing the X2-value in row d f=2

0.01<P<0.05

If the P-value is less than or equal to the significance level, then the null hypothesis is rejected: 

P<0.05RejectH0

There is sufficient evidence to support the claim that nuthatches prefer particular types of trees.