Docsity

Estadistica II Chapter 2, Ejercicios de Estadística Económica

Toggle sidebar
bg1
Statistics II
Exercises Chapter 2
1. A pharmaceutical manufacturer is concerned about the impurity concentration in pills, and it is
anxious that this concentration does not exceed 3%. It is known that for a particular production
run, the concentration of impurities follows a normal distribution with standard deviation 0.4%. A
random sample of sixty-four pills from a production run was checked and the sample mean impurity
concentration was found to be 3.07%.
(a) Test at the 5% level that the population mean impurity concentration is 3% against the
alternative that it is more than 3%.
(b) Find the lowest level of significance at which the null hypothesis can be rejected.
(c) Suppose that the alternative hypothesis had been two-sided rather than one-sided. State,
without doing the calculations, whether the p-value of the test would be higher than, lower
than, or the same as that found in 1b. Sketch a graph to illustrate your reasoning.
(d) In the context of this problem, explain why a one-sided alternative hypothesis is more appro-
priate than a two-sided alternative.
2. A statistics instructor is interested in the ability of students to assess the difficulty of a test they
have taken. A test was taken by a large group of students, and the average score was 78.5. A
random sample of eight students was asked to predict this average score. Their predictions were:
72 83 78 65 69 77 81 71
Assuming a normal population:
(a) Test the null hypothesis that the population mean prediction would be 78.5. Use a two-sided
alternative and a 10% significance level.
(b) If the same sample results (same mean and standard deviation) had been obtained from a
random sample of sixteen students, would the conclusion of the test be different from that in
2a?
(c) Without doing any calculations and based on your answer to 2a, decide if a 90% confidence
interval for the population mean would include the value of 78.5 or not. What about a 95%
confidence interval for the mean?
3. A mayor in a large city claims that in one particularly depressed neighborhood, at least 20% of all
males between ages 18 and 65 are unemployed. A random sample of 120 p eople from this population
included twenty unemployed.
(a) Test the mayor’s claim at a 5% significance level.
(b) Calculate the power of the test.
(c) Plot the power curve from 3b in Excel.
(d) Looking at the graph from 3c, for what values of p(roughly) is the power at least 0.8? For
those values of p, what is the upper bound on the probability of Type II error?
(e) What’s the upper bound on the power for p≥0.2?
4. One way to evaluate the effectiveness of a course instructor is to examine the scores achieved by his
or her students in an examination at the end of the course. Obviously, the mean score is of interest.
However, the variance also contains useful information - some teachers have a style that works very
well with more able students but is unsuccessful with less able or poorly motivated students. A
professor sets a standard examination at the end of each semester for all sections of a course. The
variance of the scores on this test is typically very close to 300. A new instructor has a class of
thirty students, whose test scores had a sample quasi-variance of 480. Regarding these students’
test scores as a random sample from a normal population:
1
pf3
pf4
pf5

Vista previa parcial del texto

¡Descarga Estadistica II Chapter 2 y más Ejercicios en PDF de Estadística Económica solo en Docsity!

Statistics II

Exercises Chapter 2

  1. A pharmaceutical manufacturer is concerned about the impurity concentration in pills, and it is anxious that this concentration does not exceed 3 %. It is known that for a particular production run, the concentration of impurities follows a normal distribution with standard deviation 0. 4 %. A random sample of sixty-four pills from a production run was checked and the sample mean impurity concentration was found to be 3. 07 %. (a) Test at the 5 % level that the population mean impurity concentration is 3 % against the alternative that it is more than 3 %. (b) Find the lowest level of significance at which the null hypothesis can be rejected. (c) Suppose that the alternative hypothesis had been two-sided rather than one-sided. State, without doing the calculations, whether the p-value of the test would be higher than, lower than, or the same as that found in 1 b. Sketch a graph to illustrate your reasoning. (d) In the context of this problem, explain why a one-sided alternative hypothesis is more appro- priate than a two-sided alternative.
  2. A statistics instructor is interested in the ability of students to assess the difficulty of a test they have taken. A test was taken by a large group of students, and the average score was 78. 5. A random sample of eight students was asked to predict this average score. Their predictions were: 72 83 78 65 69 77 81 71 Assuming a normal population: (a) Test the null hypothesis that the population mean prediction would be 78. 5. Use a two-sided alternative and a 10 % significance level. (b) If the same sample results (same mean and standard deviation) had been obtained from a random sample of sixteen students, would the conclusion of the test be different from that in 2 a? (c) Without doing any calculations and based on your answer to 2 a, decide if a 90 % confidence interval for the population mean would include the value of 78. 5 or not. What about a 95 % confidence interval for the mean?
  3. A mayor in a large city claims that in one particularly depressed neighborhood, at least 20 % of all males between ages 18 and 65 are unemployed. A random sample of 120 people from this population included twenty unemployed. (a) Test the mayor’s claim at a 5 % significance level. (b) Calculate the power of the test. (c) Plot the power curve from 3 b in Excel. (d) Looking at the graph from 3 c, for what values of p (roughly) is the power at least 0. 8? For those values of p, what is the upper bound on the probability of Type II error? (e) What’s the upper bound on the power for p ≥ 0. 2?
  4. One way to evaluate the effectiveness of a course instructor is to examine the scores achieved by his or her students in an examination at the end of the course. Obviously, the mean score is of interest. However, the variance also contains useful information - some teachers have a style that works very well with more able students but is unsuccessful with less able or poorly motivated students. A professor sets a standard examination at the end of each semester for all sections of a course. The variance of the scores on this test is typically very close to 300. A new instructor has a class of thirty students, whose test scores had a sample quasi-variance of 480. Regarding these students’ test scores as a random sample from a normal population:

