COSC 341 Human Computer Interaction. Dr. Bowen Hui University of British Columbia Okanagan

Similar documents
COSC 341 Human Computer Interaction. Dr. Bowen Hui University of British Columbia Okanagan

Probability and Samples. Sampling. Point Estimates

Inferences About Two Proportions

The t-statistic. Student s t Test

Two-Sample Inferential Statistics

Sampling Distributions: Central Limit Theorem

Hypothesis testing: Steps

Introduction to the Analysis of Variance (ANOVA)

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

Inferential Statistics

23. MORE HYPOTHESIS TESTING

Do students sleep the recommended 8 hours a night on average?

STAT Chapter 9: Two-Sample Problems. Paired Differences (Section 9.3)

CHAPTER 10 Comparing Two Populations or Groups

THE SAMPLING DISTRIBUTION OF THE MEAN

Section 6.2 Hypothesis Testing

Difference between means - t-test /25

Hypothesis testing: Steps

Single Sample Means. SOCY601 Alan Neustadtl

Statistical Inference for Means

Last two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals

PSY 305. Module 3. Page Title. Introduction to Hypothesis Testing Z-tests. Five steps in hypothesis testing

1. What does the alternate hypothesis ask for a one-way between-subjects analysis of variance?

Visual interpretation with normal approximation

Chapter 23. Inference About Means

Introduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs

Objectives Simple linear regression. Statistical model for linear regression. Estimating the regression parameters

Last week: Sample, population and sampling distributions finished with estimation & confidence intervals

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Chapter 23. Inferences About Means. Monday, May 6, 13. Copyright 2009 Pearson Education, Inc.

6.4 Type I and Type II Errors

1.3: Describing Quantitative Data with Numbers

Hypothesis Testing and Confidence Intervals (Part 2): Cohen s d, Logic of Testing, and Confidence Intervals

Confidence Intervals for Comparing Means

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

MATH 1150 Chapter 2 Notation and Terminology

HYPOTHESIS TESTING. Hypothesis Testing

Survey on Population Mean

t-test for b Copyright 2000 Tom Malloy. All rights reserved. Regression

1 Descriptive statistics. 2 Scores and probability distributions. 3 Hypothesis testing and one-sample t-test. 4 More on t-tests

The Central Limit Theorem

Sampling Distributions

Chapter Three. Hypothesis Testing

Harvard University. Rigorous Research in Engineering Education

Chapter 24. Comparing Means

Quantitative Analysis and Empirical Methods

9.5 t test: one μ, σ unknown

Math 10 - Compilation of Sample Exam Questions + Answers

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Psych 230. Psychological Measurement and Statistics

Lecture on Null Hypothesis Testing & Temporal Correlation

Chapter. The Normal Probability Distribution 7/24/2011. Section 7.1 Properties of the Normal Distribution

Basic Statistics Exercises 66

Keller: Stats for Mgmt & Econ, 7th Ed July 17, 2006

The Chi-Square Distributions

Sampling Distributions

Chapter 6. The Standard Deviation as a Ruler and the Normal Model 1 /67

The Chi-Square Distributions

Chapter 26: Comparing Counts (Chi Square)

Using the z-table: Given an Area, Find z ID1050 Quantitative & Qualitative Reasoning

Chapter 16. Simple Linear Regression and Correlation

The independent-means t-test:

Independent Samples ANOVA

STAT Section 3.4: The Sign Test. The sign test, as we will typically use it, is a method for analyzing paired data.

Statistic: a that can be from a sample without making use of any unknown. In practice we will use to establish unknown parameters.

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

An inferential procedure to use sample data to understand a population Procedures

Statistics 511 Additional Materials

Chapter 9 Inferences from Two Samples

Design of Experiments. Factorial experiments require a lot of resources

Chapter 6: SAMPLING DISTRIBUTIONS

HYPOTHESIS TESTING: SINGLE MEAN, NORMAL DISTRIBUTION (Z-TEST)

20 Hypothesis Testing, Part I

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

Relating Graph to Matlab

Permutation Tests. Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods

EE290H F05. Spanos. Lecture 5: Comparison of Treatments and ANOVA

Homework 7. Name: ID# Section

Ordinary Least Squares Regression Explained: Vartanian

Stat 135, Fall 2006 A. Adhikari HOMEWORK 6 SOLUTIONS

ONE FACTOR COMPLETELY RANDOMIZED ANOVA

Sampling Distribution of a Sample Proportion

Test 3 SOLUTIONS. x P(x) xp(x)

