# Hypothesis tests: the t-tests

Save this PDF as:

Size: px
Start display at page:

## Transcription

2 is due to chance. This point is important because it is often overlooked and serious misinterpretations arise as a consequence. The first stage in the formulation of a hypothesis test is to be precise about what is meant by a difference being due to chance. In the context of a comparison between two groups, it is that the two populations from which the two samples have been drawn are, in fact identical. The approach is to assume that the populations are identical and see what follows. This assumption is known as the null hypothesis. What ought to follow if the assumption is justified is that the two samples should be similar in fact that they should only differ by sampling error. The technicalities of hypothesis testing centre on how to measure the difference between the samples and how to decide when a difference is surprisingly large. The procedure yields a probability, the P-value, which measures how likely it is that a difference as large as that observed could occur if the null hypothesis were true. The logic of the hypothesis test is that we then conclude that Either: i) we have seen an event that occurs with probability given by the P-value or ii) the null hypothesis is false. If the P-value is small, then we may be disinclined to believe that i) has occurred and we opt for ii), i.e. we hold that the hypothesis test has provided evidence against the null hypothesis. The strength of this evidence is often measured by the size of the P- value: a value of P<0.05 is conventionally held to be reasonable evidence against the null hypothesis, with P<0.01 being strong evidence and P<0.001 being very strong evidence. Of course, these are rather arbitrary conventions. Another piece of terminology is that the P-value is the Type I error rate, being the probability of making the error of stating that there is a difference between the groups when there is no difference. The mechanics of producing the P-value differ according to the type of outcome variable but the interpretation of the P-value itself is the same in all cases. In this document we will consider only the case when the variable has a Normal distribution. Comparing the Fentanyl and saline groups: the unpaired t-test The application of the above general discussion to this case requires the following. i) Identification of the values of m F -m S that are likely if the null hypothesis is true. ii) Use of this information to quantify how likely is the observed value of m F -m S. If the null hypothesis is true then m F -m S has a Normal distribution with zero mean. The standard deviation of this distribution is simply the standard error of m F -m S, which is written SE for the moment. As was described in the document Standard Errors and Confidence Intervals, the values of m F -m S will tend to fall within a couple of standard errors of the mean. Thus, under the null hypothesis we would expect m F -m S, to be in the interval ±2SE: in other words we would expect the ratio (m F -m S )/SE to be, roughly speaking, between ±2. 2

3 This is, in essence, Student s t-test. It is based on the t-statistic which is the ratio m 1 m2, SE and large values of this are unlikely if the null hypothesis is true. The preceding discussion illustrates that if the null hypothesis is true then this ratio would generally have values of between ±2. There are, of course, many details which this heuristic introduction ignores. The main ones are: a) precisely how likely are particular values of the above ratio; b) how is the SE calculated; c) are large positive and large negative values handled in the same way. Issue c) will be left to Appendix II. The way in which the SE is computed depends on details of the structure of the data. There are two types of t-test, paired and unpaired t-tests and they differ by the way they compute the SE. The present example compares two groups of patients and this requires the unpaired version of the test. Further discussion of the distinction between the types of test and how to compute standard errors is in the next section. A summary of the data from the trial is given below. Group Size Mean PEFR (l/min) SD (l/min) Fentanyl Saline Table 1: summary of Fentanyl vs saline trial As will be shown later, the value for the SE in this application is l/min, and the observed difference in means is = 98 l/min, so the t-statistic is 98/23.76 = On the basis of the previous discussion we should expect this to indicate that an unusual event has occurred, or that the null hypothesis is false. Can we be more precise? Figure 1 shows the plot of the distribution of the t-statistic if the null hypothesis is true. The observed value of the t-statistic is shown by the arrow. The shaded area shows the proportion of all t-statistics that are more extreme than the observed value and this is only of all such statistics. This proportion is the P-value, in other words P= Notice that this proportion includes values larger than the observed value of 4.12 and smaller than The reason for including the possible values less than 4.12 is linked to the distinction between one-sided and two-sided tests and is explained in Appendix II. What does this P-value mean? It means that if the null hypothesis is true then a difference in mean PEFR as large or larger than 98 l/min would occur with probability As this is a very small probability then it is more tenable to assume that the null hypothesis is false. 3

