Introduction Basic use Overview Case studies
Statistical Graphics using lattice
Deepayan Sarkar
Fred Hutchinson Cancer Research Center
29 July 2008
Deepayan Sarkar Statistical Graphics using lattice
Statistical Graphics using lattice Deepayan Sarkar Fred Hutchinson - - PowerPoint PPT Presentation
Introduction Basic use Overview Case studies Statistical Graphics using lattice Deepayan Sarkar Fred Hutchinson Cancer Research Center 29 July 2008 Deepayan Sarkar Statistical Graphics using lattice Introduction Basic use Overview Case
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
gcsescore Percent of Total
5 10 15 20 25 2 4 6 8
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
gcsescore Percent of Total
10 20 30 2 4 6 8
2
2 4 6 8
4 6
2 4 6 8
8
10 20 30
10 Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
gcsescore Density
0.0 0.2 0.4 0.6 0.8 2 4 6 8
2
2 4 6 8
4 6
2 4 6 8
8
0.0 0.2 0.4 0.6 0.8
10 M F Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
qnorm gcsescore
3 4 5 6 7 8 −2 −1 1 2
2
−2 −1 1 2
4
6
−2 −1 1 2
8
3 4 5 6 7 8
10 M F
Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
M F
3 4 5 6 7 8 3 4 5 6 7 8
3 4 5 6 7 8
3 4 5 6 7 8
3 4 5 6 7 8
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
gcsescore
2 4 6 8 10 2 4 6 8
2 4 6 8
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
gcsescore
2 4 6 8 M F
F
M F
M F
M F
M F
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
depth
200 400 600 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.9 6 6.1 6.4
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Freq
50−54 55−59 60−64 65−69 70−74 20 40 60
Rural Male
20 40 60
Rural Female
20 40 60
Urban Male
20 40 60
Urban Female Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Freq
50−54 55−59 60−64 65−69 70−74 20 40 60
20 40 60
20 40 60
20 40 60
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Freq
50−54 55−59 60−64 65−69 70−74 20 40 60
Rural Female Urban Male Urban Female
Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
distance accel
0.0 0.2 0.4 0.6 0.8 100 200 300
Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
distance accel
10^−2.5 10^−2.0 10^−1.5 10^−1.0 10^−0.5 10^0.0 10^0.0 10^0.5 10^1.0 10^1.5 10^2.0 10^2.5
Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
long lat
−35 −30 −25 −20 −15 −10 165 170 175 180 185
165 170 175 180 185
165 170 175 180 185
165 170 175 180 185 −35 −30 −25 −20 −15 −10
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
lat long depth Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
lat long depth Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Univariate Tables Scatter plots Shingles Object Expenditure (billion dollars)
1940 1945 1950 1955 1960 20 40 60 80
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
Expenditure (billion dollars)
1940 1945 1950 1955 1960 2^0 2^2 2^4 2^6
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
1940 1945 1950 1955 1960
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Standardized age Height (cm)
130 140 150 160 170 −1.00.0 1.0
140 150 160 170
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Coursework score Written exam score
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Coursework score Written exam score
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
course written
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Standardized age Height (cm)
130 140 150 160 170 −1.00.0 1.0
140 150 160 170
Standardized age Height (cm)
130 140 150 160 170 −1.00.0 1.0
140 150 160 170
Standardized age Height (cm)
130 140 150 160 170 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 −1.00.0 1.0 130 140 150 160 170
Standardized age Height (cm)
130 140 150 160 170 −1.00.0 1.0
140 150 160 170
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
course written + fitted(fm)
20 40 60 80 20 40 60 80 100
20 40 60 80 100
course written
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
course written
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
course written
20 40 60 80 20 40 60 80 100
20 40 60 80 100
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Density
Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming 0.0 0.2 0.4 0.6 0.8 1.0
Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming 10^−3 10^−2 10^−1 10^0
Density
Alaska Wyoming Montana Nevada South Dakota North Dakota New Mexico Idaho Utah Arizona Nebraska Oregon Colorado Kansas Maine Oklahoma Arkansas Texas Minnesota Mississippi Vermont Iowa Washington Missouri Alabama West Virginia Wisconsin Louisiana Georgia Kentucky New Hampshire South Carolina Tennessee North Carolina Virginia Hawaii California Indiana Florida Michigan Illinois Ohio Pennsylvania Delaware New York Maryland Connecticut Massachusetts Rhode Island New Jersey 0.0 0.2 0.4 0.6 0.8 1.0
Alaska Wyoming Montana Nevada South Dakota North Dakota New Mexico Idaho Utah Arizona Nebraska Oregon Colorado Kansas Maine Oklahoma Arkansas Texas Minnesota Mississippi Vermont Iowa Washington Missouri Alabama West Virginia Wisconsin Louisiana Georgia Kentucky New Hampshire South Carolina Tennessee North Carolina Virginia Hawaii California Indiana Florida Michigan Illinois Ohio Pennsylvania Delaware New York Maryland Connecticut Massachusetts Rhode Island New Jersey 10^−3 10^−2 10^−1 10^0
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
Frost
Florida Louisiana Alabama Texas Mississippi Georgia Arkansas South Carolina Tennessee North Carolina Oklahoma Virginia Kentucky West Virginia Maryland Delaware 50 100 150
Hawaii Arizona California Washington Oregon New Mexico Idaho Utah Alaska Montana Colorado Wyoming Nevada
New York Massachusetts New Jersey Pennsylvania Rhode Island Connecticut Maine Vermont New Hampshire
Missouri Kansas Indiana Ohio Michigan Illinois Nebraska Iowa Wisconsin Minnesota South Dakota North Dakota
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice
rate.female rate.male
100 200 300 400 500 600 50 150250350
Colorado Arizona
50 150250350
California Wyoming
50 150250350
Montana Utah
50 150250350
Oregon New Mexico
50 150250350
Nebraska Idaho
50 150250350
New Jersey Washington
50 150250350
Alaska Rhode Island Connecticut New York South DakotaVermontNorth Dakota MassachusettsKansas New Hampshire Wisconsin Nevada Minnesota
100 200 300 400 500 600
Iowa
100 200 300 400 500 600
Maine MichiganPennsylvania Ohio Florida Missouri Indiana West Virginia Texas Illinois Delaware Maryland Oklahoma Virginia
50 150250350
North Carolina Tennessee
50 150250350
Arkansas Georgia
50 150250350
Kentucky Louisiana
50 150250350
Alabama South Carolina
50 150250350 100 200 300 400 500 600
Mississippi
Introduction Basic use Overview Case studies Regression Lines Reordering Summary
Deepayan Sarkar Statistical Graphics using lattice