Créer une présentation
Télécharger la présentation

Télécharger la présentation
## Testing models against data

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -

**Testing models against data**Bas Kooijman Dept theoretical biology Vrije Universiteit Amsterdam Bas@bio.vu.nl http://www.bio.vu.nl/thb master course WTC methods Amsterdam, 2005/11/02**Kinds of statistics 1.2.4**Descriptive statistics sometimes useful, frequently boring Mathematical statistics beautiful mathematical construct rarely applicable due to assumptions to keep it simple Scientific statistics still in its childhood due to research workers being specialised upcoming thanks to increase of computational power (Monte Carlo studies)**Tasks of statistics 1.2.4**• Deals with • estimation of parameter values, and confidence of these values • tests of hypothesis about parameter values • differs a parameter value from a known value? • differ parameter values between two samples? • Deals NOT with • does model 1 fit better than model 2 • if model 1 is not a special case of model 2 • Statistical methods assume that the model is given • (Non-parametric methods only use some properties of the given • model, rather than its full specification)**Nested models**Venn diagram**Testing of hypothesis**Error of the first kind: reject null hypothesis while it is true Error of the second kind: accept null hypothesis while the alternative hypothesis is true Level of significance of a statistical test: = probability on error of the first kind Power of a statistical test: = 1 – probability on error of the second kind null hypothesis decision No certainty in statistics**Contr.**NOEC * LOEC NOEC Statistical testing Response NOEC No Observed Effect Concentration LOEC Lowest Observed Effect Concentration log concentration**What’s wrong with NOEC?**• Power of the test is not known • No statistically significant effect is not no effect; • Effect at NOEC regularly 10-34%, up to >50% • Inefficient use of data • only last time point, only lowest doses • for non-parametric tests also values discarded OECD Braunschweig meeting 1996: NOEC is inappropriate and should be phased out!**Statements to remember**• “proving” something statistically is absurd • if you do not know the power of your test, • do don’t know what you are doing while testing • you need to specify the alternative hypothesis to know the power • this involves knowledge about the subject (biology, chemistry, ..) • parameters only have a meaning if the model is “true” • this involves knowledge about the subject**Independent observations**If X and Y are independent IIf**Central limit theorems**The sum of n independent identically (i.i.) distributed random variables becomes normally distributed for increasing n. The sum of n independent point processes tends to behave as a Poisson process for increasing n. Number of events in a time interval is i.i. Poisson distributed Time intervals between subsequent events is i.i. exponentially distributed**Sums of random variables**Exponential prob dens Poisson prob**Parameter estimation**Most frequently used method: Maximization of (log) Likelihood likelihood: probability of finding observed data (given the model), considered as function of parameter values If we repeat the collection of data many times (same conditions, same number of data) the resulting ML estimate**Profile likelihood**large sample approximation 95% conf interval**Comparison of models**Akaike Information Criterion for sample size n and K parameters in the case of a regression model You can compare goodness of fit of different models to the same data but statistics will not help you to choose between the models**correlations among**parameter estimates can have big effects on sim conf intervals Confidence intervals 95% conf intervals excludes point 4 length, mm includes point 4 time, d**No age, but size:**:These gouramis are from the same nest, they have the same age and lived in the same tankSocial interaction during feeding caused the huge size differenceAge-based models for growth are bound to fail; growth depends on food intake Trichopsis vittatus**Social interaction Feeding**determin expectation length reserve density 1 ind time time 2 ind length reserve density time time**Dependent observations**Conclusion Dependences can work out in complex ways The two growth curves look like von Bertalanffy curves with very different parameters But in reality both individuals had the same parameters!