4 Shaded area = P = t statistic Figure 1: distribution of t-statistics if the null hypothesis is true. What if a much larger P-value had been obtained, say P=0.45? In this case a difference in means as large or larger than that obtained would be quite likely to occur if the null hypothesis were true. In other words, if the null hypothesis were true, then this sort of value for the difference in means would be the sort of value you would expect to see quite often (45% of the time, in fact). Consequently, it is now not sensible to conclude that there is evidence against the null hypothesis. However, it is important to realise that this is not the same as asserting that the null hypothesis is true. The data are compatible with τ = μ F μ S =0, but they are also compatible with a range of values around 0: this range is given by the confidence interval see Appendix I. Types of t-test and their assumptions There are two types of t-test, known by a variety of names, such as paired and unpaired, one-sample and two-sample, dependent and independent. Both sorts test a null hypothesis that the mean of a population has a pre-specified value (usually 0). The difference between them depends on the structure of the data, which in turn is reflected in the way the standard error is calculated. However, in order to understand some of the manoeuvres involved it is useful to consider at the same time the assumptions made by the t-test. Unpaired t-test In this version of the test two quite unrelated samples are taken as the basis of the comparison. In particular this means that there is no basis on which a value in one sample can be associated with a corresponding value in the other sample. The above example comparing groups of patients given saline or Fentanyl uses an unpaired version of the test. This is because the study uses two groups, each comprising ten patients that are quite separate. In these circumstances the t-test assumes: I) that each sample is drawn from a Normal population; 4

5 II) these populations have a common standard deviation, σ The null hypothesis that is most usually tested is that the means of these populations are the same. Several remarks are appropriate at this point. a) If the populations are non-normal, but the departure from Normality is slight then this violation of the assumptions is usually of little consequence. b) The assumption of equal standard deviations may seem to constitute a rather severe restriction. In practice it is often reasonably close to true and, where it is not, it is often related to the data being skewed: this is discussed in a later lecture. c) It should be remembered that a Normal distribution is characterised by its mean and standard deviation: a test that assessed the equality of means and paid no heed to the standard deviations would not be all that useful. It is often of interest to assess whether or not the samples are from the same population and assuming that the means are the same does not specify that the populations are the same unless the standard deviations are also the same. If these assumptions seem justified the standard error SE referred to above should be computed. If the two the samples have sizes N and M then the standard error of the difference in means can be calculated by statistical theory to be 1 1 σ +, M N where σ is the common standard deviation of the two Normal populations. The best estimate of σ draws on information from both samples and is a pooled estimate. This is described in most introductory tests but a detailed understanding of this step is not necessary, as most software will automatically compute the correct value. However, in some programs a questionable version of the t-test which does not assume equal standard deviations is sometimes used and it is important to ensure that the version using a pooled estimate is used. In the above example the pooled estimate of σ was 53.2 l/min, which is seen to be between the standard deviations of the separate samples. Paired Test In this version of the t-test two samples are compared but now there is a link between the samples. As the name suggests, there is a sense in which a value in one sample can be meaningfully associated with a corresponding value in the other sample. The following example will illustrate this. Another aspect of the study comparing Fentanyl and saline was carried out on ten patients receiving conventional pain relief (PCA using morphine). The PEFR was measured on each of these patients on admission to the High Dependency Unit and an hour later. These figures are shown below (all values in l/min: data made available by kind permission of Dr I.D. Conacher, Freeman Hospital). 5

6 PEFR on admission to HDU PEFR one hour post admission Change Table 2: data on PCA patients The important distinction between this set of data and the one in which two groups of patients were compared is that each observation in the post-admission column is linked with an observation in the admission column in a natural way. To be specific, the value of 110 l/min at the top of the second column is observed on the same individual as the value of 100 l/min seen at the top of the first column. It seems sensible that any appropriate analysis would acknowledge this structure in the analysis of these data. This structure would not be acknowledged if an unpaired t-test were used. Consider the following table, which reproduces the first two columns from the table above. The third column is a random re-ordering of the second column. If an unpaired test was used to compare the first two columns then the results would be identical to the results from comparing the first and third columns. It seems unreasonable that losing such an important aspect of the data in this way should have no effect. PEFR on admission to HDU (I) PEFR one hour post admission (II) (II) randomly reordered Table 3: re-ordered data from table 2 The paired t-test takes account of the pairing by forming the differences within each pair, as shown in the third column of table 2. Once these differences have been formed the original observations can be discarded for the purposes of the test, as only the differences are analysed. If the mean PEFR is the same one hour after admission as on admission to HDU, then the differences will come from a population with zero mean. The paired t-test is a way of assessing whether a single sample of differences comes from a population with mean zero. The paired t-statistic can be found from the formula 6

