hao chai dereck shen. skull dataset 138 skulls from 10 regions thickness was measured at 219...

18
Thickness of Skull Hao Chai Dereck Shen

Upload: morris-osborne

Post on 23-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Thickness of SkullHao Chai

Dereck Shen

Page 2: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Skull dataset138 skulls from 10 regionsThickness was measured at 219 locations on

each skullOther variables in dataset:

Age of person (at time of death)Sex of personDimensions of the skull (length/width/height)

Page 3: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Goals of the studyTo determine what factors affect the

thickness of the skull. If such effects exist, where on the skull do we see it?

Hannah is particularly interested in: (1) Sex effect (2) Climate effect (warm/cold)

Page 4: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Challenges/issues Unbalanced dataCorrelation structureMultiple comparisons using Bonferroni

correction

Page 5: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Changes to the datasetTurned Age into a categorical variable:

Young (30 or younger)Mid-age (between 30 and 45)Old (45 or older)

Added a Climate factor derived from the regions:Warm (Australia, Egypt, etc.)Cold (Scandinavia, Northern Russia, etc.)China (can’t be classified as either warm or

cold)

Page 6: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Classical analysis: Model 1At each location, we fitted an additive

model with the following variables:Three factors: Sex, Age, RegionThree covariates: Length/Width/Height of skull

Obtained the p-value of each factor using the Anova() function from ‘car’ package

Determine significance by comparing p-value to the Bonferroni-adjusted threshold: .05/219

Page 7: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Anova() from ‘car’‘car’ stands for companion to applied

regression; it’s a package written as a companion to a textbook

Anova() gives us the anova table with Type III tests

We don’t use the anova() function in the base package because it only provides us with Type I tests

Page 8: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Sample output with Anova()> lm.out=lm(y~Sex + Age.fa + Region + Glabella.Opisthocranion + Vertex.Basion + Euryon.Euryon)> Anova(lm.out,type="III")Anova Table (Type III tests)

Response: y Sum Sq Df F value Pr(>F) (Intercept) 0.01384 1 0.9864 0.32262 Sex 0.03028 1 2.1591 0.14435 Age.fa 0.06297 2 2.2447 0.11039 Region 0.24197 9 1.9168 0.05572 .Glabella.Opisthocranion 0.00759 1 0.5410 0.46347 Vertex.Basion 0.00005 1 0.0035 0.95262 Euryon.Euryon 0.00595 1 0.4241 0.51613 Residuals 1.68315 120 ---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Page 9: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Classical analysis: Model 2Same as the first model, the only change is

we replace the Region factor with the Climate factor

Page 10: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 11: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 12: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Results Sex is not significant at any location Age is significant at certain locations Region is significant at certain locationsThe number of locations where Climate is

significant is fewer than that of Region, which suggests loss of information when we replace Region with Climate

Page 13: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 14: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 15: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Using pixel plots to show age effectAt each location, fit the previous additive

model without the Age factorThe residuals from the above model now

hold the age signalUsing the pixel plot function from

‘spastat’ package, we can plot the average of the residuals at each location on a 2-D map of the skull

We do this for each of the three age groups

Page 16: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 17: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of
Page 18: Hao Chai Dereck Shen. Skull dataset 138 skulls from 10 regions Thickness was measured at 219 locations on each skull Other variables in dataset: Age of

Next stepUse permutation test to test for the effects