Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Introduction to Hypothesis Testing
Hypothesis Testing making decisions using sample data.
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
Probability & Statistical Inference Lecture 6
Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
The Normal Distribution. n = 20,290  =  = Population.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Sample size computations Petter Mostad
LARGE SAMPLE TESTS ON PROPORTIONS
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Statistics 03 Hypothesis Testing ( 假设检验 ). When we have two sets of data and we want to know whether there is any statistically significant difference.
Major Points Formal Tests of Mean Differences Review of Concepts: Means, Standard Deviations, Standard Errors, Type I errors New Concepts: One and Two.
Introduction to Testing a Hypothesis Testing a treatment Descriptive statistics cannot determine if differences are due to chance. A sampling error occurs.
Choosing Statistical Procedures
Lecture Slides Elementary Statistics Twelfth Edition
Hypothesis testing is used to make decisions concerning the value of a parameter.
Hypothesis Testing.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Statistics Pooled Examples.
The Probability of a Type II Error and the Power of the Test
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Chapter 9: Hypothesis Testing 9.1 Introduction to Hypothesis Testing Hypothesis testing is a tool you use to make decision from data. Something you usually.
Individual values of X Frequency How many individuals   Distribution of a population.
Unit 8 Section : z Test for a Mean  Many hypotheses are tested using the generalized statistical formula: Test value = (Observed Value)-(expected.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Rain or shine? Spreadsheet activity.
6.5 One and Two sample Inference for Proportions np>5; n(1-p)>5 n independent trials; X=# of successes p=probability of a success Estimate:
Hypothesis testing and Decision Making Formal aspects of hypothesis testing.
MC Chapter 27 – Inference on slope. Growth hormones are often used to increase the weight gain of chickens. In an experiment using 15 chickens, five different.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Physics 270 – Experimental Physics. Let say we are given a functional relationship between several measured variables Q(x, y, …) x ±  x and x ±  y What.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Math 4030 – 9a Introduction to Hypothesis Testing
Welcome to MM570 Psychological Statistics
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Introduction to hypothesis testing Hypothesis testing is about making decisions Is a hypothesis true or false? Ex. Are women paid less, on average, than.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Introduction to Testing a Hypothesis Testing a treatment Descriptive statistics cannot determine if differences are due to chance. Sampling error means.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
One Sample Inf-1 In statistical testing, we use deductive reasoning to specify what should happen if the conjecture or null hypothesis is true. A study.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
If we fail to reject the null when the null is false what type of error was made? Type II.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
Hypothesis Testing.  Hypothesis is a claim or statement about a property of a population.  Hypothesis Testing is to test the claim or statement  Example.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Hypothesis Testing and Statistical Significance
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Holt McDougal Algebra Significance of Experimental Results 8-4 Significance of Experimental Results Holt Algebra 2 Warm Up Warm Up Lesson Presentation.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Data Analysis and Interpretation
Hypothesis Testing: Hypotheses
Chapter 9: Hypothesis Testing
Hypothesis Tests for Proportions
Power Section 9.7.
Chapter 7: Statistical Issues in Research planning and Evaluation
Confidence Intervals.
Statistics collection, presentation, analysis and interpretation of data Descriptive collection and description of data sets to yield meaningful information.
Statistical Power.
Presentation transcript:

Hypotheses Testing

Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is fair)

Null versus Alternative Null hypothesis (H 0 ): p = 0.5 Alternative hypothesis (H 1 ): p  0.5

k p(k) 95% EXPERIMENT

Experiment P[ k 32 ] < 0.05 If k 32 then an event happened with probability < 0.5 Improbable enough to REJECT the hypothesis H 0

Test construction 1832 accept reject

k Cpdf(k)

Conclusion No premise to reject the hypothesis

Example 2 We have tossed a coin 50 times and we got k = 10 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is fair)

k cpdf(k)

Significance level P[ k  10 or k  40 ]  We REJECT the hypothesis H 0 at significance level p=

Remark In STATISTICS To prove something = REJECT the hypothesis that converse is true

Example 3 We know that on average mouse tail is 5 cm long. We have a group of 10 mice, and give to each of them a dose of vitamin X everyday, from the birth, for the period of 6 months.

We want to prove that vitamin X makes mouse tail longer We measure tail lengths of our group and we get sample = 5.5, 5.6, 4.3, 5.1, 5.2, 6.1, 5.0, 5.2, 5.8, 4.1 Hypothesis H 0 - sample = sample from normal distribution with  = 5cm Alternative H 1 - sample = sample from normal distribution with  > 5cm

Construction of the test t t 0.95 reject Cannot reject

We do not population variance, and/or we suspect that vitamin treatment may change the variance – so we use t distribution

 2 test (K. Pearson, 1900) To test the hypothesis that a given data actually come from a population with the proposed distribution

Data Are these data sampled from population with exponential pdf ?

Construction of the  2 test p1p1 p2p2 p3p3 p4p4

Construction of the test 22  reject Cannot reject

How about Are these data sampled from population with exponential pdf ? 1.Estimate a 2.Use  2 test 3.Remember d.f. = K-2

Power and significance of the test Actual situation decisionprobability H 0 true H 0 false accept Reject = error t. I reject Accept = error t. II 1-a a = significance level b 1-b = power of the test