7 m 1 m2, SE as before, although SE is computed differently. However, the usual way to compute the statistic as where d is the mean of the sample of differences. The SE is simply the standard error of these difference computed as the standard deviation divided by the square root of the sample size, as explained in Standard Errors and Confidence Intervals. d SE The value of the numerator, d, is the same as that in the numerator of the unpaired t- test. The means of the three columns in table 2 are, respectively, 129, 120, -9 and the last of these is clearly the difference of the first two. However, the denominators of the paired and unpaired t-tests are not the same. The SE in the unpaired case is based on the standard deviation which measures the variation between the patients. The act of taking the difference between the two values of PEFR on the same patient would generally be expected to remove this source of variation from the data. This is well illustrated by the standard deviations of the three columns in table 2, which are, respectively, 64, 72 and 26. The standard deviation of the differences, being unaffected by inter-patient variation, is much lower than the other two values. The SE of the differences is 26/ 10 = 8.2, so the paired t-test is 9/8.2 = and this gives a P-value of This gives another reason for using the paired version of the test when it is appropriate. It is usually the case that the pairing in the data will lead to a more sensitive experiment but this advantage will be lost if it is not reflected in the arithmetic used for the analysis of the data. Only if the SE appropriate for the paired data is used will the correct precision be ascribed to the difference in means. The assumptions underlying the paired t-test are simple. In fact there is only one: that the differences come from a Normal distribution. Note that it is not necessary to specify the distribution of the individual observations, just their difference. As with the unpaired case, modest departures from this assumption are not usually troublesome. Appendix I: hypothesis testing and confidence intervals One way of imprecisely describing hypothesis tests is to claim that they assess whether it is plausible that the sample to hand could have been drawn from a population with parameters satisfying the null hypothesis. On the other hand, in an equally imprecise way, confidence intervals provide a range of plausible values for the parameter of interest. These aims seem so similar that it is natural to ask if there is a more formal link between hypothesis tests and confidence intervals. The answer is yes there are quite strong links between these two 7

8 entities. The link is perhaps best introduced by use of an example and the above application of the paired t-test is suitable. The test of the null hypothesis that the mean PEFR was the same on admission and one hour post-admission gives P=0.3. A 95% confidence interval for the difference in mean PEFRs is ( 27.6, 9.6) l/min. The hypothesis test yields a P value that indicates that an observed mean change in PEFR more extreme than that observed would occur in 30% of samples if the population mean change were 0. In other words the data are entirely compatible with a population mean change of 0. On the other hand, the confidence interval spans 0, again indicating that a population mean change of 0 is compatible with the observed data. In general, if 0 is included in a 95% confidence interval for the t-test then the associate hypothesis test will give P>0.05. Conversely, if P<0.05, then the 95% confidence interval will not include 0. Of course, while the data may be compatible a population mean change of 0, they may also be compatible with other population mean changes. Although the details have not been covered above, it is entirely feasible to test the null hypothesis that the population mean change is x for any specified number x, not just 0. If you performed such a test and deemed that the data were compatible with a population mean change of x if you obtained P>0.05, then which values of x would be compatible with your sample? The answer is that the values within the 95% confidence interval are the values of x that are compatible with your data in this sense. So, for example, if you tested the null hypothesis that the population mean change in PEFR over the first hour after admission was x, for any x between 27.6 and 9.6 l/min, then every hypothesis test would yield P>0.05. Indeed this equivalence is true whether or not the confidence interval includes 0. The same equivalence applies between 99% confidence intervals and tests yielding P>0.01 and so on. Appendix II: one and two sided tests. (Not Assessed) In the calculation of the P-value illustrated by figure 1, not only was the probability of t- statistics larger than the observed value computed, the probability of values below the negative of the t-statistic was also taken into account. This is because the test being performed is a two-sided test. If the P-value only comprised the probability in one tail of the distribution in figure 1, the test would be known as a one-sided test. For a given value of the t-statistic the one-sided P-value is half of the two-sided P-value. One-sided tests are not widely used. This unpopularity might seem surprising for a device which halves P-values. A one-sided test is appropriate if it is thought that the only way in which the null hypothesis could be discredited is if μ F μ S > 0. In this case large negative values of the t-statistic could only occur by chance. While this is tempting, in practice it would seldom be prudent. An extreme difference between two treatments cannot be ignored simply because the direction of the difference is contrary to prior expectations. However, this is a necessary consequence of adopting a one-sided test. 8

### THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

THERE ARE TWO WAYS TO DO HYPOTHESIS TESTING WITH STATCRUNCH: WITH SUMMARY DATA (AS IN EXAMPLE 7.17, PAGE 236, IN ROSNER); WITH THE ORIGINAL DATA (AS IN EXAMPLE 8.5, PAGE 301 IN ROSNER THAT USES DATA FROM

### Module 5 Hypotheses Tests: Comparing Two Groups

Module 5 Hypotheses Tests: Comparing Two Groups Objective: In medical research, we often compare the outcomes between two groups of patients, namely exposed and unexposed groups. At the completion of this

### Hypothesis Testing Level I Quantitative Methods. IFT Notes for the CFA exam

Hypothesis Testing 2014 Level I Quantitative Methods IFT Notes for the CFA exam Contents 1. Introduction... 3 2. Hypothesis Testing... 3 3. Hypothesis Tests Concerning the Mean... 10 4. Hypothesis Tests

### Statistical Inference and t-tests

1 Statistical Inference and t-tests Objectives Evaluate the difference between a sample mean and a target value using a one-sample t-test. Evaluate the difference between a sample mean and a target value

### Statistiek I. t-tests. John Nerbonne. CLCG, Rijksuniversiteit Groningen. John Nerbonne 1/35

Statistiek I t-tests John Nerbonne CLCG, Rijksuniversiteit Groningen http://wwwletrugnl/nerbonne/teach/statistiek-i/ John Nerbonne 1/35 t-tests To test an average or pair of averages when σ is known, we

### Inferential Statistics

Inferential Statistics Sampling and the normal distribution Z-scores Confidence levels and intervals Hypothesis testing Commonly used statistical methods Inferential Statistics Descriptive statistics are

### Recall this chart that showed how most of our course would be organized:

Chapter 4 One-Way ANOVA Recall this chart that showed how most of our course would be organized: Explanatory Variable(s) Response Variable Methods Categorical Categorical Contingency Tables Categorical

### Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

### Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Introduction Hypothesis Testing Mark Lunt Arthritis Research UK Centre for Ecellence in Epidemiology University of Manchester 13/10/2015 We saw last week that we can never know the population parameters

### AP Statistics 2011 Scoring Guidelines

AP Statistics 2011 Scoring Guidelines The College Board The College Board is a not-for-profit membership association whose mission is to connect students to college success and opportunity. Founded in

### Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Chapter 4 Two-Sample T-Tests Assuming Equal Variance (Enter Means) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when the variances of

### LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.

### Confidence intervals, t tests, P values

Confidence intervals, t tests, P values Joe Felsenstein Department of Genome Sciences and Department of Biology Confidence intervals, t tests, P values p.1/31 Normality Everybody believes in the normal

### Sample Size and Power in Clinical Trials

Sample Size and Power in Clinical Trials Version 1.0 May 011 1. Power of a Test. Factors affecting Power 3. Required Sample Size RELATED ISSUES 1. Effect Size. Test Statistics 3. Variation 4. Significance

### AP Statistics 2009 Scoring Guidelines Form B

AP Statistics 2009 Scoring Guidelines Form B The College Board The College Board is a not-for-profit membership association whose mission is to connect students to college success and opportunity. Founded

### Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

Chapter 45 Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when no assumption

### Study Guide for the Final Exam

Study Guide for the Final Exam When studying, remember that the computational portion of the exam will only involve new material (covered after the second midterm), that material from Exam 1 will make

### Two-sample inference: Continuous data

Two-sample inference: Continuous data Patrick Breheny April 5 Patrick Breheny STA 580: Biostatistics I 1/32 Introduction Our next two lectures will deal with two-sample inference for continuous data As

### Null Hypothesis Significance Testing Signifcance Level, Power, t-tests Spring 2014 Jeremy Orloff and Jonathan Bloom

Null Hypothesis Significance Testing Signifcance Level, Power, t-tests 18.05 Spring 2014 Jeremy Orloff and Jonathan Bloom Simple and composite hypotheses Simple hypothesis: the sampling distribution is

### NCSS Statistical Software

Chapter 06 Introduction This procedure provides several reports for the comparison of two distributions, including confidence intervals for the difference in means, two-sample t-tests, the z-test, the

### Unit 26 Estimation with Confidence Intervals

Unit 26 Estimation with Confidence Intervals Objectives: To see how confidence intervals are used to estimate a population proportion, a population mean, a difference in population proportions, or a difference

### Hypothesis Testing COMP 245 STATISTICS. Dr N A Heard. 1 Hypothesis Testing 2 1.1 Introduction... 2 1.2 Error Rates and Power of a Test...

Hypothesis Testing COMP 45 STATISTICS Dr N A Heard Contents 1 Hypothesis Testing 1.1 Introduction........................................ 1. Error Rates and Power of a Test.............................

### 3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

### Name: Date: Use the following to answer questions 3-4:

Name: Date: 1. Determine whether each of the following statements is true or false. A) The margin of error for a 95% confidence interval for the mean increases as the sample size increases. B) The margin