(a) At a 5 % significance level, test against a two-sided alternative the null hypothesis that the population variance of their scores is 300. (b) Based on your answer to 4 a, decide if a 95 % confidence interval for the population variance would include the value of 300. (c) Calculate the power of the test. (d) Draw the power function from 4 c in Excel. (e) Looking at the graph from 4 d, what is the probability of Type II error for σ^2 = 500 (roughly)?

  1. State whether each of the following statements is true or false: (a) The significance level of a test is the probability that the null hypothesis is false. (b) A Type I error occurs when a true null hypothesis is rejected. (c) A null hypothesis is rejected a the 0. 025 level, but is accepted at the 0. 01 level. This means that the p-value of the test is between 0. 01 and 0. 025. (d) The power of a test is the probability of accepting the null hypothesis that is true. (e) If a null hypothesis is rejected against an alternative at a 5 % level, then using the same data it must be rejected against that alternative at the 1 % level. (f) If a null hypothesis is rejected against an alternative at a 1 % level, then using the same data it must be rejected against that alternative at the 5 % level. (g) The p-value of a test is the probability that the null hypothesis is true.
  2. An insurance company employs agents on a bonus basis. It claims that in their first year, agents will earn a mean bonus of at least 40000 euros and that the population standard deviation is no more than 6000 euros. A random sample of nine agents found, for the bonuses in their first year, !^9 i= 1 xi = 333 and

!^9

i= 1 (xi − ¯x)^2 = 312 , where xi are measured in thousands of euros and the population distribution can be assumed to be normal. (a) Test at the 5 % level the null hypothesis that the population mean is at least 40000 euros (use a p-value approach). (b) Test at the 10 % level the null hypothesis that the population standard deviation is at most 6000 euros (use a p-value approach).

  1. A manufacturer claims that a new windmill in a certain location can generate an average of at least 800 kWh of energy per day. Daily energy generation for the windmill is assumed to be normally distributed with a standard deviation of 120 kWh. A random sample of 100 days is taken to test this claim against the alternative hypothesis that the true mean is less than 800 kWh. The claim will be accepted if the sample mean is 776 kWh or more and rejected otherwise. (a) What is the probability α of a Type I error using the decision rule if the population mean is in fact 800 kWh per day? (b) What is the probability β of a Type II error using this decision rule if the population mean is in fact 740 kWh per day? (c) Suppose that the same decision rule is used, but with a sample of 200 days rather than 100 days. i. Would the value of α be larger than, smaller than, or the same as that found in 7 a? ii. Would the value of β be larger than, smaller than, or the same as that found in 7 b? Suppose now that a sample of 100 observations was taken but that the decision rule was changed so that the claim would be accepted if the sample mean was at least 765 KWh. (d) For this new decision rule: i. Would the value of α be larger than, smaller than, or the same as that found in 7 a?
  1. Below you can find an Excel sheet corresponding to problem 9 b. Interpret its contents and explain to your friend how to carry out the test of problem 9 b in Excel. Hint: in the dialog window (and in blue), the value of the population variance is 0. 09375 = 12 p 0 ( 1 − p 0 ) = 12 0. 75 ( 1 − 0. 75 ).
  2. You wish to conduct the following hypothesis test: H 0 : μ = − 10 vs. H 1 : μ ∕= − 10. A simple random sample with 700 observations has been collected, yielding a (standardized) value of the test statistic equal to − 1. 96. The p-value associated to this test is: (a) 0. 025 (b) 0. 05 (c) 1. 96 (d) None of the preceding values.
  3. You wish to check if a die is fair. To do so you conduct the following experiment: you throw the die three times, and you conclude that the die is not fair if the sum of all the throws is smaller than 5. (a) Define the null and alternative hypothesis for this test. (b) Define the critical region of the test in terms of the outcomes of the three throws.

