HYPOTHESIS TESTING. four steps

Similar documents
HYPOTHESIS TESTING. four steps. 1. State the hypothesis and the criterion. 2. Compute the test statistic. 3. Compute the p-value. 4.

HYPOTHESIS TESTING. four steps. 1. State the hypothesis. 2. Set the criterion for rejecting. 3. Compute the test statistics. 4. Interpret the results.

Stationarity and Unit Root tests

Chapter Chapter 10 Two-Sample Tests X 1 X 2. Difference Between Two Means: Different data sources Unrelated. Learning Objectives

Big O Notation for Time Complexity of Algorithms

UNIT 1: ANALYTICAL METHODS FOR ENGINEERS

t = s D Overview of Tests Two-Sample t-test: Independent Samples Independent Samples t-test Difference between Means in a Two-sample Experiment

Statistical Estimation

Chapter 11 Autocorrelation

CORRELATION. two variables may be related. SAT scores, GPA hours in therapy, self-esteem grade on homeworks, grade on exams

Chapter 9 Autocorrelation

CORRELATION. two variables may be related. SAT scores, GPA hours in therapy, self-esteem grade on homeworks, grade on exams

Review - Week 10. There are two types of errors one can make when performing significance tests:

BEST LINEAR FORECASTS VS. BEST POSSIBLE FORECASTS

Math 10B: Mock Mid II. April 13, 2016

Page 1. Before-After Control-Impact (BACI) Power Analysis For Several Related Populations. Richard A. Hinrichsen. March 3, 2010

Introduction to Hypothesis Testing

STK4080/9080 Survival and event history analysis

Mixture of a New Integral Transform and Homotopy Perturbation Method for Solving Nonlinear Partial Differential Equations

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Final Exam Applied Econometrics

Economics 8723 Macroeconomic Theory Problem Set 2 Professor Sanjay Chugh Spring 2017

10.3 Autocorrelation Function of Ergodic RP 10.4 Power Spectral Density of Ergodic RP 10.5 Normal RP (Gaussian RP)

ECE-314 Fall 2012 Review Questions

Comparing Means: t-tests for One Sample & Two Related Samples

Lecture 8 April 18, 2018

CSE 241 Algorithms and Data Structures 10/14/2015. Skip Lists

2 f(x) dx = 1, 0. 2f(x 1) dx d) 1 4t t6 t. t 2 dt i)

Solutions to selected problems from the midterm exam Math 222 Winter 2015

λiv Av = 0 or ( λi Av ) = 0. In order for a vector v to be an eigenvector, it must be in the kernel of λi

Comparisons Between RV, ARV and WRV

Hypothesis Testing in the Classical Normal Linear Regression Model. 1. Components of Hypothesis Tests

th m m m m central moment : E[( X X) ] ( X X) ( x X) f ( x)

Institute of Actuaries of India

The ray paths and travel times for multiple layers can be computed using ray-tracing, as demonstrated in Lab 3.

Unit Root Time Series. Univariate random walk

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Convergence theorems. Chapter Sampling

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

Exercise 3 Stochastic Models of Manufacturing Systems 4T400, 6 May

Math 6710, Fall 2016 Final Exam Solutions

FOR 496 / 796 Introduction to Dendrochronology. Lab exercise #4: Tree-ring Reconstruction of Precipitation

LIMITS OF FUNCTIONS (I)

1. Solve by the method of undetermined coefficients and by the method of variation of parameters. (4)

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

Research Design - - Topic 2 Inferential Statistics: The t-test 2010 R.C. Gardner, Ph.D. Independent t-test

Derivatives of Inverse Trig Functions

Ideal Amplifier/Attenuator. Memoryless. where k is some real constant. Integrator. System with memory

Administrivia. Administrivia. Visual motion. CMPSCI 370: Intro. to Computer Vision. Optical flow

Optical flow. Visual motion. Motion and perceptual organization. Motion and perceptual organization. Subhransu Maji. CMPSCI 670: Computer Vision

Moment Generating Function

Common Large/Small Sample Tests 1/55

CHAPTER 2. Problem 2.1. Given: m k = k 1. Determine the weight of the table sec (b)

Chapter 23: Inferences About Means

Scalar Conservation Laws

Let s express the absorption of radiation by dipoles as a dipole correlation function.

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

F.Y. Diploma : Sem. II [AE/CH/FG/ME/PT/PG] Applied Mathematics

Extremal graph theory II: K t and K t,t

Math 140 Introductory Statistics

Fresnel Dragging Explained

STAT431 Review. X = n. n )

Section 8 Convolution and Deconvolution

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ),

O & M Cost O & M Cost

Actuarial Society of India

Srednicki Chapter 20

Mathematical Notation Math Introduction to Applied Statistics

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( )

Electrical Engineering Department Network Lab.