### Chapter 8 Introduction to Hypothesis Testing

Chapter 8 Student Lecture Notes 8-1 Chapter 8 Introduction to Hypothesis Testing Fall 26 Fundamentals of Business Statistics 1 Chapter Goals After completing this chapter, you should be able to: Formulate

### CALCULATIONS & STATISTICS

CALCULATIONS & STATISTICS CALCULATION OF SCORES Conversion of 1-5 scale to 0-100 scores When you look at your report, you will notice that the scores are reported on a 0-100 scale, even though respondents

### Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

### Standard Deviation Calculator

CSS.com Chapter 35 Standard Deviation Calculator Introduction The is a tool to calculate the standard deviation from the data, the standard error, the range, percentiles, the COV, confidence limits, or

### UCLA STAT 13 Statistical Methods - Final Exam Review Solutions Chapter 7 Sampling Distributions of Estimates

UCLA STAT 13 Statistical Methods - Final Exam Review Solutions Chapter 7 Sampling Distributions of Estimates 1. (a) (i) µ µ (ii) σ σ n is exactly Normally distributed. (c) (i) is approximately Normally

### CONTENTS OF DAY 2. II. Why Random Sampling is Important 9 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

1 2 CONTENTS OF DAY 2 I. More Precise Definition of Simple Random Sample 3 Connection with independent random variables 3 Problems with small populations 8 II. Why Random Sampling is Important 9 A myth,

### Chapter 2. Hypothesis testing in one population

Chapter 2. Hypothesis testing in one population Contents Introduction, the null and alternative hypotheses Hypothesis testing process Type I and Type II errors, power Test statistic, level of significance

### NCSS Statistical Software

Chapter 06 Introduction This procedure provides several reports for the comparison of two distributions, including confidence intervals for the difference in means, two-sample t-tests, the z-test, the

### Lecture Notes Module 1

Lecture Notes Module 1 Study Populations A study population is a clearly defined collection of people, animals, plants, or objects. In psychological research, a study population usually consists of a specific

### Fixed-Effect Versus Random-Effects Models

CHAPTER 13 Fixed-Effect Versus Random-Effects Models Introduction Definition of a summary effect Estimating the summary effect Extreme effect size in a large study or a small study Confidence interval

### Chapter 11-12 1 Review

Chapter 11-12 Review Name 1. In formulating hypotheses for a statistical test of significance, the null hypothesis is often a statement of no effect or no difference. the probability of observing the data

### Nonparametric tests, Bootstrapping

Nonparametric tests, Bootstrapping http://www.isrec.isb-sib.ch/~darlene/embnet/ Hypothesis testing review 2 competing theories regarding a population parameter: NULL hypothesis H ( straw man ) ALTERNATIVEhypothesis

### Chapter 6: t test for dependent samples

Chapter 6: t test for dependent samples ****This chapter corresponds to chapter 11 of your book ( t(ea) for Two (Again) ). What it is: The t test for dependent samples is used to determine whether the

### How to Conduct a Hypothesis Test

How to Conduct a Hypothesis Test The idea of hypothesis testing is relatively straightforward. In various studies we observe certain events. We must ask, is the event due to chance alone, or is there some

### Let s explore SAS Proc T-Test

Let s explore SAS Proc T-Test Ana Yankovsky Research Statistical Analyst Screening Programs, AHS Ana.Yankovsky@albertahealthservices.ca Goals of the presentation: 1. Look at the structure of Proc TTEST;

### Analysis of numerical data S4

Basic medical statistics for clinical and experimental research Analysis of numerical data S4 Katarzyna Jóźwiak k.jozwiak@nki.nl 3rd November 2015 1/42 Hypothesis tests: numerical and ordinal data 1 group:

### Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct 16 2015