(c) Determine the significance level of the test. (d) Give an expression for the power of the test in terms of the probabilities pi, i = 1 ,... , 6 , where pi = P (X = i) and X represents the number on the upper face of the die after a single throw. (e) Find the probability of a Type II error for p 1 = 1 / 2 and all the other probabilities being equal to 1 / 10.

  1. A certain emergency automated response procedure to apply when manufacturing problems are detected in a production line has been shown to have undesirable consequences in certain low- probability cases. You wish to determine if the procedure should be modified due to these conse- quences, as it in general has worked quite well in the past. You have selected a quality measurement as your reference for this decision. This quantity is assumed to follow a normal distribution with variance equal to 1. The reference value was measured on a sample of n = 25 emergencies, and the sample mean was 15. 4. If the mean value for the process (in the absence of emergencies) is 15 , answer the following questions: (a) Do we have sufficient evidence to conclude that this procedure increases the mean value of the indicator, at an α = 0. 05 level? (b) The sample quasi-standard deviation for the 25 observations was 1. 2. Does this imply that the population variance has increased? Conduct this test for a significance level of 10 %. (c) Would you reach the same conclusions for the preceding tests if they were conducted at a 1 % significance level?
  2. As part of a survey on employment length in a certain economic sector, you have collected infor- mation from a sample of 86 employees (after they left the sector). These data are available in the file “data ex 2 .xlsx”, measured in years and months of employment. Use Excel to answer the following questions: (a) Would it be reasonable to assume that these data follow a normal distribution? (b) Does this sample data provide enough evidence to accept the claim (at a 5 % level) that the mean time spent in employment in this sector is shorter than 5 years and a half?
  3. As a way of improving its salesmen’s skills and thus their sales, a company is considering the possibility of asking them to take “Sales Techniques” training courses. As this training is expensive, 9 randomly selected salesmen participate in a trial version of the program. Using the skills and techniques learnt during the course, these nine employees average 115 units sold in a given time period. The company’s objective is to have sales larger, on average, than 100 units per employee. Assume that the variable of interest follows a normal distribution with a standard deviation of 20 units. (a) At a 5 % significance level, assess the effectiveness of the course, computing the critical region for this test. (b) Obtain the p-value of the test and give a recommendation regarding the course participation in terms of the desired significance level. (c) Assume that μ = 120 and the significance level is 5 %. Determine the probability of a type II error for this test. (d) Assume you would like to have a type II error probability smaller than 1 % for the test, when μ = 120 and the significance level remains at 5 %. Find the smallest value of n that would achieve that probability.

Exams from previous years

  1. (January 2020 ) A parcel delivery company is analysing the values of its monthly deliveries X (measured in thousands of deliveries). A simple random sample for the past ten months has yielded the following values: !^10 i= 1 xi = 365. 2 ,

!^10

i= 1 x^2 i = 13386. 02. Assume monthly deliveries follow a normal distribution.

  1. (June 2018 ) A town hall is conducting a study to determine the amount of leftover food produced by the restaurants in the town. In particular, it is interested in testing if the yearly amount of unused food does not exceed a thousand kilos per restaurant. The town hall has collected information from a simple random sample of 10 restaurants, obtaining an average of 1. 15 thousand kilos of leftover food per year, and a quasi-standard deviation of 150 kilos. Assume that the amount of unused food follows a normal distribution. (a) Help the town hall to test the preceding statement on the leftover food at restaurants, at a significance level of 5 %. Build the rejection region for this test and comment on your conclusion. (b) Compute the p-value for the test and comment on your result. (c) Obtain the power of the test when the true value of the average yearly unused food is 1. 1 thousands of kilos. (d) Comment if the following statements are true or false. Justify your answers only for the false statements:
  • For a (true) value of the unused food, and keeping everything else constant, if the number of restaurants in the sample increases then the power is improved.
  • If the test is conducted at a significance level of 1 %, instead of 5 %, the p-value obtained for the test changes.
  • The probability mass in the critical (or rejection) region is 1 − α.
  1. (January 2018 ) A question in the CIS (the Spanish Center for Sociological Research) Barometer refers to the public perception of the Spanish political situation. The September 2017 barometer yielded the following results for this question: Question 4 : Regarding the general political situation in Spain, how would you rate it? Sept 2017 Very good 5 Good 66 Regular 576 Bad 893 Very bad 865 Does not know 75 Does not answer 10 (Total) 2490 Based on the information in the preceding table, answer the following questions: (a) Obtain a confidence interval at a 90 % confidence level, for the proportion of people which consider the political situation in Spain as being bad or very bad in September 2017. (b) The Government has stated that the perception of the political situation has not become worse in these last years. In particular, consider the statement that the proportion of Spaniards which rate the political situation in 2017 as bad or very bad is no larger than 68 % (the value of this proportion in 2016 ). Test if this statement is correct given the available information; use the p-value to reach a conclusion. (c) Obtain the power of the preceding test, assuming that the true proportion of Spaniards believ- ing the political situation to be bad or very bad in September 2017 is 70 %. Use a significance level of 5 %.