We start Part II (Quantifying Uncertainty) today Lab 2 - Equations Tomorrow - Tue 3-5 or 7-9 PM - SN 4117 Assignment 2 – Data Equations Due Wednesday
Data = Model + Residual Chapter 5 Data Equations Data = Model + Residual
Data Equations Central concept in the course We’ll teach a general approach that will allow you to set up an appropriate analysis of data You don’t have to worry about whether you have selected the ‘right’ test We are going to use data equations to compare models to data Data = Model + Residual
Flexible approach Data = Model + Residual
Symbolic expression Analyse data Increase confidence using model triangle – Link symbols with graphical and verbal model Data Verbal GraphicalFormal
Assessing fit We’ll use data equations to measure: – How well the model fits the data (goodness of fit) – Error rate Model Plant height Time in sunlight Data We do not expect a perfect fit But model and observed values should be close
Definition Three terms: Y=Ŷ+εY=Ŷ+ε DataModelResidual ObservedExpectedError Fitted Residuals: ε= Y -Ŷ
e.g. Dobzhansky’s Fruit Flies Dobzhansky pioneered work on fruit fly evolutionary genetics in the lab and field One research question he addressed was: – Does genetic variability decrease at higher altitude, due to stronger selection in extreme environments? Nothing in Biology Makes Sense Except in the Light of Evolution
e.g. Dobzhansky’s Fruit Flies Nothing in Biology Makes Sense Except in the Light of Evolution Heterozygosity H (%) Elevation E (km) Nothing in Biology Makes Sense Except in the Light of Statistics ?
Heterozygosity H (%) Elevation E (km) Model? Heterozygosity in Drosophila = 40% Data = Model + Residual H =Ĥ + ε H = 40% + ε Many options First we’ll check deviance from a single value
==== = = = = = = = ∑ With this simple model, we can form 7 data equations Summed residuals is a measure of bias Summed residuals 2 is a measure of goodness of fit
What if the parameter is unknown?
==== = = = = = = = ∑ Form 7 data equations
Single value vs. Mean model Mean model: unbiased and better fit But biological criteria have been replaced by statistical criteria
e.g. Dobzhansky’s Fruit Flies Nothing in Biology Makes Sense Except in the Light of Evolution Heterozygosity H (%) Elevation E (km) What about elevation?...don't you remember my question? Does genetic variability decrease at higher altitude, due to stronger selection in extreme environments?
%/kmkm%%
Heterozygosity H (%) Elevation E (km)
==== = = = = = = = ∑ With this equation, we can calculate fitted values ? ? ? ? ? ? ? ? ? ? ? ? ? ?
There’s a better way to estimate slope
Model comparison ∑ res = ∑ res = 0 ∑ res = ∑ res = 0 Two unbiased models ∑ res 2 = ∑ res 2 = Reduction in squared deviance ∑ res 2 =