Stat 411/511 THE RANDOMIZATION TEST Oct 16 2015 Charlotte Wickham stat511.cwick.co.nz Today Review randomization model Conduct randomization test What about CIs? Using a t-distribution as an approximation

### AP Statistics 2001 Solutions and Scoring Guidelines

AP Statistics 2001 Solutions and Scoring Guidelines The materials included in these files are intended for non-commercial use by AP teachers for course and exam preparation; permission for any other use

### AP STATISTICS 2009 SCORING GUIDELINES (Form B)

AP STATISTICS 2009 SCORING GUIDELINES (Form B) Question 5 Intent of Question The primary goals of this question were to assess students ability to (1) state the appropriate hypotheses, (2) identify and

### Confidence Intervals for One Standard Deviation Using Standard Deviation

Chapter 640 Confidence Intervals for One Standard Deviation Using Standard Deviation Introduction This routine calculates the sample size necessary to achieve a specified interval width or distance from

### Data Analysis. Lecture Empirical Model Building and Methods (Empirische Modellbildung und Methoden) SS Analysis of Experiments - Introduction

Data Analysis Lecture Empirical Model Building and Methods (Empirische Modellbildung und Methoden) Prof. Dr. Dr. h.c. Dieter Rombach Dr. Andreas Jedlitschka SS 2014 Analysis of Experiments - Introduction

### Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Comparing Two Groups Chapter 7 describes two ways to compare two populations on the basis of independent samples: a confidence interval for the difference in population means and a hypothesis test. The

### Outline of Topics. Statistical Methods I. Types of Data. Descriptive Statistics

Statistical Methods I Tamekia L. Jones, Ph.D. (tjones@cog.ufl.edu) Research Assistant Professor Children s Oncology Group Statistics & Data Center Department of Biostatistics Colleges of Medicine and Public

### Inference for two Population Means

Inference for two Population Means Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison October 27 November 1, 2011 Two Population Means 1 / 65 Case Study Case Study Example

### Simple linear regression

Simple linear regression Introduction Simple linear regression is a statistical method for obtaining a formula to predict values of one variable from another where there is a causal relationship between

### C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Sample Multiple Choice Questions for the material since Midterm 2. Sample questions from Midterms and 2 are also representative of questions that may appear on the final exam.. A randomly selected sample

### Inferences About Differences Between Means Edpsy 580

Inferences About Differences Between Means Edpsy 580 Carolyn J. Anderson Department of Educational Psychology University of Illinois at Urbana-Champaign Inferences About Differences Between Means Slide

### Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Glo bal Leadership M BA BUSINESS STATISTICS FINAL EXAM Name: INSTRUCTIONS 1. Do not open this exam until instructed to do so. 2. Be sure to fill in your name before starting the exam. 3. You have two hours

### Extending Hypothesis Testing. p-values & confidence intervals

Extending Hypothesis Testing p-values & confidence intervals So far: how to state a question in the form of two hypotheses (null and alternative), how to assess the data, how to answer the question by

### AP Statistics 2002 Scoring Guidelines

AP Statistics 2002 Scoring Guidelines The materials included in these files are intended for use by AP teachers for course and exam preparation in the classroom; permission for any other use must be sought

### General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

General Method: Difference of Means 1. Calculate x 1, x 2, SE 1, SE 2. 2. Combined SE = SE1 2 + SE2 2. ASSUMES INDEPENDENT SAMPLES. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n

### Lecture 28: Chapter 11, Section 1 Categorical & Quantitative Variable Inference in Paired Design

Lecture 28: Chapter 11, Section 1 Categorical & Quantitative Variable Inference in Paired Design Inference for Relationships: 2 Approaches CatQuan Relationship: 3 Designs Inference for Paired Design Paired

Chapter 12 Sample Size and Power Calculations Chapter Table of Contents Introduction...253 Hypothesis Testing...255 Confidence Intervals...260 Equivalence Tests...264 One-Way ANOVA...269 Power Computation

### NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

NONPARAMETRIC STATISTICS 1 PREVIOUSLY parametric statistics in estimation and hypothesis testing... construction of confidence intervals computing of p-values classical significance testing depend on assumptions

### Chapter 8. Hypothesis Testing

Chapter 8 Hypothesis Testing Hypothesis In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing

Chapter 8 Hypothesis Tests Chapter Table of Contents Introduction...157 One-Sample t-test...158 Paired t-test...164 Two-Sample Test for Proportions...169 Two-Sample Test for Variances...172 Discussion

