36
Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Embed Size (px)

Citation preview

Page 1: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Outline

1. Tables as representations of data2. Graphs

* Definition* Components

3. Types of graph* Bar* Line* Frequency distribution* Scattergram

Page 2: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Tables present data

• summarize data (no need to look at each individual data point).

• show numerical relationships in a matrix.

• advantage – effect sizes computable

• disadvantage – patterns in data more difficult to see than with graphs

Page 3: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

An example

Stimulus sizeSmallMedium Large

Unfam 550 460 420

Familiar 460 420 400 90 40 20

Effect sizes (msec)

Reaction times in msec

Page 4: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

2. Graphs – Definitions

• Graphs are visual representations of a set of data points.

• Most graphs are two-dimensional, using Cartesian co-ordinate system (X and Y).

• Data are presented as a function relating X to Y.

Page 5: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

2. Graphs – Definitions

• Graphs are visual representations of a set of data points.

X

Y

X1

Y1

Page 6: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

2. Graphs – Components

• X-axis shows independent variable.

• Y-axis shows dependent variable

X

Y

Origin: X = 0 and Y = 0

Page 7: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

2. Graphs – Components

• The slope of the function indicates how Y changes as X changes across a set of observations

X

Y

a

b

Slope = ab

Page 8: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

2. Graphs – Components

• The intercept of the function indicates the value of Y when X = 0

X

Y

Page 9: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3. Types of graphs

A. Bar graphs.

B. Line graphs

C. Frequency distributions

D. Scattergrams

Page 10: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3a – Bar Graphs

• Bar graphs– Data represented as bars– height indicates D.V.– location along X axis indicates I.V.– Use when data are categorical rather than

quantitative.

• Example on next slide.

Page 11: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

# pairs of shoes owned

Women Men

Graph shows average # for each of our samples – one of women and one of men

Page 12: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram
Page 13: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

If The Economist had put the full line for America in at the scale they used in their original graph, it would have been 6 feet 10 inches long (roughly 20 times the length of the line for Britain).

By my rough interpolation, Americans give almost 5 times as much in private donations as the next 17 countries combined. That information is hidden in the Economist’s original graph.

Page 14: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram
Page 15: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line graphs

• Show D.V. as a function of I.V.

• Points show actual data• Lines connecting points

show interpolations

• Use when response varies continuously with I.V. – but be careful about interpolation and extrapolation.

Page 16: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line graphs

• Interpolation – inferring the Y value at an X between two known X values

X

Y

Page 17: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line graphs

• Extrapolation – inferring the Y value at an X beyond the range of X values for which you have data

X

Y

Page 18: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line Graphs

• Spatial relationships illustrate quantitative relationships

– Slope– Y-intercept

Page 19: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line Graphs

• Note the equation for a line:

Y = ax + b

a = slope and b = intercept.

Page 20: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Slope

• the rate of change in X with change in Y (or vice-versa).

• tells us how much change on Y scale is associated with a one-unit change on X

• slope can be positive or negative

Page 21: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Y

654321

Positive slope – as Y gets Negative slope – as Y getslarger, X gets larger. larger, X gets smaller.

Y

654321

X X

Page 22: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Y

654321

X

Zero slope – no relation between X and Y.

Page 23: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Intercept

• the value of Y when X = 0, so that the line intercepts the Y axis.

• shows minimum (or maximum) value of Y

Page 24: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line Graphs

• Linear functions:– a unit change in X is

associated with a unit change in Y.

– e.g., for each dollar, you get one chocolate bar.

Y

654321

X

Page 25: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3b – Line Graphs• Non-linear functions:

– amount of change in Y for a unit change in X depends upon where you are on X scale.

– e.g., the more chocolate bars you buy, the less each one costs.

Page 26: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

The Yerkes-Dodson law relates arousal to stimulation – an example of a nonlinear function in Psychology

Arousal

Per

form

ance

Page 27: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3c – Frequency Distributions

• Show frequency with which different observations happen

• Y axis = how many scores there are at each X value in the data set.

Page 28: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3c. Frequency distributions• Show how many scores occur in various ranges – e.g.:

Range # of scores

1 – 3 54 – 6 87 – 9 1210 – 12 913 – 15 4

Page 29: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Normal distributions

Observations near average are common.

Y-axis measures frequency with which scores are found

Those at extremes are much less common

Page 30: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3d - Scattergrams

• Show X-Y relation for individual cases

• That is, these show I.V. – D.V. relation for cases

• E.g., on next slide, we see relationship between IQ (Y axis) and spatial ability (X axis)

Page 31: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Spatial ability

Inte

llige

nce

test

Page 32: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

3e Importance of Tables and Graphs

• A good graph or table helps you understand your results.

• Similarly, a good graph or table helps you explain your results to someone else.

• Consider the following three ways of presenting roughly the same information:

Page 33: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

“High frequency words are read faster than low frequency words, but the difference is greater if the words are irregular in spelling than if they are regular in spelling.”

Page 34: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

HF LF

IRR 475 600 125REG 450 500 50

25 100

IRR = irregularly spelled words HF = high frequencyREG = regularly spelled words LF = low frequency

Typical average reading times (msec)

Page 35: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

HF LF

IRR

REG

RT

Page 36: Outline 1. Tables as representations of data 2. Graphs * Definition * Components 3. Types of graph * Bar * Line * Frequency distribution * Scattergram

Review

• Tables and graphs summarize data

• Tables allow quick computation of effect sizes

• Graphs use spatial relationships to show relationships among variables in the data

• Graphs show patterns in the data