Hypothesis Tests Solutions COR1-GB.1305 Statistics and Data Analysis

Similar documents
Discrete distribution. Fitting probability models to frequency data. Hypotheses for! 2 test. ! 2 Goodness-of-fit test

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

Chapter Three. Hypothesis Testing

CENTRAL LIMIT THEOREM (CLT)

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

Introductory Econometrics. Review of statistics (Part II: Inference)

Sampling, Confidence Interval and Hypothesis Testing

What is a Hypothesis?

CHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC

MALLOY PSYCH 3000 Hypothesis Testing PAGE 1. HYPOTHESIS TESTING Psychology 3000 Tom Malloy

Confidence Intervals for Comparing Means

A Measurement of Randomness in Coin Tossing

Two-Sample Inferential Statistics

Chapter 5: HYPOTHESIS TESTING

HYPOTHESIS TESTING. Hypothesis Testing

Lecture 4: Statistical Hypothesis Testing

6.4 Type I and Type II Errors

Introduction to Statistical Data Analysis Lecture 7: The Chi-Square Distribution

Ling 289 Contingency Table Statistics

Example. χ 2 = Continued on the next page. All cells

Statistical Analysis for QBIC Genetics Adapted by Ellen G. Dow 2017

Chapter 15: Nonparametric Statistics Section 15.1: An Overview of Nonparametric Statistics

Comparison of Bayesian and Frequentist Inference

The goodness-of-fit test Having discussed how to make comparisons between two proportions, we now consider comparisons of multiple proportions.

Hypothesis Testing with Z and T

Chapter 7: Hypothesis Testing

Data Mining. Chapter 5. Credibility: Evaluating What s Been Learned

t test for independent means

23. MORE HYPOTHESIS TESTING

Chapter 10. Chapter 10. Multinomial Experiments and. Multinomial Experiments and Contingency Tables. Contingency Tables.

Econ 325: Introduction to Empirical Economics

16.3 One-Way ANOVA: The Procedure

11-2 Multinomial Experiment

Module 5 Practice problem and Homework answers

Courtesy of Jes Jørgensen

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

hypothesis testing 1

How do we compare the relative performance among competing models?

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015

Quantitative Introduction ro Risk and Uncertainty in Business Module 5: Hypothesis Testing

Diploma Part 2. Quantitative Methods. Examiner s Suggested Answers

The Purpose of Hypothesis Testing

The problem of base rates

Exam Empirical Methods VU University Amsterdam, Faculty of Exact Sciences h, February 12, 2015

Slides for Data Mining by I. H. Witten and E. Frank

MAT Mathematics in Today's World

Discrete Structures for Computer Science

Chapters 10. Hypothesis Testing

CS 361: Probability & Statistics

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

Hypothesis Testing. ) the hypothesis that suggests no change from previous experience

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Variance Decomposition and Goodness of Fit

A brief review of basics of probabilities

Chapter 24. Comparing Means

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except in problem 1. Work neatly.

Chapter 3 Multiple Regression Complete Example

POLI 443 Applied Political Research

Visual interpretation with normal approximation

NORTHWESTERN UNIVERSITY Tuesday, Oct 6th, 2015 ANSWERS FALL 2015 NU PUTNAM SELECTION TEST

1 Descriptive statistics. 2 Scores and probability distributions. 3 Hypothesis testing and one-sample t-test. 4 More on t-tests

Hypothesis testing. Data to decisions

Conditional Probability 2 Solutions COR1-GB.1305 Statistics and Data Analysis

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

STA 247 Solutions to Assignment #1

Lecture Testing Hypotheses: The Neyman-Pearson Paradigm

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

Chapter 10. Hypothesis Testing (I)

Hypothesis Testing. Week 04. Presented by : W. Rofianto

Lecture Lecture 5

Maximum-Likelihood Estimation: Basic Ideas

LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2

Midterm #1 - Solutions

POLI 443 Applied Political Research

Variance Decomposition in Regression James M. Murray, Ph.D. University of Wisconsin - La Crosse Updated: October 04, 2017

Single Sample Means. SOCY601 Alan Neustadtl

Lab #12: Exam 3 Review Key

Classroom Activity 7 Math 113 Name : 10 pts Intro to Applied Stats

Difference between means - t-test /25

Chapters 10. Hypothesis Testing

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

hp calculators HP 50g Probability distributions The MTH (MATH) menu Probability distributions

Tests for Two Coefficient Alphas

Statistical testing. Samantha Kleinberg. October 20, 2009

MATH 240. Chapter 8 Outlines of Hypothesis Tests

Outline for Today. Review of In-class Exercise Bivariate Hypothesis Test 2: Difference of Means Bivariate Hypothesis Testing 3: Correla

Statistics for IT Managers

CHAPTER 9: HYPOTHESIS TESTING

9-7: THE POWER OF A TEST