### Comparing Means in Two Populations

Comparing Means in Two Populations Overview The previous section discussed hypothesis testing when sampling from a single population (either a single mean or two means from the same population). Now we

### Module 7: Hypothesis Testing I Statistics (OA3102)

Module 7: Hypothesis Testing I Statistics (OA3102) Professor Ron Fricker Naval Postgraduate School Monterey, California Reading assignment: WM&S chapter 10.1-10.5 Revision: 2-12 1 Goals for this Module

### Tutorial 5: Hypothesis Testing

Tutorial 5: Hypothesis Testing Rob Nicholls nicholls@mrc-lmb.cam.ac.uk MRC LMB Statistics Course 2014 Contents 1 Introduction................................ 1 2 Testing distributional assumptions....................

### Multiple Hypothesis Testing: The F-test

Multiple Hypothesis Testing: The F-test Matt Blackwell December 3, 2008 1 A bit of review When moving into the matrix version of linear regression, it is easy to lose sight of the big picture and get lost

### Hypothesis testing S2

Basic medical statistics for clinical and experimental research Hypothesis testing S2 Katarzyna Jóźwiak k.jozwiak@nki.nl 2nd November 2015 1/43 Introduction Point estimation: use a sample statistic to

### Null Hypothesis H 0. The null hypothesis (denoted by H 0

Hypothesis test In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing a claim about a property

### Confidence and Significance: Key Concepts of Inferential Statistics

Confidence and Significance: Key Concepts of Inferential Statistics February 2001 University of Reading Statistical Services Centre Biometrics Advisory and Support Service to DFID Contents 1. Introduction

### Unit 29 Chi-Square Goodness-of-Fit Test

Unit 29 Chi-Square Goodness-of-Fit Test Objectives: To perform the chi-square hypothesis test concerning proportions corresponding to more than two categories of a qualitative variable To perform the Bonferroni

### t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

t-tests in Excel By Mark Harmon Copyright 2011 Mark Harmon No part of this publication may be reproduced or distributed without the express permission of the author. mark@excelmasterseries.com www.excelmasterseries.com

### Nonparametric Two-Sample Tests. Nonparametric Tests. Sign Test

Nonparametric Two-Sample Tests Sign test Mann-Whitney U-test (a.k.a. Wilcoxon two-sample test) Kolmogorov-Smirnov Test Wilcoxon Signed-Rank Test Tukey-Duckworth Test 1 Nonparametric Tests Recall, nonparametric

### Statistics courses often teach the two-sample t-test, linear regression, and analysis of variance

2 Making Connections: The Two-Sample t-test, Regression, and ANOVA In theory, there s no difference between theory and practice. In practice, there is. Yogi Berra 1 Statistics courses often teach the two-sample

2. DATA AND EXERCISES (Geos2911 students please read page 8) 2.1 Data set The data set available to you is an Excel spreadsheet file called cyclones.xls. The file consists of 3 sheets. Only the third is

### Week 4: Standard Error and Confidence Intervals

Health Sciences M.Sc. Programme Applied Biostatistics Week 4: Standard Error and Confidence Intervals Sampling Most research data come from subjects we think of as samples drawn from a larger population.

### Standard Deviation Estimator

CSS.com Chapter 905 Standard Deviation Estimator Introduction Even though it is not of primary interest, an estimate of the standard deviation (SD) is needed when calculating the power or sample size of

### A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

CHAPTER 5. A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 5.1 Concepts When a number of animals or plots are exposed to a certain treatment, we usually estimate the effect of the treatment

### Descriptive Statistics

Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize

### Probability of rejecting the null hypothesis when

Sample Size The first question faced by a statistical consultant, and frequently the last, is, How many subjects (animals, units) do I need? This usually results in exploring the size of the treatment

### 9-3.4 Likelihood ratio test. Neyman-Pearson lemma

9-3.4 Likelihood ratio test Neyman-Pearson lemma 9-1 Hypothesis Testing 9-1.1 Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental

### Homework 6 Solutions

Math 17, Section 2 Spring 2011 Assignment Chapter 20: 12, 14, 20, 24, 34 Chapter 21: 2, 8, 14, 16, 18 Chapter 20 20.12] Got Milk? The student made a number of mistakes here: Homework 6 Solutions 1. Null

### T s and F s. Statistical testing for means. FETP India

T s and F s Statistical testing for means FETP India Competency to be gained from this lecture Test the statistical significance of the difference between two means Key elements Paired and unpaired data

