Happiness comes not from material wealth but less desire.

Slides:



Advertisements
Similar presentations
One-sample T-Test Matched Pairs T-Test Two-sample T-Test
Advertisements

1 Chapter 20: Statistical Tests for Ordinal Data.
1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Hypothesis testing Another judgment method of sampling data.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
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.
Be humble in our attribute, be loving and varying in our attitude, that is the way to live in heaven.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 8 Two Sample Tests with Numerical Data.
Statistics 07 Nonparametric Hypothesis Testing. Parametric testing such as Z test, t test and F test is suitable for the test of range variables or ratio.
Chapter Topics Comparing Two Independent Samples:
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
Wilcoxon Tests What is the Purpose of Wilcoxon Tests? What are the Assumptions? How does the Wilcoxon Rank-Sum Test Work? How does the Wilcoxon Matched-
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Basic Business Statistics (9th Edition)
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Chapter 15 Nonparametric Statistics
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Hypothesis Testing.
1 STATISTICAL HYPOTHESES AND THEIR VERIFICATION Kazimieras Pukėnas.
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.
Comparing Means From Two Sets of Data
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.
Making decisions about distributions: Introduction to the Null Hypothesis 47:269: Research Methods I Dr. Leonard April 14, 2010.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
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.
Where are we?. What we have covered: - How to write a primary research paper.
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.
Biostatistics, statistical software VII. Non-parametric tests: Wilcoxon’s signed rank test, Mann-Whitney U-test, Kruskal- Wallis test, Spearman’ rank correlation.
Ordinally Scale Variables
1 STATISTICAL HYPOTHESIS Two-sided hypothesis: H 0 :  = 50H 1 :   only here H 0 is valid all other possibilities are H 1 One-sided hypothesis:
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Research Methods: 2 M.Sc. Physiotherapy/Podiatry/Pain Inferential Statistics.
CHAPTERS HYPOTHESIS TESTING, AND DETERMINING AND INTERPRETING BETWEEN TWO VARIABLES.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
366_7. T-distribution T-test vs. Z-test Z assumes we know, or can calculate the standard error of the distribution of something in a population We never.
Applied Epidemiologic Analysis - P8400 Fall 2002 Lab 3 Type I, II Error, Sample Size, and Power Henian Chen, M.D., Ph.D.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Assoc. Prof. Dr. Şehnaz Şahinkarakaş.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
CHAPTER 15: THE NUTS AND BOLTS OF USING STATISTICS.
Hypothesis Testing Start with a question:
Statistics for Managers using Microsoft Excel 3rd Edition
This Week Review of estimation and hypothesis testing
Y - Tests Type Based on Response and Measure Variable Data
Data Analysis and Interpretation
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
The future is a vain hope, the past is a distracting thought
Defining the null and alternative hypotheses
Nonparametric Tests BPS 7e Chapter 28 © 2015 W. H. Freeman and Company.
If we can reduce our desire,
1-Way Analysis of Variance - Completely Randomized Design
Non-parametric tests, part A:
What are their purposes? What kinds?
Tests of inference about 2 population means
UNIT-4.
InferentIal StatIstIcs
Rest of lecture 4 (Chapter 5: pg ) Statistical Inferences
Presentation transcript:

Happiness comes not from material wealth but less desire.

Statistical Package Usage Topic: Tests for two samples By Prof Kelly Fan, Cal State Univ, East Bay

Example: Mortar Strength Unmodified modified 16.85 17.50 16.40 17.63 17.21 18.25 16.35 18.00 16.52 17.86 17.04 17.75 16.96 18.22 17.15 17.90 16.59 17.96 16.57 18.15

SAS Output Ho: The mean strength of the two formulations are the same The TTEST Procedure Statistics Lower CL Upper CL Lower CL Upper CL Variable FORMULATION N Mean Mean Mean Std Dev Std Dev Std Dev Std Err STRENGTH M 10 16.538 16.764 16.99 0.2177 0.3164 0.5777 0.1001 STRENGTH U 10 17.745 17.922 18.099 0.1705 0.2479 0.4526 0.0784 STRENGTH Diff (1-2) -1.425 -1.158 -0.891 0.2148 0.2843 0.4204 0.1271 Ho: The mean strength of the two formulations are the same H1: They are different

Type II Error, or “ Error” Type I Error, or “ Error” Types of Errors H0 true H0 false Type II Error, or “ Error” Good! (Correct!) we accept H0 Type I Error, or “ Error” Good! (Correct) we reject H0

= Probability of Type I error = P(rej. H0|H0 true)  = Probability of Type II error = P(acc. H0|H0 false) We often preset . The value of  depends on the specifics of the H1 (and most often in the real world, we don’t know these specifics).

Suppose the Critical Value = 141: EXAMPLE: H0 :  < 100 H1 :  >100 Suppose the Critical Value = 141: X  =100 C=141

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

Note:. Had  been preset at. 025 (instead of 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”.

P Value The probability of seeing as extreme as or more extreme than what we observe, assuming Ho is true. The smaller the p-value is, the stronger the evidence against Ho is.

One Population Non-parametric test

Two independent samples Non-parametric test

Normality Tests SAS: PROC UNIVARIATE DATA=** NORMAL; Tests for Normality Test --Statistic--- -----p Value------ Shapiro-Wilk W 0.918255 Pr < W 0.0917 Kolmogorov-Smirnov D 0.134926 Pr > D >0.1500 Cramer-von Mises W-Sq 0.081542 Pr > W-Sq 0.1936 Anderson-Darling A-Sq 0.537514 Pr > A-Sq 0.1503 Note: For demonstration purpose, here is the result for testing normality when treating 2 samples as a whole. But you should do the normality test for both samples separately.

Equal-variance Tests SAS: PROC TTEST DATA=** ;

Non-parametric Tests One sample: Wilcoxon Signed-Rank Test (Included in the output of Proc Univariate) Two samples: Wilcoxon Rank Sum Test (See p. 191) Three or more samples: Kruskal-Wallis Test (Later)

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”

Example: Repeated Measures Each subject is measured twice: Before treatment (control value) After treatment (treatment value) Subject Control Treatment 1 90 95 2 87 92 3 100 104 4 80 89 5 101 6 105

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 SAS and SPSS can also conduct paired t-tests directly