Professional Documents
Culture Documents
STAT1400 Week2-Lecture 3-1
STAT1400 Week2-Lecture 3-1
au/learning/resources/ace/
respect-intellectual-property/copyright-and-uwa-unit-content
stat1400-ems@uwa.edu.au
Contributors to lecture material: Adrian Baddeley, Adriano Polpo, John Bamberg, Ed Cripps, Julie Marsh, Kevin Murray,
Gordon Royle, and Berwin Turlach.
Each column of the data table records the observed values of one
of the variables, or attributes of the experimental unit.
5"" e.G 0 s I
uo.-Je.-
(6
R Z rts
-, S. ,£o.J(
bo YJ
.j c... "'-\. Hele v, 8S
'a......
:
The data table
Age Matings
27 0
28 1
28 1
28 1
28 3
29 0
29 0
29 0
29 2
29 2
. .
. .
. .
. .
. .
. .
43 0
43 2
43 3
43 4
43 9
44 3
45 5
47 7
48 2
52 9
Frequencies (1 variable)
A first step in visualising data is to consider the frequency with
which each value occurs.
8
6
Frequency
4
2
0
0 2 4 6 8
● ●
● ●
6
Number of matings
● ●
● ● ●
4
● ● ● ● ● ●
● ● ● ● ● ● ●
2
● ● ● ● ●
● ● ●
0
30 35 40 45 50
Age in years
Questions
Drawing a nice red line through the cloud of points does not mean
that there is a genuine association.
Types of Data
Categorical data
identifies the type or category into which something falls:
gender (Male/Female),
size (Small/Medium/Large),
emergency type (Fire/Police/Ambulance),
nucleotide (A,C,T,G).
From the 2016 Australian Census
Gender
Male, Female
Age
Marital status
Never married, widowed, divorced, separated, married
Australian citizen
Yes, No
English speaking ability
Very well, well, not well, not at all
Number of births (female respondents)
Postcode
0 1 Continuous 6 7 8
Discrete