BRIDGE ESTIMATOR AS AN ALTERNATIVE TO DICKEY- PANTULA UNIT ROOT TEST

David Randall. ( )e ikx. k = u x,t. u( x,t)e ikx dx L. x L /2. Recall that the proof of (1) and (2) involves use of the orthogonality condition.

11: The Analysis of Variance

PH2130 Mathematical Methods Lab 3. z x

Calculus BC 2015 Scoring Guidelines

Time Series, Part 1 Content Literature

Licenciatura de ADE y Licenciatura conjunta Derecho y ADE. Hoja de ejercicios 2 PARTE A

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

Section 5: Chain Rule

ASSESSING GOODNESS OF FIT

C(p, ) 13 N. Nuclear reactions generate energy create new isotopes and elements. Notation for stellar rates: p 12

F D D D D F. smoothed value of the data including Y t the most recent data.

1 Inferential Methods for Correlation and Regression Analysis

MA238 Assignment 4 Solutions (part a)

A Bayesian Approach for Detecting Outliers in ARMA Time Series

Institutional Assessment Report Texas Southern University College of Pharmacy and Health Sciences "P1-Aggregate Analyses of 6 cohorts ( )

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

20. Applications of the Genetic-Drift Model

Exam II Review. CEE 3710 November 15, /16/2017. EXAM II Friday, November 17, in class. Open book and open notes.

(7 One- and Two-Sample Estimation Problem )

Working with Two Populations. Comparing Two Means

NEWTON S SECOND LAW OF MOTION

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

Lecture 12: Multiple Hypothesis Testing

1.225J J (ESD 205) Transportation Flow Systems

Chapter 18: Sampling Distribution Models

MATH 31B: MIDTERM 2 REVIEW. x 2 e x2 2x dx = 1. ue u du 2. x 2 e x2 e x2] + C 2. dx = x ln(x) 2 2. ln x dx = x ln x x + C. 2, or dx = 2u du.

Transcription:

Irodcio o Saisics i Psychology PSY 20 Professor Greg Fracis Lecre 24 Correlaios ad proporios Ca yo read my mid? Par II HYPOTHESIS TESTING for seps. Sae he hypohesis. 2. Se he crierio for rejecig H 0. 3. Compe he es saisic. 4. Ierpre he resls. someimes hae fie seps if wa o iclde CIs. Sae he hypohesis. 2. Se he crierio for rejecig H 0. 3. Compe he es saisic. 4. Cofidece ieral. 5. Ierpre he resls. 2 3 SAMPLING DISTRIBUTION freqecy of di ere r ales, gie a poplaio parameer o sally a ormal disribio! ofe skewed o he lef or he righ cao fid area der cre! FISHER z TRANSFORM formla for creaig ew saisic z r 0 2 log +r B C e @ A r where log e is he aral logarihm fcio also someimes desigaed as l We ge hese rasformed ales from he r o z 0 Calclaor FISHER z TRANSFORM for large samples, he samplig disribio of z r is ormally disribed (regardless of he ale of ) wih a mea z 2 log e + ad wih sadard error (sadard deiaio of he samplig disribio) s zr 3 where is he sample size 0 B @ C A 4 5 6

CONFIDENCE INTERVAL Sppose we fid r 0.6 from a sample of size 30. BildCI 90. (e.g. family icome ad aides abo democraic childrearig) calclae sadard error s zr 3 27 0.92 fid he criical ale from Ierse Normal Disribio Calclaor we fid ha he criical ale is.645 cosrc ieral i z r ales ad he coer back o r ales CI saisic ± (criical ale) (sadard error) CI 90 z r ± (.645)(s zr ) CI 90 0.709 ± (.645)(0.92) CI 90 (0.393,.025) coer z r CI 90 io r, correlaio coe cies se he r o z 0 Calclaor i reerse z r 0.393! r 0.374 z r.025! r 0.772 so, i erms of r ales CI 90 (0.374, 0.772) 7 8 9 A SPECIAL CASE Las ime we oed ha while we eeded Fisher s z rasformaio o coer he samplig disribio io a ormal disribio i is o ecessary for esig 0 0 EXAMPLE 32scorescalclaedoge r 0.375. Sae he hypohesis. H 0 : 0,H a : 6 0 2. Se he crierio for rejecig H 0. 0.05 3. Compe he es saisic. 2 30 r r2 ( 0.375) 0.859 2.26 Use he -disribio Calclaor wih df 30ocompehep-ale p 0.0344 rejec H 0 4. Cosrc he cofidece ieral. 5. Ierpre he resls. BE CAREFUL!!! we js coclded ha we ca rejec H 0,whichmeasweaccephe saeme H a : 6 0 whe we cosrc a cofidece ieral we shold se he Fisher z rasform (we js coclded ha 6 0,sowe wold o wa o se he disribio o make he cofidece ieral) eeryhig is js like las ime. coer r! z r 2. Calclae CI i z rasformed scores. 3. Coer z r! r o ge CI i r scores 2

