Analyzing orientation behaviour in animals using Stan JOHN D. KIRWAN - - PowerPoint PPT Presentation

analyzing orientation behaviour in animals using stan
SMART_READER_LITE
LIVE PREVIEW

Analyzing orientation behaviour in animals using Stan JOHN D. KIRWAN - - PowerPoint PPT Presentation

Analyzing orientation behaviour in animals using Stan JOHN D. KIRWAN With the help of The Lund Vision Group Dan-E Nilsson Jochen Smolka James J. Foster Anna Stckl Ullrika Sahlin Richard McElreath (for Statistical rethinking ) All those


slide-1
SLIDE 1

Analyzing orientation behaviour in animals using Stan

JOHN D. KIRWAN

slide-2
SLIDE 2

With the help of…

The Lund Vision Group Dan-E Nilsson Jochen Smolka James J. Foster Anna Stöckl Ullrika Sahlin Richard McElreath (for Statistical rethinking) All those involved in R, Stan and brms

slide-3
SLIDE 3

Directions are everywhere!

el Jundi et al. Current Biology 2016

slide-4
SLIDE 4

Rachel Muheim et al. PNAS 2016

Compass bearings

slide-5
SLIDE 5

Time periods

slide-6
SLIDE 6

Analysis is unduly rudimentary

  • Reliance on null hypothesis testing
  • Assumptions not always met
  • Less emphasis on effect size, uncertainty
slide-7
SLIDE 7
  • I. How well can millipedes see?
slide-8
SLIDE 8

Response to a visual signal by a millipede

slide-9
SLIDE 9
slide-10
SLIDE 10

Discretize and apply the psychometric function

ψ "; α, β, γ, λ = * + 1 − * − . / 0("; α, β)

Define threshold by the inflection pt.

slide-11
SLIDE 11

...do you have a moment to talk about Bayes? Excuse me, sir…

slide-12
SLIDE 12

Millipedes can resolve a 22º visual signal

!

" ~ $ + η 1 − $ − )

η ~ Binomial(ni pi) logit(pi) = α + αindividual[i] + Xiβi λ ~ Beta(8,2) γ ~ Normal(0.2,0.02) βi ~ Normal(0,2) σ ~ t3(0,10) αindividual[i] ~ t3(0,10)

slide-13
SLIDE 13

As can velvet worms

slide-14
SLIDE 14
  • II. Do dung beetles orient using polarized light?
  • Use nocturnal celestial cues to roll their

dung ball away in straight course

  • Sensitive to polarized light cues
  • Do they use the degree of polarization?

James J. Foster, Lund Vision Group

slide-15
SLIDE 15

Tested clustering in experimental arena

  • Eight treatments:

from almost zero to total polarization

  • Released into centre of cylindrical arena
  • Compare clustering of tracks

James J. Foster, Lund Vision Group

slide-16
SLIDE 16

Beetles increasingly orient with more polarization

slide-17
SLIDE 17

Which senses are important? At what speed? Night vs. day?

  • III. How well do moths track flowers?
slide-18
SLIDE 18

Tracked responses to a robotic flower

  • Treatments:

– Different flower frequency (Hz) – Bright vs. dim light – Antennae condition

  • Outcome is complex!

– ρ and θ on unit circle

Stöckl et al. Phil Trans B. (2017)

slide-19
SLIDE 19

Anna L. Stöckl et al. Phil. Trans. R. Soc. B 2017

Gain (ρ) Phase (θ)

Differences in flower tracking among moths

slide-20
SLIDE 20

Phase change with multiple predictors

  • Both mean and

concentration of phase angles vary

  • Model both elements of

complex outcome?

slide-21
SLIDE 21

Summary

  • Bayesian multilevel modelling facilitates getting the

most from directional data

  • Sensory studies benefit from:

– multiple effects incl. random effects – more appropriate models – expressing effect size & uncertainty

  • Stan/brms makes this possible!