16.3 One-Way ANOVA: The Procedure

Statistics Introductory Correlation

7.1 Sampling Error The Need for Sampling Distributions

Lecture 26 Section 8.4. Wed, Oct 14, 2009

16.400/453J Human Factors Engineering. Design of Experiments II

STAT 285 Fall Assignment 1 Solutions

Basic Linear Model. Chapters 4 and 4: Part II. Basic Linear Model

Notes 3: Statistical Inference: Sampling, Sampling Distributions Confidence Intervals, and Hypothesis Testing

Lab #12: Exam 3 Review Key

Chapter 18 Sampling Distribution Models

EXAM 3 Math 1342 Elementary Statistics 6-7

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares

Chapter 16. Simple Linear Regression and dcorrelation

Elementary Statistics Triola, Elementary Statistics 11/e Unit 17 The Basics of Hypotheses Testing

2.57 when the critical value is 1.96, what decision should be made?

Transcription:

COSC 341 Human Computer Interaction Dr. Bowen Hui University of British Columbia Okanagan 1

Last Class Introduced hypothesis testing Core logic behind it Determining results significance in scenario when: Comparison distribution has known mean and standard deviation (e.g., from literature) Test sample has 1 individual Next step: extend test sample to more than one individual Key concept: distribution of means 2

Previously Determining results significance in scenario when: Test sample has 1 individual Comparison distribution is a distribution of individual scores Compare single score to distribution of individual scores 3

Now Determining results significance in scenario when: Test sample has more than 1 individual Use mean of test sample Comparison distribution is? Cannot compare mean score to distribution of individual scores Need to compare: mean score to distribution of means 4

Distribution of Means A distribution of means is a distribution of means with lots and lots of samples of the same size Each sample randomly taken from the same population Also known as sampling distribution Need to revise Step 2 of hypothesis testing First, understand concept of distribution of means Then, revise Step 2 5

How to Build a Distribution of Means 90,000 pieces of corn in tub 6

How to Build a Distribution of Means 90,000 pieces of corn in tub labels of 1 on 10,000 corn, 2 on 10,000 corn,, 9 on 10,000 corn. tub = random sample of corn 7

How to Build a Distribution of Means 90,000 pieces of corn in tub labels of 1 on 10,000 corn, 2 on 10,000 corn,, 9 on 10,000 corn. tub = random sample of corn draw 2 corn, record labels (e.g., 2 and 9, mean 5.5) put corn back into tub 8

How to Build a Distribution of Means 90,000 pieces of corn in tub labels of 1 on 10,000 corn, 2 on 10,000 corn,, 9 on 10,000 corn. tub = random sample of corn draw 2 corn, record labels (e.g., 2 and 9, mean 5.5) put corn back into tub draw 2 corn, mean 4 draw 2 corn, mean 4.5 repeat build histogram with these means 9

How to Build a Distribution of Means Growing distribution, as N increases 10

Determining Characteristics of a Distribution of Means Mean of distribution: Same as mean of distribution of individuals Equal when we take an infinite number of samples Variance of distribution: Less spread out than distribution of individuals Equal to the variance of distribution of individuals divided by number of individuals in each sample Standard deviation of distribution: Equals to the square root of variance of distribution by definition Shape of distribution: Approximately normal if either (a) each sample is 30+ individuals or (b) distribution of individuals is normal 11

Determining Characteristics of a Distribution of Means Mean of distribution: Same as mean of distribution of individuals Equal when we take an infinite number of samples Variance of distribution: Less spread out than distribution of individuals Equal to the variance of distribution of individuals divided by number of individuals in each sample Standard deviation of distribution: Equals to the square root of variance of distribution by definition Shape of distribution: Approximately normal if either (a) each sample is 30+ individuals or (b) distribution of individuals is normal 12

Determining Characteristics of a Distribution of Means Mean of distribution: Same as mean of distribution of individuals Equal when we take an infinite number of samples Variance of distribution: Less spread out than distribution of individuals Equal to the variance of distribution of individuals divided by number of individuals in each sample Standard deviation of distribution: Equals to the square root of variance of distribution by definition Shape of distribution: Approximately normal if either (a) each sample is 30+ individuals or (b) distribution of individuals is normal 13

Determining Characteristics of a Distribution of Means Mean of distribution: Same as mean of distribution of individuals Equal when we take an infinite number of samples Variance of distribution: Less spread out than distribution of individuals Equal to the variance of distribution of individuals divided by number of individuals in each sample Standard deviation of distribution: Equals to the square root of variance of distribution by definition Shape of distribution: Approximately normal if either (a) each sample is 30+ individuals or (b) distribution of individuals is normal 14

