M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

Similar documents
f (1 0.5)/n Z =

EXAM 3 Math 1342 Elementary Statistics 6-7

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A

Estimating the accuracy of a hypothesis Setting. Assume a binary classification setting

Lecture 11. Multivariate Normal theory

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008

Review. December 4 th, Review

Math 494: Mathematical Statistics

WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A

WISE International Masters

CBA4 is live in practice mode this week exam mode from Saturday!

LECTURE 5. Introduction to Econometrics. Hypothesis testing

STA Module 10 Comparing Two Proportions

Practice Problems Section Problems

GEOMETRIC -discrete A discrete random variable R counts number of times needed before an event occurs

Chapter 12 - Lecture 2 Inferences about regression coefficient

MTMS Mathematical Statistics

INTERVAL ESTIMATION AND HYPOTHESES TESTING

i=1 X i/n i=1 (X i X) 2 /(n 1). Find the constant c so that the statistic c(x X n+1 )/S has a t-distribution. If n = 8, determine k such that

Chapter 9 Inferences from Two Samples

Introduction to Statistics

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

Math 562 Homework 1 August 29, 2006 Dr. Ron Sahoo

Basic Concepts of Inference

Chapter 24. Comparing Means

Institute of Actuaries of India

Introductory Econometrics

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

Two-Sample Inferential Statistics

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15

Stat 139 Homework 2 Solutions, Spring 2015

STAT100 Elementary Statistics and Probability

Recitation 1: Regression Review. Christina Patterson

Inferences for Correlation

STAT 135 Lab 7 Distributions derived from the normal distribution, and comparing independent samples.

STA 2101/442 Assignment 2 1

INSTITUTE OF ACTUARIES OF INDIA

Spring 2012 Math 541B Exam 1

Final Exam - Solutions

Difference between means - t-test /25

Sampling Distributions: Central Limit Theorem

CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities:

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

Inferences About Two Proportions

, 0 x < 2. a. Find the probability that the text is checked out for more than half an hour but less than an hour. = (1/2)2

8 Laws of large numbers

Mathematical statistics

Summary: the confidence interval for the mean (σ 2 known) with gaussian assumption

Space Telescope Science Institute statistics mini-course. October Inference I: Estimation, Confidence Intervals, and Tests of Hypotheses

Statistics. Statistics

Multiple Regression Analysis

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

CSE 103 Homework 8: Solutions November 30, var(x) = np(1 p) = P r( X ) 0.95 P r( X ) 0.

Introduction to Econometrics. Review of Probability & Statistics

EC2001 Econometrics 1 Dr. Jose Olmo Room D309

DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions.

Math 475. Jimin Ding. August 29, Department of Mathematics Washington University in St. Louis jmding/math475/index.

Eco517 Fall 2004 C. Sims MIDTERM EXAM

Central Limit Theorem ( 5.3)

An inferential procedure to use sample data to understand a population Procedures

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

MAS113 Introduction to Probability and Statistics

Two Sample Hypothesis Tests

COSC 341 Human Computer Interaction. Dr. Bowen Hui University of British Columbia Okanagan

Semester , Example Exam 1

Confidence Intervals for Comparing Means

STAT FINAL EXAM

Math Review Sheet, Fall 2008

1 Binomial Probability [15 points]

SDS 321: Introduction to Probability and Statistics

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017

This document contains 3 sets of practice problems.

Ecn Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman. Midterm 2. Name: ID Number: Section:

Statistics 135 Fall 2007 Midterm Exam

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

STA 4322 Exam I Name: Introduction to Statistics Theory

Test 3 Practice Test A. NOTE: Ignore Q10 (not covered)

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix)

Comparing two samples

The Components of a Statistical Hypothesis Testing Problem

Economics 345: Applied Econometrics Section A01 University of Victoria Midterm Examination #2 Version 1 SOLUTIONS Fall 2016 Instructor: Martin Farnham

POLI 443 Applied Political Research

Spring 2012 Math 541A Exam 1. X i, S 2 = 1 n. n 1. X i I(X i < c), T n =

Problem 1 (20) Log-normal. f(x) Cauchy

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

ECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests

Example continued. Math 425 Intro to Probability Lecture 37. Example continued. Example

ECON 4130 Supplementary Exercises 1-4

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Preliminary Statistics Lecture 5: Hypothesis Testing (Outline)

First Year Examination Department of Statistics, University of Florida

Econometrics Homework 1

STAT 111 Recitation 7

Math 494: Mathematical Statistics

Statistics for IT Managers

STATISTICS 4, S4 (4769) A2

ORF 245 Fundamentals of Statistics Practice Final Exam

Design of Engineering Experiments

Transcription:

Math 66/566 - Midterm Solutions NOTE: These solutions are for both the 66 and 566 exam. The problems are the same until questions and 5. 1. The moment generating function of a random variable X is M(t) = ( 1 ) 1 t (a) Find the mean and variance of X. Solution: You may recognize this as the moment generating function of the gamma distribution. If so, you see that α = and β = 1. Then the mean is α β = and the variance is α β 2 =. If you don t recognize the gamma mgf, you can compute: M (t) = M (t) = (1 t), 5 M (0) = (1 t), 6 M (0) = So the mean is, and the variance is 2 =. (b) Let X 1, X 2,, X n be i.i.d. with the same distribution as X. Suppose that n = 100. Then the probability P (95 100 i=1 X i 110) is approximately equal to P (a Z b) for some a and b where Z is a standard normal random variable. Find a and b. Solution: The mean of i X i is nµ = 00 and its variance is nσ 2 = 00. So the standard deviation is. If we let 100 i=1 Z = X i 00 then Z is approximately a standard normal. So P (95 100 i=1 95 00 X i 110) = P ( Z 110 00 ) = P ( 15.25 Z 1.5) 1

There was a mistake in the problem. I meant to ask for the probability the sum is between 380 and 30 which becomes P ( 1 Z 1.5). 2. We consider the following two populations. Population 1 is all working adults in the US with a college degree. Population 2 is all working adults in the US without a college degree. We consider their annual income in thousands of dollars, and let µ 1 and µ 2 be the means for the two populations. And let σ1 2 and σ2 2 be the variances for the two populations. We want to estimate µ 1 µ 2, the average increase in salary from a college degree. Samples of size n 1 = 00 and n 2 = 100 are randomly chosen from the two populations. We find that their sample means and variances are X 1,n1 = 51.6, s 2 1 = 22, X2,n2 = 27.9, s 2 2 = 63 (Remember these are in thousands of dollars, so 51.6 is $51, 600. ) (a) X 1,n1 X 2,n2 is the natural estimator for µ 1 µ 2. What is the variance of this estimator in terms of σ1 2 and σ2 2? Solution: var( X 1,n1 X 2,n2 ) = var( X 1,n1 ) + var( X 2,n2 ) = σ2 1 n 1 + σ2 2 n 2 (b) Find a 95% confidence interval for µ 1 µ 2. Solution: Using the above and using the sample variances to estimate the population variances our estimate of var( X 1,n1 X 2,n2 ) is σ 2 1 n 1 + σ2 2 n 2 = 22 00 + 63 100 = 1.19 So the standard deviation is 1.09. The confidence interval is then [(51.6 27.9) 1.96 1.09, (51.6 27.9) + 1.96 1.09] = [21.56, 25.8] Comment: Several students did a pooled estimate of a common population variance. This is appropriate only if you have some reason to think the two populations have the same variance. Here I would expect the college educated population with its larger salaries to have a larger variance. 2

