Review Guppies can swim an average of 8 mph, with a standard deviation of 2 mph You measure 100 guppies and compute their mean What is the standard error.

Slides:



Advertisements
Similar presentations
HYPOTHESIS TESTING. Purpose The purpose of hypothesis testing is to help the researcher or administrator in reaching a decision concerning a population.
Advertisements

Chapter 9 Introduction to the t-statistic
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Confidence Interval Estimation of Population Mean, μ, when σ is Unknown Chapter 9 Section 2.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
PSY 307 – Statistics for the Behavioral Sciences
The Normal Distribution. n = 20,290  =  = Population.
10 Hypothesis Testing. 10 Hypothesis Testing Statistical hypothesis testing The expression level of a gene in a given condition is measured several.
Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 LosingConfidenceLosingConfidenceTesting.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 9: Hypothesis Tests for Means: One Sample.
Overview of Lecture Parametric Analysis is used for
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Inference about a Mean Part II
S519: Evaluation of Information Systems
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
Chapter 9: Introduction to the t statistic
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Review As sample size increases, the distribution of sample means A.Becomes wider and more normally shaped B.Becomes narrower and more normally shaped.
Chapter 5For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Suppose we wish to know whether children who grow up in homes without access to.
AM Recitation 2/10/11.
Probability Distributions and Test of Hypothesis Ka-Lok Ng Dept. of Bioinformatics Asia University.
Overview Definition Hypothesis
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ X _ μ.
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.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
H1H1 H1H1 HoHo Z = 0 Two Tailed test. Z score where 2.5% of the distribution lies in the tail: Z = Critical value for a two tailed test.
Lecture 2 Review Probabilities Probability Distributions Normal probability distributions Sampling distributions and estimation.
1.State your research hypothesis in the form of a relation between two variables. 2. Find a statistic to summarize your sample data and convert the above.
PSY 307 – Statistics for the Behavioral Sciences Chapter 9 – Sampling Distribution of the Mean.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Statistics: Unlocking the Power of Data Lock 5 Section 6.4 Distribution of a Sample Mean.
Chance Models, Hypothesis Testing, Power Q560: Experimental Methods in Cognitive Science Lecture 6.
Hypothesis Testing and Statistical Significance
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Chapter 9 Introduction to the t Statistic
1. According to ______ the larger the sample, the closer the sample mean is to the population mean. (p. 251) Murphy’s law the law of large numbers the.
Differences between t-distribution and z-distribution
Two-sample t-tests 10/16.
Independent-Samples t-test
Independent-Samples t-test
Independent-Samples t-test
Lecture Nine - Twelve Tests of Significance.
Hypothesis Testing: One Sample Cases
Sampling Distributions
Review 49% of all people in the world are male. Interested whether physics majors are more likely to be male than the general population, you survey 10.
LECTURE 33: STATISTICAL SIGNIFICANCE AND CONFIDENCE (CONT.)
Chapter 5: Introduction to Statistical Inference
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Basic t-test 10/6.
Math 4030 – 10a Tests for Population Mean(s)
Two-sample t-tests.
Central Limit Theorem, z-tests, & t-tests
Hypothesis Testing: Hypotheses
Wednesday, October 20 Sampling distribution of the mean.
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Hypothesis Tests for a Population Mean in Practice
Chapter 9 Hypothesis Testing.
Review: What influences confidence intervals?
Monday, October 19 Hypothesis testing using the normal Z-distribution.
Daniela Stan Raicu School of CTI, DePaul University
Statistics for the Social Sciences
Reasoning in Psychology Using Statistics
What are their purposes? What kinds?
Tests of inference about 2 population means
Reasoning in Psychology Using Statistics
Statistical Inference for the Mean: t-test
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Presentation transcript:

Review Guppies can swim an average of 8 mph, with a standard deviation of 2 mph You measure 100 guppies and compute their mean What is the standard error of your sample mean?

Basic t-test 2/21

Hypothesis Test for Population Mean Goal: Infer m from M Null hypothesis: m = m0 Usually 0 Sometimes another value, e.g. from larger population Change scores Memory improvement, weight loss, etc. Sub-population within known, larger population IQ of CU undergrads Approach: Determine likelihood function for M, using CLT Compare actual sample mean to critical value

Likelihood Function for M Probability distribution for M, according to H0 Central Limit Theorem: Mean equals population mean: mM = m0 Standard deviation: Shape: Normal m0 Probability sM p(M)

Critical Value for M Result that has 5% (a) chance of being exceeded, IF null hypothesis is true Easier to find after standardizing p(M) Convert distribution of sample means to z-scores: Critical value for zM always the same Just use qnorm() Equals 1.64 for a = 5% Mcrit m0 Probability sM a p(M) zcrit Probability 1 a p(zM)

Example: IQ Are CU undergrads smarter than population? Sample size n = 100, sample mean M = 103 Likelihood function If no difference, what are probabilities of sample means? Null hypothesis: m0 = 100 CLT: z-score: (103-100)/1.5 = 2 mM = 0 sM = s/√n = 15/10 = 1.5 M zM zcrit

Problem: Unknown Variance ? Test statistic depends on population parameter Can only depend on data or values assumed by H0 Could include s in null hypothesis H0: m = m0 & s = s0 Usually no theoretical basis for choice of s0 Cannot tell which assumption fails Change test statistic Replace population SD with sample SD Depends only on data and m0 .

t Statistic Invented by “Student” at Guinness brewery . Deviation of sample mean divided by estimated standard error Depends only on data and m0 Sampling distribution depends only on n

t Distribution Sampling distribution of t statistic Derived from ratio of Normal and (modified) c2 Depends only on sample size Degrees of freedom: df = n – 1 Invariant with respect to m, s Shaped like Normal, but with fatter tails Reflects uncertainty in sample variance Closer to Normal as n increases Critical value decreases as n increases a = .05 df tcrit 1 6.31 5 2.02 2 2.92 10 1.81 3 2.35 30 1.70 4 2.13 ∞ 1.64

Steps of t-test 1. State clearly the two hypotheses 2. Determine null and alternative hypotheses H0: m = m0 H1: m ≠ m0 3. Compute the test statistic t from the data . 4. Determine likelihood function for test statistic according to H0 t distribution with n-1 degrees of freedom 5. Find critical value R: qt(alpha,n-1,lower.tail=FALSE) 6. Compare actual result to critical value t < tcrit: Retain null hypothesis, μ = μ0 t > tcrit: Reject null hypothesis, μ ≠ μ0

Example: Rat Mazes Measure maze time on and off drug Difference score: Timedrug – Timeno drug Data (seconds): 5, 6, -8, -3, 7, -1, 1, 2 Sample mean: M = 1.0 Sample standard deviation: s = 5.06 Standard error: SE = s/√n = 5.06/2.83 = 1.79 t = (M – m0)/SE = (1.0 – 0)/1.79 = .56 Critical value: qnorm(.05,7,lower.tail=FALSE) = 1.89 t does not exceed critical value Cannot reject null hypothesis Assume no effect of drug