Cosrc he cofidece ieral Sice 0.05, we cosrc a 95% cofidece ieral cosrc ieral i z r ales ad he coer back o r ales CI saisic ± (criical ale) (sadard error) CI 95 z r ± (c)(s zr ) We fid he c sig he Ierse Normal Disribio Calclaor (se Area.05, ad choose Oside) c.960 32adr 0.375, so c.960 ad z r 0.394. s zr 3 29 0.85 3 plg i he iformaio CI 95 0.394 ± (.960)(0.85) CI 95 ( 0.034, 0.7566) (i Fisher z scores) coer o r ales wih r o z 0 Calclaor CI 95 ( 0.30, 0.640) oe: 0 is o i he ieral, cosise wih hypohesis es! 4 PROPORTIONS may imes we wa o kow wha proporio (P )ofapoplaiohasa cerai rai Ow a phoe. Are a democra. Are a repblica. Ow a comper.... dichoomos poplaio (hae rai or do o) perceages 5 PROPORTIONS we ca ake a radom sample ad calclae a sample proporio p we ca es hypoheses abo he poplaio parameer P e.g. H 0 : P 0.5 H a : P 6 0.5 he samplig disribio of p is he biomial disribio for large samples i is ery close o he ormal disribio STANDARD ERROR a esimae of he sadard error of he samplig disribio is: sadard error of he sample proporio s p P poplaioproporiopossessig characerisic Q P poplaioproporio o possessig characerisic samplesize ow we ca apply he echiqes of hypohesis esig! MIND READING Iamgoigopickoeofhefollowig words as a special word Yo ry o read my mid as o which oe is special wrie i dow o a shee of paper. I ll wrie dow my chose word o a shee of paper COMPUTER STEREO BICYCLE STAPLER BOOKCASE DESK 6 7 8

MIND READING Now, I ell yo my special word, ad we fid o how may of yo were correc. We are measrig p, he sample proporio we ca es wheher yo ca read my mid () Sae he hypohesis he ll hypohesis is ha yo cao read my mid, so we say ha H 0 : P 6 0.67 H a : P 6 0.67 where 0.67 is wha yo wold ge js by gessig s p MIND READING (2) Fid he criical ale we ll se 0.0 (3) Compe he es saisic (0.67)(0.833) z p P s p Which we plg i o he Normal Disribio Calclaor o fid he p-ale (4) Make a decisio 0.39 PEPSI CHALLENGE seeral years ago Pepsi sposored he Pepsi Challege where yo sampled Coke ad Pepsi ad decided which ased beer afer esig hdreds of people, hey fod ha more ha half he Coke drikers preferred Pepsi (63%) how wold we es o see if he proporio of people who preferred Pepsi oer Coke was a sigifica proporio (di ere from chace)? 9 20 2 HYPOTHESIS Sep. Sae he hypohesis. by chace we wold expec he proporio of people ha preferred Pepsi wold be 50% H 0 : P 0.5 H a : P 6 0.5 Le s sppose 300peoplewere esed CRITERION Sep 2. Se he crierio for rejecio. Le s se or leel of sigificace a 0.05, wo-ailed es Sep 3. Compe he es saisic. Sppose he sample proporio is p 89 300 0.63 ad he sadard error of he sample proporio is: s p (0.5)(0.5) 0.02886 300 TEST STATISTIC he es saisic is: z p P 0.63 0.5 s p 0.02886 4.50 We se he Normal Disribio Calclaor o compe p 0 we ca rejec H 0! 22 23 24

Sep 4. Cosrc cofidece ierals Sice we chose 0.05, we cosrc cofidece ierals wih leel of cofidece 0.95 The criical ale z c is fod from he Ierse Normal Disribio Calclaor z c.96 so CI 95 p ± (.96)(s p) Sice we rejeced H 0,wemsrecompehesadard error by sig he esimae from he sample s p pq (0.63)(0.37) 0.048 300 CI 95 0.63 ± (.96)(0.048) CI 95 (0.54, 0.72) which does o iclde he chace leel P 0.5 INTERPRETATION wha if we had failed o rejec H 0? (se P ad Q P isead of p ad q, respeciely) Sep 5. Ierpre he resls. H 0 is rejeced a he 0.05 sigificace leel The probabiliy of geig p 0.63 from a radom sample of 300 people, if P 0.5, is less ha 0.05. The obsered di erece is a sigifica di erece. [Noe: I js made p he mber 300. p 0.63 is he mber gie by Pepsi.] CONCLUSIONS cofidece ierals for correlaios (carefl!) esig sigificace of proporios cofidece ierals for proporios 25 26 27 NEXT TIME more hypohesis esig comparig meas from wo samples Why do we le people die? 28