Review As sample size increases, the distribution of sample means A.Becomes wider and more normally shaped B.Becomes narrower and more normally shaped.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Review You run a t-test and get a result of t = 0.5. What is your conclusion? Reject the null hypothesis because t is bigger than expected by chance Reject.
Review Find the mean square (MS) based on these two samples. A.26.1 B.32.7 C.43.6 D.65.3 E M A = 14 M B = Flood.
Review: What influences confidence intervals?
PSY 307 – Statistics for the Behavioral Sciences
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
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.
Hypothesis testing applied to means. Characteristics of the Sampling Distribution of the mean The sampling distribution of means will have the same mean.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
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
Inference about a Mean Part II
T-Tests Lecture: Nov. 6, 2002.
Chapter 2 Simple Comparative Experiments
S519: Evaluation of Information Systems
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
Chapter 9 Hypothesis Testing.
Getting Started with Hypothesis Testing The Single Sample.
Chapter 9: Introduction to the t statistic
The t-test Inferences about Population Means when population SD is unknown.
One Sample Z-test Convert raw scores to z-scores to test hypotheses about sample Using z-scores allows us to match z with a probability Calculate:
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
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.
Review A.Null hypothesis, critical value, alpha, test statistic B.Alternative hypothesis, critical region, p-value, independent variable C.Null hypothesis,
AM Recitation 2/10/11.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Probability Distributions and Test of Hypothesis Ka-Lok Ng Dept. of Bioinformatics Asia University.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Overview Definition Hypothesis
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
Dan Piett STAT West Virginia University
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
One-sample In the previous cases we had one sample and were comparing its mean to a hypothesized population mean However in many situations we will use.
Independent Samples 1.Random Selection: Everyone from the Specified Population has an Equal Probability Of being Selected for the study (Yeah Right!)
Statistics - methodology for collecting, analyzing, interpreting and drawing conclusions from collected data Anastasia Kadina GM presentation 6/15/2015.
Lecture 2 Review Probabilities Probability Distributions Normal probability distributions Sampling distributions and estimation.
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Chapter 9 Introduction to the t Statistic. 9.1 Review Hypothesis Testing with z-Scores Sample mean (M) estimates (& approximates) population mean (μ)
PSY 307 – Statistics for the Behavioral Sciences Chapter 9 – Sampling Distribution of the Mean.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 6 Hypothesis Tests with Means.
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.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
Review I A student researcher obtains a random sample of UMD students and finds that 55% report using an illegally obtained stimulant to study in the past.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
- 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.
Inference About Means Chapter 23. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be nice.
Sampling Distribution (a.k.a. “Distribution of Sample Outcomes”) – Based on the laws of probability – “OUTCOMES” = proportions, means, test statistics.
T tests comparing two means t tests comparing two means.
6.3 One- and Two- Sample Inferences for Means. If σ is unknown Estimate σ by sample standard deviation s The estimated standard error of the mean will.
Inferential Statistics Psych 231: Research Methods in Psychology.
Chapter 9 Introduction to the t Statistic
Two-sample t-tests 10/16.
Independent-Samples t-test
Independent-Samples t-test
Independent-Samples t-test
Lecture Nine - Twelve Tests of Significance.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Basic t-test 10/6.
Two-sample t-tests.
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.
Presentation transcript:

Review As sample size increases, the distribution of sample means A.Becomes wider and more normally shaped B.Becomes narrower and more normally shaped C.Becomes wider and less normally shaped D.Becomes narrower and less normally shaped

Review A population has a mean of µ = 10 and a standard deviation of  = 5. You plan to sample 100 people. What’s the expected value of your sample mean, M? A.0.5 B.1 C.5 D.10

Review A population has a mean of µ = 10 and a standard deviation of  = 5. You plan to sample 100 people. The expected (average) value of M is equal to µ, but M for any specific sample will be off, either too high or too low. How far from µ will the sample mean typically be? A.0.5 B.1 C.5 D.10

One-sample t-test 10/7

Hypothesis Test for Population Mean Goal: Infer  from M Null hypothesis (H 0 ):  =  0 – 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 H 0 Central Limit Theorem: – Mean equals population mean:  M =  0 – Standard deviation: – Shape: Normal 00 Probability MM p(M)p(M)

Critical Value for M Result that has 5% (  ) 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 z M always the same – Just use qnorm() – Equals 1.64 for  = 5% M crit 00 Probability MM  p(M)p(M) z crit  Probability   p(zM)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:  0 = 100 – CLT: z-score: ( )/1.5 = 2 M  M = 100  M =  /√n = 15/10 = 1.5 zMzM z crit

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

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

t Distribution Sampling distribution of t statistic Derived from ratio of Normal and (modified)  2 Depends only on sample size – Degrees of freedom: df = n – 1 – Invariant with respect to  Shaped like Normal, but with fatter tails – Reflects uncertainty in sample variance – Closer to Normal as n increases Critical value decreases as n increases  =.05 dft crit dft crit ∞1.64

Steps of t-test 1. State clearly the two hypotheses 2. Determine null and alternative hypotheses H 0 :  =  0 H 1 :  ≠  0 3. Compute the test statistic t from the data. 4. Determine likelihood function for test statistic according to H 0 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 < t crit : Retain null hypothesis, μ = μ 0 t > t crit : Reject null hypothesis, μ ≠ μ 0

Example: Rat Mazes Measure maze time on and off drug – Difference score: Time drug – Time no 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 –  0 )/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

Review You run a t-test and get a result of t = 7. What is your conclusion? A.Reject the null hypothesis because t is bigger than expected by chance B.Reject the null hypothesis because t is smaller than expected by chance C.Keep the null hypothesis because t is bigger than expected by chance D.Keep the null hypothesis because t is smaller than expected by chance

Review You run a t-test and get a result of t = 2. What does the value of 2 mean in this case? A.The alternative hypothesis is twice as likely to be true as the null hypothesis B.The sample mean is twice as far from µ 0 as you would expect by chance C.The population mean is likely within ±2 of the sample mean D.Your chance of a Type I error will double if you reject the null hypothesis

Review Your null hypothesis predicts the population mean should be µ 0 = 0. You measure 16 people and calculate statistics of M = 4 and s = 32. What is the value of your t statistic? A.2 B.0.5 C.0.25 D.4