exp{ (x i) 2 i=1 n i=1 (x i a) 2 (x i ) 2 = exp{ i=1 n i=1 n 2ax i a 2 i=1

ORF 245 Fundamentals of Statistics Chapter 9 Hypothesis Testing

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

CS 229: Lecture 7 Notes

10.4 Hypothesis Testing: Two Independent Samples Proportion

2011 Pearson Education, Inc

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

MA : Introductory Probability

Chapter 9. Inferences from Two Samples. Objective. Notation. Section 9.2. Definition. Notation. q = 1 p. Inferences About Two Proportions

Introduction to Probability

Regression Analysis II

Transcription:

Hypothesis Tests Solutions COR1-GB.1305 Statistics and Data Analysis Introduction 1. An analyst claims to have a reliable model for Twitter s quarterly revenues. His model predicted that the most recent quarterly revenues could be described as a normal random variable with mean $1.5B and standard deviation $0.1B. In actuality, the revenues were $1.0B. Is there evidence of a problem with the analyst s model? Why or why not? The observed revenues were (1.0 1.5)/(0.1) = 5 standard deviations away from the expected value predicted by the analyst s model. If the analyst s model were correct, the chance of observing a deviation this large or larger would be extremely small (0.00005733%). This is evidence that there is a problem with the analyst s model. 2. Prof. Perry has a coin, which he claims to be fair (50% chance of heads, and 50% chance of tails ). He flips the coin 10 times, and gets heads all 10 times. Do you believe him that the coin is fair? Why or why not? If the coin were fair, there would be a 0.2% chance of getting the same outcome on all 10 flips. That is, the observed string of 10 heads in a row would be extremely unlikely. This is evidence that the coin is not fair.

Test on a Population Mean 3. (Adapted from Stine and Foster, 4M 16.2). Does stock in IBM return a different amount on average than T-Bills? We will attempt to answer this question by using a dataset of the 264 monthly returns from IBM between 1990 and 2011. Over this period, the mean of the monthly IBM returns was 1.26% and the standard deviation was 8.27%. We will take as given that the expected monthly returns from investing in T-Bills is 0.3%. (a) What is the sample? What are the sample mean and standard deviation? The n = 264 monthly IBM returns from 1990 to 2011. The sample mean and standard deviation (in %) are x = 1.26 s = 8.27 (b) What is the relevant population? What are the interpretations of population mean and standard deviation? All monthly IBM returns (past, present, and future). The population mean, µ represents the expected return for a month in the future. The population standard deviation, σ, represents the standard deviation of the monthly returns for all months (past, present, and future). (c) What are the null and alternative hypotheses for testing whether or not IBM gives a different expected return from T-Bills (0.3%)? H 0 : µ = 0.3 H a : µ 0.3 Page 2

(d) Use an appropriate test statistic to summarize the evidence against the null hypothesis. If the null hypothesis were true (µ = 0.3), then the sample mean would have been a normal random variable with mean µ X = 0.3 and standard deviation σ X = σ/ n. The test statistic T = X µ 0 S/ n would follow a t distribution with n 1 = 263 degrees of freedom. The observed value of this statistic is 1.26 0.3 8.27/ 264 = 1.886 (e) If the null hypothesis were true (there were no difference in expected monthly returns between IBM and T-Bills) what would be the chance of observing data at least as extreme as observed? If we approximate the distribution of the test statistic under H 0 as a standard normal random variable, then the chance of observing data at least as extreme as observed would be p = P ( Z > 1.886) 0.05743. (f) Is there compelling evidence (at significance level 5%) of a difference in expected monthly returns between IBM and T-Bills? No, since p 0.05, there is not compelling evidence. (g) What assumptions do you need for the test to be valid? Are these assumptions plausible? Since n 30, we do not need to assume that the population is normal. We need that the observed sample is a simple random sample from the population; this might not hold if the period under observation (1990 2011) is not typical for IBM. Page 3

Test Statistic and Observed Significance Level (p-value) 4. In each of the following examples, for the hypothesis test with find the test statistic (t) and the p-value. (a) µ 0 = 5; x = 7; s = 10; n = 36. H 0 : µ = µ 0 H a : µ µ 0 7 5 10/ 36 = 1.2 p P ( Z > 1.2) = 0.2301 (b) µ 0 = 90; x = 50; s = 200; n = 64. 50 90 200/ 64 = 1.6 p P ( Z > 1.6) = 0.1096 (c) µ 0 = 50; x = 49.4; s = 2; n = 100. 49.5 50 2/ 100 = 3p P ( Z > 3) = 0.002700 5. For each example from problem 4: Page 4

(a) Indicate whether a level 5% test would reject H 0. We reject H 0 if p < 0.05: (a) do not reject H 0 ; (b) do not reject H 0 ; (c) reject H 0. (b) Indicate whether a level 1% test would reject H 0. We reject H 0 if p < 0.01: (a) do not reject H 0 ; (b) do not reject H 0 ; (c) reject H 0. Page 5