Example Scores of students who took GRE: distribution is approximately normal, mean = 500, standard deviation = 100, what will be the characteristics of the distribution of means for samples of 50 students? Given: μ = 500 σ = 100 N = 50 15

Example Scores of students who took GRE: distribution is approximately normal, mean = 500, standard deviation = 100, what will be the characteristics of the distribution of means for samples of 50 students? Given: μ = 500 σ = 100 N = 50 Comparison distribution: μ M = μ = 500 σ 2 M = σ 2 /N = 100 2 /50 = 200 Shape: normal since N > 30 16

Revised Calculations for Distribution of Means (Z test) Recall the 5 steps to hypothesis testing: 1. Identify Population 1, Population 2, H 0, H R 2. Determine characteristics of comparison distribution 3. Determine cutoff score for rejecting H 0 4. Determine the sample score on the comparison distribution 5. Decide to reject H 0 or not 17

Revised Calculations for Distribution of Means (Z test) Recall the 5 steps to hypothesis testing: 1. Identify Population 1, Population 2, H 0, H R 2. Determine characteristics of comparison distribution 3. Determine cutoff score for rejecting H 0 4. Determine the sample score on the comparison distribution 5. Decide to reject H 0 or not use distribution of means as the comparison distribution 18

Revised Calculations for Distribution of Means (Z test) Recall the 5 steps to hypothesis testing: 1. Identify Population 1, Population 2, H 0, H R 2. Determine characteristics of comparison distribution 3. Determine cutoff score for rejecting H 0 4. Determine the sample score on the comparison distribution 5. Decide to reject H 0 or not previously: Z = (X μ)/σ now: Z = (M μ M )/σ M 19

Worked Out Example Does being told a person with positive personality increases ratings of that person s attractiveness? Study: Asks 64 randomly selected students to rate attractiveness of individual in photo Photo description: positive qualities (kindness, warmth, sense of humour, intelligence) Rating: 0 (least attractive) to 400 (most attractive) Sample mean = 220 20

Worked Out Example Prior research of attractiveness with no description 21

1. Setting up Hypotheses Population 1: Population 2: H R : H 0 : 22

1. Setting up Hypotheses Population 1: Students who are told person in photo has positive personality. Population 2: Students who are told nothing about person in photo. H R : H 0 : Which is the control group? 23

1. Setting up Hypotheses Population 1: Students who are told person in photo has positive personality. Population 2: Students who are told nothing about person in photo. H R : People with positive personalities are found to be more attractive than people we know nothing about. H 0 : People with positive personalities are found to be just as attractive or less than people we know nothing about. Is this a one- tailed or two- tailed test? 24

2. Characteristics of the Comparison Distribution Given, about test sample: N = 64 Given, about population 2: μ = 200 σ 2 = 2,304 σ = 48 25

2. Characteristics of the Comparison Distribution Given, about test sample: N = 64 Given, about population 2: μ = 200 σ 2 = 2,304 σ = 48 Comparison distr.: μ M = μ = 200 σ 2 M = σ 2 /N = 2,304/64 = 36 shape: normal since N > 30 26

3. Cutoff Sample Score on Comparison Distribution Use 5% (not sensitive data) Is this a one- tailed or two- tailed test? Recall: H R : People with positive personalities are found to be more attractive than people we know nothing about. Cutoff Z score is? 27

3. Cutoff Sample Score on Comparison Distribution Use 5% (not sensitive data) Is this a one- tailed or two- tailed test? Recall: H R : People with positive personalities are found to be more attractive than people we know nothing about. Cutoff Z score is 1.64 28

Comparison distribution of means unshaded region: 95% too extreme to be chance 29

4. Determine Sample Score on Comparison Distribution M = 220 (test sample s mean from 64 people) Compute Z score for M = 220 Z = (M μ M )/σ M = (220 200)/6 = 20/6 = 3.33 30

Comparison distribution of means Distribution of our sample 31

5. Decide to Reject H 0 or Not Is data s Z score more extreme than cutoff? Yes: 3.33 > 1.64 Thus, result of the Z test is statistically significance at p < 0.05 level Interpretation: Being told someone has positive personality increases attractiveness rating of that person 32

Summary Distribution of means When it is needed How to build one (from scratch) Determining the characteristics of one Z- test Revised hypothesis testing procedure with: Sample of 1+ individuals A distribution of means as comparison distribution Revised formula: Z = (M μ M )/σ M 33