### Two-sample hypothesis testing, I 9.07 3/09/2004

Two-sample hypothesis testing, I 9.07 3/09/2004 But first, from last time More on the tradeoff between Type I and Type II errors The null and the alternative: Sampling distribution of the mean, m, given

### 9.1 (a) The standard deviation of the four sample differences is given as.68. The standard error is SE (ȳ1 - ȳ 2 ) = SE d - = s d n d

CHAPTER 9 Comparison of Paired Samples 9.1 (a) The standard deviation of the four sample differences is given as.68. The standard error is SE (ȳ1 - ȳ 2 ) = SE d - = s d n d =.68 4 =.34. (b) H 0 : The mean

### MATH 10: Elementary Statistics and Probability Chapter 9: Hypothesis Testing with One Sample

MATH 10: Elementary Statistics and Probability Chapter 9: Hypothesis Testing with One Sample Tony Pourmohamad Department of Mathematics De Anza College Spring 2015 Objectives By the end of this set of

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Sample Practice problems - chapter 12-1 and 2 proportions for inference - Z Distributions Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Provide

### General Procedure for Hypothesis Test. Five types of statistical analysis. 1. Formulate H 1 and H 0. General Procedure for Hypothesis Test

Five types of statistical analysis General Procedure for Hypothesis Test Descriptive Inferential Differences Associative Predictive What are the characteristics of the respondents? What are the characteristics

### Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Hypothesis testing So far, we ve talked about inference from the point of estimation. We ve tried to answer questions like What is a good estimate for a typical value? or How much variability is there

### Chapter 7 Part 2. Hypothesis testing Power

Chapter 7 Part 2 Hypothesis testing Power November 6, 2008 All of the normal curves in this handout are sampling distributions Goal: To understand the process of hypothesis testing and the relationship

### Confindence Intervals and Probability Testing

Confindence Intervals and Probability Testing PO7001: Quantitative Methods I Kenneth Benoit 3 November 2010 Using probability distributions to assess sample likelihoods Recall that using the µ and σ from

### Treatment and analysis of data Applied statistics Lecture 3: Sampling and descriptive statistics

Treatment and analysis of data Applied statistics Lecture 3: Sampling and descriptive statistics Topics covered: Parameters and statistics Sample mean and sample standard deviation Order statistics and

### 14.0 Hypothesis Testing

14.0 Hypothesis Testing 1 Answer Questions Hypothesis Tests Examples 14.1 Hypothesis Tests A hypothesis test (significance test) is a way to decide whether the data strongly support one point of view or

### 4. Introduction to Statistics

Statistics for Engineers 4-1 4. Introduction to Statistics Descriptive Statistics Types of data A variate or random variable is a quantity or attribute whose value may vary from one unit of investigation

### Factorial Analysis of Variance

Chapter 560 Factorial Analysis of Variance Introduction A common task in research is to compare the average response across levels of one or more factor variables. Examples of factor variables are income

### Hypothesis Testing. Bluman Chapter 8

CHAPTER 8 Learning Objectives C H A P T E R E I G H T Hypothesis Testing 1 Outline 8-1 Steps in Traditional Method 8-2 z Test for a Mean 8-3 t Test for a Mean 8-4 z Test for a Proportion 8-5 2 Test for

### Principles of Hypothesis Testing for Public Health

Principles of Hypothesis Testing for Public Health Laura Lee Johnson, Ph.D. Statistician National Center for Complementary and Alternative Medicine johnslau@mail.nih.gov Fall 2011 Answers to Questions

### Paired vs. 2 sample comparisons. Comparing means. Paired comparisons allow us to account for a lot of extraneous variation.

Comparing means! Tests with one categorical and one numerical variable Paired vs. sample comparisons! Goal: to compare the mean of a numerical variable for different groups. Paired comparisons allow us

### MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

MONT 07N Understanding Randomness Solutions For Final Examination May, 00 Short Answer (a) (0) How are the EV and SE for the sum of n draws with replacement from a box computed? Solution: The EV is n times

### Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation

Chapter 9 Two-Sample Tests Paired t Test (Correlated Groups t Test) Effect Sizes and Power Paired t Test Calculation Summary Independent t Test Chapter 9 Homework Power and Two-Sample Tests: Paired Versus

### Statistical Inference

Statistical Inference Idea: Estimate parameters of the population distribution using data. How: Use the sampling distribution of sample statistics and methods based on what would happen if we used this