Lecture 4 Ttests STAT 3120 Statistical Methods I.

Slides:



Advertisements
Similar presentations
Chapter 16 Introduction to Nonparametric Statistics
Advertisements

Statistical Methods II
Design of Experiments and Analysis of Variance
PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Nonparametric tests and ANOVAs: What you need to know.
Classical Regression III
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
Multiple regression analysis
T-Tests.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
HW: See Web Project proposal due next Thursday. See web for more detail.
Testing for differences between 2 means Does the mean weight of cats in Toledo differ from the mean weight of cats in Cleveland? Do the mean quiz scores.
T-Tests Lecture: Nov. 6, 2002.
EXPERIMENTAL DESIGN Random assignment Who gets assigned to what? How does it work What are limits to its efficacy?
Student’s t statistic Use Test for equality of two means
Biostatistics in Research Practice: Non-parametric tests Dr Victoria Allgar.
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Hypothesis Testing Using The One-Sample t-Test
Getting Started with Hypothesis Testing The Single Sample.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Statistical Methods II
Nonparametric or Distribution-free Tests
Power and Sample Size IF IF the null hypothesis H 0 : μ = μ 0 is true, then we should expect a random sample mean to lie in its “acceptance region” with.
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
STAT 3130 Statistical Methods I Session 2 One Way Analysis of Variance (ANOVA)
Chapter 14: Nonparametric Statistics
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
NONPARAMETRIC STATISTICS
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.
Analyzing Data: Comparing Means Chapter 8. Are there differences? One of the fundament questions of survey research is if there is a difference among.
For 95 out of 100 (large) samples, the interval will contain the true population mean. But we don’t know  ?!
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
Ttests Programming in R. The first part of these notes will address ttesting basics. The second part of these notes will address z test (or proportion.
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Last Time Today we will learn how to do t-tests using excel, and we will review for Monday’s exam.
Lecture 9 TWO GROUP MEANS TESTS EPSY 640 Texas A&M University.
Nonparametric Statistics. In previous testing, we assumed that our samples were drawn from normally distributed populations. This chapter introduces some.
Manijeh Keshtgary Chapter 13.  How to report the performance as a single number? Is specifying the mean the correct way?  How to report the variability.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Lecture 5 TtestsAbout Proportions STAT 3120 Statistical Methods I.
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.
Kruskal-Wallis H TestThe Kruskal-Wallis H Test is a nonparametric procedure that can be used to compare more than two populations in a completely randomized.
CD-ROM Chap 16-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition CD-ROM Chapter 16 Introduction.
NON-PARAMETRIC STATISTICS
Copyright ©2011 Nelson Education Limited Inference from Small Samples CHAPTER 10.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Other Types of t-tests Recapitulation Recapitulation 1. Still dealing with random samples. 2. However, they are partitioned into two subsamples. 3. Interest.
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.
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Ttests INCM 9102 Quantitative Methods. Ttests The term “Ttest” comes from the application of the t-distribution to evaluate a hypothesis. Note: a “t-statistic”
Introduction to the t statistic. Steps to calculate the denominator for the t-test 1. Calculate variance or SD s 2 = SS/n-1 2. Calculate the standard.
Nonparametric Statistics - Dependent Samples How do we test differences from matched pairs of measurement data? If the differences are normally distributed,
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Data Analysis Module: Bivariate Testing
Bivariate Testing (ttests and proportion tests)
Bivariate Testing (ttests and proportion tests)
Chapter 15 Strategies When Population Distributions are Not Normal:
Environmental Modeling Basic Testing Methods - Statistics
Bivariate Testing (ttests and proportion tests)
Confidence intervals for the difference between two means: Independent samples Section 10.1.
CS 594: Empirical Methods in HCC Experimental Research in HCI (Part 2)
Presentation transcript:

Lecture 4 Ttests STAT 3120 Statistical Methods I

STAT Ttests The term “Ttest” comes from the application of the t- distribution to evaluate a hypothesis. The t-distribution is used when the sample size is too small (less than 30) to use s/SQRT(n) as a substitute for the population std. Refer to pages 228/229 in your book for a detailed explanation of the t-distribution. In practice, even hypothesis tests with sample sizes greater than 30, which utilize the normal distribution, are commonly referred to as “ttests”. Note: a “t-statistic” and a “z-score” are conceptually similar

STAT Ttests The t-table (see Appendix 2) is effectively the inverse of the z-score table – the “inside” of the table includes the t- statistics while the “outside” of the table (the designation of the rows and columns) includes the degrees of freedom and the alpha values. To determine an appropriate t-statistic for a test, you must know the alpha value and the degrees of freedom (n-1). Note that as the number of observation increase, the t- distribution is assumed to approach normality.

Ttests take three forms: 1.One Sample Ttest - compares the mean of the sample to a given number. e.g. Is average monthly revenue per customer who switches >$50 ? Formal Hypothesis Statement examples: H 0 :   $50 H 1 :  > $50 H 0 :  = $50 H 1 :   $50 STAT Ttests

Example from page 232: After a massive outbreak of salmonella, the CDC determined that the source was from a particular manufacturer of ice cream. The CDC sampled 9 production runs if the manufacturer, with the following results (all in MPN/g): Use this data to determine if the avg level of salmonella is greater than.3 MPN/g, which is considered to be dangerous.

STAT Ttests First, Identify the Hypothesis Statements, including the Type I and Type II errors…and your assignment of alpha. Then, do the computation by hand…

Here is the SAS code that you need to execute a one sample ttest: Proc ttest data= H0= alpha= ; Var ; Run; STAT Ttests

2.Two Sample Ttest - compares the mean of the first sample minus the mean of the second sample to a given number. e.g. Is there a difference in the production output of two facilities? Formal Hypothesis Statement examples: H 0 :  a -  b =0 H 1 :  a -  b  0 STAT Ttests

When dealing with two sample or paired ttests, it is important to check the following assumptions: 1.The samples are independent 2.The samples have approximately equal variance 3.The distribution of each sample is approximately normal Note – if the assumptions are violated and/or if the sample sizes are very small, we first try a transformation (e.g., take the log or the square root). If this does not work, then we engage in non-parametric analysis: Wilcoxan Rank Sum or Wilcoxan Signed Rank tests.

STAT Ttests Example: Problem 6.9 from the exercises: Proc TTEST data=; Class ; Var ; run;

3.Paired Sample Ttest - compares the mean of the differences in the observations to a given number. e.g. Is there a difference in the production output of a facility after the implementation of new procedures? Formal Hypothesis Statement example: H 0 :  diff =0 H 1 :  diff  0 STAT Ttests

Example: Problem 6.28 from the exercises: PROC TTEST DATA= H0=0 ALPHA=<>; Var Diff; RUN; STAT Ttests