Final answer:
The test statistic can be calculated using the formula and the observed and expected frequencies. The p-value can be found by determining the area under the curve for the test statistic.
Step-by-step explanation:
The test statistic can be calculated by using the formula: test statistic = (observed frequency - expected frequency) / square root of expected frequency. In this case, the observed frequencies are: A = 5, B = 8, C = 15, D = 20, E = 12. The expected frequencies can be calculated by dividing the total number of companies (60) by the number of groups (5). The expected frequency for each group would be 60 / 5 = 12.
Plugging in the values, we get: test statistic = (5 - 12) / square root of 12 = -7 / 3.464 = -2.02 (rounded to three decimal places).
To find the p-value, we can use a chi-square distribution table. The p-value is the probability that the test statistic would be as extreme as the observed result or more extreme, assuming the null hypothesis is true. In this case, since the observed result is in the lower tail, we are looking for the area under the curve to the left of the test statistic.
The p-value for a test statistic of -2.02 can be found in the chi-square distribution table or using a statistical software. The p-value is approximately 0.0433 (rounded to four decimal places).