36
Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso Ovaskainen University of Helsinki, Finland NTNU Trondheim, Norway

Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Embed Size (px)

Citation preview

Page 1: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Global

Analyzing community data with joint species distribution models

abundance, traits, phylogeny, co-occurrence and spatio-temporal structures

Otso Ovaskainen

University of Helsinki, FinlandNTNU Trondheim, Norway

Page 2: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

What structures the assembly and dynamics of communities?

Leibold et al. (2004): The dynamics and distributions of communities are shaped by the interplay between

i. environmental filteringii. species interactionsiii. spatial and stochastic processes

Logue et al. (2011): Metacommunity theories are still poorly linked with data. There is a lack of statistical frameworks that would enable one to infer metacommunity processes from data typically available in community ecological studies.

Page 3: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Data typically available for community ecological studies

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Page 4: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Global

Regional

Local

A statistical framework for community ecology

global species pool

regional species pool

Spatial and neutral processes

phylogeneticrelationships

species traits

local species pool

Biotic interactions

Environmental filtering

different diversity measuresEnvironmental variation

observed community

Sampling process

Dorazio and Royle 2005, Dorazio et al. 2006, Kery et al. 2009, Russell et al. 2009, Dorazio et al. 2010, Zipkin et al. 2010, Ovaskainen and Soininen 2011, Jackson et al. 2012, Olden et al. 2014, Dunstan et al. 2011, Hui et al. 2013, Ovaskainen et al. 2015ab

le Roux et al. 2014, Pellissier et al. 2013, Ovaskainen et al. 2010, Sebastian-Gonzalez et al. 2010, Pollock et al. 2014, Clark et al. 2014, Ovaskainen et al. 2015a

Pollock et al. 2012,Brown et al. 2014,Ovaskainen et al. 2015a.

Dorazio and Connor 2014

Helmus et al. 2007, Ives and Helmus 2011

Latimer et al. 2009 , Blangiardo et al. 2013, Borcard and Legendre 2002, Dray et al. 2006, Dray et al. 2012, Thorson et al. 2015, Ovaskainen et al 2015b

Dorazio and Royle 2005, Dorazio et al. 2006, Kery et al. 2009, Russell et al. 2009, Dorazio et al. 2010, Zipkin et al. 2010

Evolutionary processes

Page 5: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

SDM (species distribution model)

Page 6: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Linear predictor for sampling unit j

Species occurrence:

environmental covariates regression parameters

SDM (species distribution model)

𝑦 𝑗=1𝑧 𝑗>0

𝑧 𝑗=𝐿 𝑗+𝜀 𝑗Latent occurrence score:

Example link function: probit regression for presence-absence data

𝜀 𝑗 𝑁 (0,1)Residual:

Page 7: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

