1 The future is a vain hope, the past is a distracting thought. Uphold our loving kindness at this instant, and be committed to our duties and responsibilities.

Slides:



Advertisements
Similar presentations
Hypothesis testing Another judgment method of sampling data.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
CHAPTER 2 Building Empirical Model. Basic Statistical Concepts Consider this situation: The tension bond strength of portland cement mortar is an important.
Inferential Statistics
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.
Analysis of Variance Compares means to determine if the population distributions are not similar Uses means and confidence intervals much like a t-test.
AP Statistics – Chapter 9 Test Review
Confidence Interval and Hypothesis Testing for:
MARE 250 Dr. Jason Turner Hypothesis Testing II To ASSUME is to make an… Four assumptions for t-test hypothesis testing: 1. Random Samples 2. Independent.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
Section 7.2 Tables and summarize hypothesis tests about one mean. (These tests assume that the sample is taken from a normal distribution,
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
IEEM 3201 One and Two-Sample Tests of Hypotheses.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Chapter 2 Simple Comparative Experiments
Chapter 11: Inference for Distributions
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
Statistics for Managers Using Microsoft® Excel 5th Edition
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Chapter 9 Two-Sample Tests Part II: Introduction to Hypothesis Testing Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social & Behavioral.
AM Recitation 2/10/11.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Confidence Intervals and Hypothesis Testing - II
Hypothesis Testing Section 8.2. Statistical hypothesis testing is a decision- making process for evaluating claims about a population. In hypothesis testing,
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Hypothesis Testing.
1 STATISTICAL HYPOTHESES AND THEIR VERIFICATION Kazimieras Pukėnas.
© 2003 Prentice-Hall, Inc.Chap 9-1 Fundamentals of Hypothesis Testing: One-Sample Tests IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
ISE 352: Design of Experiments
Education 793 Class Notes T-tests 29 October 2003.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
Introduction to Statistical Inference Probability & Statistics April 2014.
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
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.
Say not, „I have found the truth," but rather, „I have found a truth.„ Kahlin Gibran “The Prophet” Hypothesis testing.
B AD 6243: Applied Univariate Statistics Hypothesis Testing and the T-test Professor Laku Chidambaram Price College of Business University of Oklahoma.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
1 Treat everyone with sincerity, they will certainly appear loveable and friendly.
Ordinally Scale Variables
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
1 When we free ourselves of desire, we will know serenity and freedom.
1 Analysis of Variance & One Factor Designs Y= DEPENDENT VARIABLE (“yield”) (“response variable”) (“quality indicator”) X = INDEPENDENT VARIABLE (A possibly.
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
1 When we free ourselves of desire, we will know serenity and freedom.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
© 2004 Prentice-Hall, Inc.Chap 9-1 Basic Business Statistics (9 th Edition) Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
© Copyright McGraw-Hill 2004
WS 2007/08Prof. Dr. J. Schütze, FB GW KI 1 Hypothesis testing Statistical Tests Sometimes you have to make a decision about a characteristic of a population.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
European Patients’ Academy on Therapeutic Innovation The Purpose and Fundamentals of Statistics in Clinical Trials.
Chapter 1 Introduction to Statistics. Section 1.1 Fundamental Statistical Concepts.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 7 l Hypothesis Tests 7.1 Developing Null and Alternative Hypotheses 7.2 Type I & Type.
Inferences on Two Samples Summary
The future is a vain hope, the past is a distracting thought
Statistical inference
Happiness comes not from material wealth but less desire.
What are their purposes? What kinds?
Treat everyone with sincerity,
Statistical inference
Presentation transcript:

1 The future is a vain hope, the past is a distracting thought. Uphold our loving kindness at this instant, and be committed to our duties and responsibilities right now.

2 Applied Statistics Using SAS and SPSS Topic: Hypothesis Testing By Prof Kelly Fan, Cal State Univ, East Bay

3 Hypothesis Testing A statistical hypothesis is an assertion or conjecture concerning one or more populations. Agenda: 1.Types of tests 2.Types of errors 3.P-value 4.Summary of tests 5.Assumption checking

4

5

6 Types of Tests

7

8

9 Good! Good!(Correct!) H 0 trueH 0 false Type II Error, or “  Error” Type I Error, or “  Error” Good! Good!(Correct) we accept H 0 we reject H 0 Types of Errors

10  = Probability of Type I error = P(rej. H 0 |H 0 true)  = Probability of Type II error = P(acc. H 0 |H 0 false) We often preset  called significance level. The value of  depends on the specifics of the H 1 (and most often in the real world, we don’t know these specifics).

11  C=14 1 EXAMPLE: H 0 :  < 100 H 1 :  >100 Suppose the Critical Value = 141:  =100 X

12  = P (X < 141|H 0 false) 141 What is  ?  = P (X < 141/  = 150).3594 =.3594  =  = P (X < 141/  = 160).2236 =.2236  =  = P (X < 141/  = 170).1230 =.1230  =  = P (X < 141/  = 180)  = 180 These are values corresp.to a value of 25 for the Std. Dev. of X =.0594

13 Note: Had  been preset at.025 (instead of.05), C would have been 149 (and  would be larger); had  been preset at.10, C would have been 132 and  would be smaller.  and  “trade off”.

14 P Value Idea: The largest “risk” we pay to reject H0 (the observed type I error rate) (or the observed significance level) When will we reject Ho ? What is the formula to calculate the largest risk?

15 Steps of Hypothesis Tests 1.Set up Ho and Ha properly 2.Preset  level (the significant level) 3.Select an appropriate test 4.Calculate its p-value 5.Reject Ho if p-value < or = the significant level; otherwise fail to reject Ho

16 Set Up Hypothesis Properly Conjecture: The fraction of defective product in a certain process is at most 10%. Which error is more seriously? Incorrectly claim this conjecture is true? false? The “=“ sign must be in Ho

17 One Population

18 Two Populations

19 Assumption Checking 1.Tests/graphs for normality 2.Tests for equal variances

20 Example: Mortar Strength The tension bond strength of cement mortar is an important characteristic of the product. An engineer is interested in comparing the strength of a modified formulation in which polymer latex emulsions have been added during mixing to the strength of the unmodified mortar. The experimenter has collected 10 observations on strength for the modified formulation and another 10 observations for the unmodified formulation.

21 Example: Mortar Strength ModifiedUnmodified

22 SAS/SPSS Data Input SPSS: One variable one column in the work sheet SAS: One variable one name

23 Normality Tests Tests for Normality Test --Statistic p Value Shapiro-Wilk W Pr < W Kolmogorov-Smirnov D Pr > D > Cramer-von Mises W-Sq Pr > W-Sq Anderson-Darling A-Sq Pr > A-Sq SAS: PROC UNIVARIATE DATA=** NORMAL PLOT;

24 Normality Tests SPSS: Analyze >> Descriptive Statistics >> Explore >> Plots, Normality plots with tests

25 Two-sample t Tests and Equal-variance Tests SAS: PROC TTEST DATA=** ;

26 SPSS: equal-variance tests: Homework for ST3900 students SPSS: two-sample t tests as below Two-sample t Tests and Equal-variance Tests

27 Research Question A researcher claims that a new series of math courses for elementary school is more effective than the current one. Two (1 st grade) classes of students are selected to perform an experiment to verify this claim. How would you conduct the experiment to avoid confounding variables as much as possible?

28 Paired Samples If the same set of sources are used to obtain data representing two populations, the two samples are called paired. The data might be paired:  As a result of the data from certain “before” and “after” studies  From matching two subjects to form “matched pairs”

29 Tests for Paired Samples Calculate the pair differences Proceed as in one sample case Notes:  SAS: all variables must be included in data  SPSS: create/calculate all variables we need

30 Review: Confidence Interval

31

32 One Population

33 Two Populations