3. The NRA claims that 0% of the US adult population is opposed to gun control legislation. To test this claim against the hypothesis that the percentage is less than 0%, a random sample of 00 US adults is chosen. It is found that 10 of the 00 are opposed to such legislation. (a) State the null and alternative hypotheses. Solution: This is a test on a single population proportion. Let p denote the proportion of the US adult population that is opposed to gun control. The null hypothesis is p = 0. and the alternative hypothesis is p < 0.. (b) Specify what the test is if we want a significance level of 0.05, and decide if you accept the null or alternative hypothesis. Solution: The statistic is Z = f 0. 0.(1 0.)/n where f is the sample proportion. It is a one sided alternative with a level of 0.05, so we reject the alternative if Z < 1.65. For our data, f = 10/00 = 0.35, and we find Z = 2.0, so we reject the null hypothesis in favor of the alternative hypothesis.. A population has unknown mean µ and known variance σ 2 = 00. We want to test the null hypothesis µ = 100 against the alternative hypothesis µ > 100. We have a large sample with sample mean X n. Let Z = X n 100 σ/ n Our test is that we reject the null hypothesis if Z > 1.65. (a) What is the significance level of this test? Solution: The level is P (Z > 1.65) if the null hypothesis is true. In this case Z is a standard normal and so the level is 5%. (66 b) Recall that the power is the probability we reject the null hypothesis. It depends on µ. Suppose that n = 100. What is the power when µ = 105? 3

Solution: We want to compute P (Z > 1.65) assuming that µ = 105. Note that in this case Z is not a standard random normal. Instead, is a standard random normal. So Z = X n 105 σ/ n P (Z > 1.65) = P ( X n 100 σ/ n > 1.65) = P ( X n 105 σ/ 100 105 > n σ/ n + 1.65) = P (Z > 2.5 + 1.65) = P (Z > 0.855) 0.80 (566 b) Recall that the power is the probability we reject the null hypothesis. It depends on µ. Suppose we want the power to be at least 90% when µ 102. How large must the sample size n be? Solution: In the range µ 102, the power is smallest at µ = 102. So we want P (Z > 1.65) = 0.9 when µ = 102. The standard normal RV now is not Z but rather Z = X n 102 σ/ n So 0.9 = P (Z > 1.65) = P (Z > 1.65 + = P (Z > 1.65 n/10) 100 102 σ/ n ) From the table, P (Z > 1.28) = 0.9, so 1.65 n/10 = 1.28, which give n = 856. 5. (66) A random sample {X 1, X 2, X 3 } of size 3 is drawn from a population with mean µ and variance σ 2. (So X 1, X 2, X 3 are i.i.d.) Let T 1 = 1 3 (X 1 + X 2 + X 3 ) T 2 = 1 (X 1 + 2X 2 + X 3 )

(a) Show that T 1 and T 2 are both unbiased estimators of the population mean µ. Solution: Since E[X 1 ] = E[X 2 ] = E[X 3 ] = µ, E[T 1 ] = 1 3 (E[X 1] + E[X 2 ] + E[X 3 ]) = 1 3 3µ = µ E[T 2 ] = 1 (E[X 1] + 2E[X 2 ] + E[X 3 ]) = 1 µ = µ (b) Compute the variances of T 1 and T 2. Solution: Since the X i are independent, var(t 1 ) = 1 9 (var(x 1) + var(x 2 ) + var(x 3 )) = 1 3 σ2 var(t 2 ) = 1 16 (var(x 1) + var(x 2 ) + var(x 3 )) = 3 8 σ2 (c) Which estimator would you use? Explain your answer. Solution: Both are unbiased, so their mean square error (risk) is equal to their variance. So I would use T 1 since it has smaller variance and hence smaller risk. 5. (566) A random sample {X 1, X 2, X 3 } of size 3 is drawn from a population with mean µ and variance σ 2. (So X 1, X 2, X 3 are i.i.d.) Let T a = 1 (X 1 + ax 2 + X 3 ) (a) For what value of a is T a an unbiased estimator of the population mean µ. Solution: E[T a ] = 1 (E[X 1] + ae[x 2 ] + E[X 3 ]) = 2 + a µ For an unbiased estimator this must equal µ, so a must be 2. (b) Compute the variance of T a. 5

Solution: var[t a ] = 1 16 (var(x 1) + a 2 var(x 2 ) + var(x 3 )) = 2 + a2 16 σ2 (c) Recall that the mean square error is E[(T a µ) 2 ]. Find the value of a which gives the best estimator in the sense of minimizing this mean square error. Solution: The bias is 2+aµ µ = a 2 µ. So the risk is ( a 2 With µ = 1 and σ 2 = 1, this becomes ) 2 µ 2 + 2 + a2 16 σ2 ( ) 2 a 2 + 2 + a2 16 This attains its mininum at a = 1. 6