JSDM (joint species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Page 8: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Latent occurrence score for species i in sampling unit j

residual

environmental covariates

Approaches to community modelling (Ferrier and Guisan, 2006):

• ‘assemble first, predict later’ • ‘predict first, assemble later’• ‘assemble and predict together’

regression parameters

JSDM (joint species distribution model)

Page 9: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

Approaches to community modelling (Ferrier and Guisan, 2006):

• ‘assemble first, predict later’ • ‘predict first, assemble later’• ‘assemble and predict together’

JSDM (joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 10: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

𝛽𝑖 ∙ 𝑁 (𝜇 ,V )

Species level Community level

JSDM (joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 11: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Num

ber o

f spe

cies

Number of sites

independent models, prior 1

independent models, prior 2

community model, prior 1

community model, prior 2

training data

full data

Ovaskainen and Soininen (Ecology, 2011)Oldén et al. (Plos one, 2014)

Example: borrowing information from other species to parameterize models for rare species

500 diatom species surveyed for presence-absence on 105 sampling units (streams)

Training data: 35 sampling unitsValidation data: 70 sampling units

Page 12: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

ov(, ) ,

JSDM (joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Ovaskainen et al. (Methods in Ecology and Evolution, 2015a)Warton et al. (TREE, 2015)

factor loadingslatent factors

Modelling co-occurrence through latent factors

Page 13: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

P(negative association)>0.95

P(positive association)>0.95

Example: co-occurrence among wood-inhabiting fungi

Ovaskainen et al. (Methods in Ecology and Evolution, 2015a)

Page 14: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Resource unit Plot Forest Total

Co-occurrence can be estimated at multiple spatial scales

Ovaskainen et al. (Methods in Ecology and Evolution, 2015a)

Page 15: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Prevalence

Tjur

Ovaskainen et al. (Methods in Ecology and Evolution, 2015a)

Accounting for co-occurrence improves model predictions

Prediction based on covariates and the

occurrences of other species

Prediction based on covariates only

Page 16: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Latent variables can be viewed as model based ordination

Model-based biplots for alpine plant data, from Warton et al. (TREE, 2015)

Page 17: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

TJSDM (trait-based joint species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Page 18: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

TJSDM (trait-based joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 19: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

traits

environmental covariates

𝛽 𝑁 (T 𝛾 ,V )Species level Community level

TJSDM (trait-based joint species distribution model)

regression parameters

regression parameters: how traits influence the species responses to environmental covariates

Latent occurrence score for species i in sampling unit j

Page 20: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

agaricoid

resupinate corticioid

pileate corticioid

discomycetoid

resupinate polyporoid

pileate polyporoid

ramarioid

st

romatoid

tre

melloid

spore size

spore

ornamentation

spore cell wall

presence of

asexual st

ructures

30 µm 50 µm 0% 40% 0% 15% 30% 70%

Life-form

Example: distribution of fungal traits

Most abundant group

Nat

ural

fore

sts

Least abundant group

Abrego, Norberg and Ovaskainen (in prep)

Page 21: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

agaricoid

resupinate corticioid

pileate corticioid

discomycetoid

resupinate polyporoid

pileate polyporoid

ramarioid

st

romatoid

tre

melloid

spore size

spore

ornamentation

spore cell wall

presence of

asexual st

ructures

30 µm 50 µm 0% 40% 0% 15% 30% 70%

Life-form

Example: distribution of fungal traits

Most abundant group

P(difference between natural and managed forests)>0.95

Nat

ural

fore

sts

Man

aged

fore

sts

More common in managed forestsLess common in managed forests

Least abundant group

Abrego, Norberg and Ovaskainen (in prep)

Page 22: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

or(, )Co-occurrence between species and ’

R=R(T )

TJSDM (trait-based joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 23: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

PTJSDM (phylogenetically constrained trait-based joint species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

1980

2000

Occurrence Environment

Phylogeny Traits

Space and time

Page 24: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

1980

2000

Occurrence Environment

Phylogeny Traits

Space and time

PTJSDM (phylogenetically constrained trait-based joint species distribution model)

Page 25: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

𝛽 𝑁 (T 𝛾 ,V ⨂[𝜌C+ (1− 𝜌 ) I ])

Species level TraitsPhylogenetic relationship

matrix

Strength of phylogenetic

signal

PTJSDM (phylogenetically constrained trait-based joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Ives and Helmus (Ecological Monographs, 2011)

Page 26: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

agaricoid

resupinate corticioid

pileate corticioid

discomycetoid

resupinate polyporoid

pileate polyporoid

ramarioid

st

romatoid

tre

melloid

spore size

spore

ornamentation

spore cell wall

presence of

asexual st

ructures

30 µm 50 µm 0% 40% 0% 15% 30% 70%

Life-form

Example: distribution of fungal traits is correlated with phylogeny

Most abundant group

Nat

ural

fore

sts

Least abundant group

Abrego, Norberg and Ovaskainen (in prep)

Strength of phylogenetic signal:

Page 27: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

STSDM (spatio-temporal species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Page 28: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

ov(, Spatial, temporal or spatio-

temporal covariance

STSDM (spatio-temporal species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 29: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Jousimo et al. (in prep)

Example: inferring spatio-temporal population dynamics of wolf from winter-track data

The data The fitted model

Page 30: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

STJSDM (spatio-temporal joint species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Page 31: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

residual

environmental covariates

ov(, Co-occurrence between species and in

sampling units and

STJSDM (spatio-temporal joint species distribution model)

regression parameters

Latent occurrence score for species i in sampling unit j

Page 32: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Late

nt fa

ctor

s

Trai

ning

and

va

lidati

on d

ata

Cova

riate

s

Example: modelling the distributions of 55 butterfly species in GB

Ovaskainen et al. (Methods in Ecology and Evolution, 2015b)

Page 33: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

The inclusion of spatially structured latent factors improved the model’s ability to predict the validation data

Spec

ies-

spec

ific

Tjur

’s

Covariates and latent factors, mean = 0.42

Covariates only, mean = 0.30

Prevalence

Page 34: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

STPTJSDM (spatio-temporal phylogenetically constrained trait-based joint species distribution model)

Y

speciessa

mpl

ing

units

X

covariates

Cspecies

Tspec

ies

traits

Occurrence Environment

Phylogeny Traits

1980

2000

Space and time

Ovaskainen et al. (ms)

Page 35: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Software

Environmental covariatesTraitsPresence-absence dataCo-occurrence through latent variables

Abundance (and other kinds of) dataPhylogenetic correlationsSpatio-temporal latent variables

Latent variables that co-vary with measured covariatesTime-series modelsEtc.

In p

repara

tion

Interested in contributing? Post-doc (and other) funding available for 2016-2017Contact: [email protected]

Page 36: Global Analyzing community data with joint species distribution models abundance, traits, phylogeny, co-occurrence and spatio-temporal structures Otso

Global

Conclusions

• There is a lack of statistical frameworks that would enable one to infer metacommunity processes from data typically available in community ecological studies.

• Joint species distribution modelling is one fast developing area which tries to fill this gap.

• A lot of relevant structures can be built into generalized hierarchical linear mixed models: hierarchical layers, covariance structures, error structures and link functions.

• The joint species distribution models presented here are of general nature and thus applicable to many kinds of study systems and study questions.

• More refined information on specific systems may be obtained by other approaches (e.g. process-based state-space models).