Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 ·...

101
Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu * and Josh Gould * Department of Statistics & Actuarial Science CMAR-Hobart Science Seminar, March 6, 2009 1

Transcript of Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 ·...

Page 1: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Statistical Inference for Food WebsPart I: Bayesian Melding

Grace Chiu∗

andJosh Gould

∗ Department of Statistics & Actuarial Science

CMAR-Hobart Science Seminar, March 6, 2009 1

Page 2: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniquesENA statistical inference

statistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline NetworkSummary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 3: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniquesENA statistical inference

statistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline NetworkSummary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 4: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniques

ENA statistical inferencestatistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline NetworkSummary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 5: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniquesENA statistical inference

statistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline NetworkSummary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 6: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniquesENA statistical inference

statistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline Network

Summary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 7: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Outline

Overview: existing vs. statistical approaches forTrophic contextWhole-system context: ecological network analysis (ENA)

Present ENA techniquesENA statistical inference

statistical perspective of mass balanceBayesian melding

Example: Chesapeake Bay Mesohaline NetworkSummary and Conclusion

CMAR-Hobart Science Seminar, March 6, 2009 2

Page 8: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

CMAR-Hobart Science Seminar, March 6, 2009 3

Page 9: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

CMAR-Hobart Science Seminar, March 6, 2009 3

Page 10: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

... that was only for trophicrelations ...

CMAR-Hobart Science Seminar, March 6, 2009 3

Page 11: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (1) Trophic

Food web, trophically

structure of interdependence among speciespredator-prey links =⇒ feeding patternslinks can be weighted:e.g. predation frequency

Existing work for trophic analyses:examine interactions between providers (prey) andbenefactors (predators)(semi-)quantitative techniques for systematic extraction ofthe meaning of these interactionse.g. trophic hierarchy / compartments

CMAR-Hobart Science Seminar, March 6, 2009 4

Page 12: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (1) Trophic

Food web, trophicallystructure of interdependence among speciespredator-prey links =⇒ feeding patternslinks can be weighted:e.g. predation frequency

Existing work for trophic analyses:examine interactions between providers (prey) andbenefactors (predators)(semi-)quantitative techniques for systematic extraction ofthe meaning of these interactionse.g. trophic hierarchy / compartments

CMAR-Hobart Science Seminar, March 6, 2009 4

Page 13: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (1) Trophic

Food web, trophicallystructure of interdependence among speciespredator-prey links =⇒ feeding patternslinks can be weighted:e.g. predation frequency

Existing work for trophic analyses:examine interactions between providers (prey) andbenefactors (predators)(semi-)quantitative techniques for systematic extraction ofthe meaning of these interactions

e.g. trophic hierarchy / compartments

CMAR-Hobart Science Seminar, March 6, 2009 5

Page 14: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (1) Trophic

Food web, trophicallystructure of interdependence among speciespredator-prey links =⇒ feeding patternslinks can be weighted:e.g. predation frequency

Existing work for trophic analyses:examine interactions between providers (prey) andbenefactors (predators)(semi-)quantitative techniques for systematic extraction ofthe meaning of these interactionse.g. trophic hierarchy / compartments

CMAR-Hobart Science Seminar, March 6, 2009 5

Page 15: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

CMAR-Hobart Science Seminar, March 6, 2009 6

Page 16: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

and now, for whole-systemrelations...

CMAR-Hobart Science Seminar, March 6, 2009 6

Page 17: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web

CMAR-Hobart Science Seminar, March 6, 2009 6

Page 18: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (2) Whole System

Ecological Network (whole-system food web)

trophic compartments and susbstance / energy throughputthis interdependence is subject to system balancenotion of balance based on thermodynamics

Existing Work: Ecological Network Analysis (ENA)deterministic biophysical theory in a balance modelquantity of exchange of substance / energy amongcompartmentsextract characteristics of these quantities

=⇒ describe interactions among compartments

CMAR-Hobart Science Seminar, March 6, 2009 7

Page 19: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (2) Whole System

Ecological Network (whole-system food web)trophic compartments and susbstance / energy throughputthis interdependence is subject to system balancenotion of balance based on thermodynamics

Existing Work: Ecological Network Analysis (ENA)deterministic biophysical theory in a balance modelquantity of exchange of substance / energy amongcompartmentsextract characteristics of these quantities

=⇒ describe interactions among compartments

CMAR-Hobart Science Seminar, March 6, 2009 7

Page 20: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Aspects of a Food Web: (2) Whole System

Ecological Network (whole-system food web)trophic compartments and susbstance / energy throughputthis interdependence is subject to system balancenotion of balance based on thermodynamics

Existing Work: Ecological Network Analysis (ENA)deterministic biophysical theory in a balance modelquantity of exchange of substance / energy amongcompartmentsextract characteristics of these quantities

=⇒ describe interactions among compartments

CMAR-Hobart Science Seminar, March 6, 2009 7

Page 21: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Disclaimer

Images of food webs were generated by aGoogle search.

CMAR-Hobart Science Seminar, March 6, 2009 8

Page 22: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Trophic analysis and ENA

Main Goal:to understand / predict (e.g. over time) within-web interactionsbased on the quantities associated with the edges (arrows)between pairs of species / compartments

ISSUES:randomness of quantities ignoredno formal statistical inference of interaction patterns orpredictionsfor ENA,

randomness =⇒ observed quantities don’t balancesome quantities are unobservable from field —computer algorithms generate missing quantities tominimize imbalance (e.g. EcoSim / EcoPath)

=⇒ further complicating any inference attempts!

CMAR-Hobart Science Seminar, March 6, 2009 9

Page 23: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Trophic analysis and ENA

Main Goal:to understand / predict (e.g. over time) within-web interactionsbased on the quantities associated with the edges (arrows)between pairs of species / compartments

ISSUES:randomness of quantities ignoredno formal statistical inference of interaction patterns orpredictionsfor ENA,

randomness =⇒ observed quantities don’t balancesome quantities are unobservable from field —computer algorithms generate missing quantities tominimize imbalance (e.g. EcoSim / EcoPath)

=⇒ further complicating any inference attempts!

CMAR-Hobart Science Seminar, March 6, 2009 9

Page 24: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Trophic analysis and ENA

Main Goal:to understand / predict (e.g. over time) within-web interactionsbased on the quantities associated with the edges (arrows)between pairs of species / compartments

ISSUES:randomness of quantities ignoredno formal statistical inference of interaction patterns orpredictionsfor ENA,

randomness =⇒ observed quantities don’t balancesome quantities are unobservable from field —computer algorithms generate missing quantities tominimize imbalance (e.g. EcoSim / EcoPath)

=⇒ further complicating any inference attempts!

CMAR-Hobart Science Seminar, March 6, 2009 9

Page 25: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

A statistician’s ideas...

Alternative Trophic Analysis:take a completely quantitative regression approach:

accounts for randomness of data!accounts for substance exchange! and other variables

proper inference possible from regression modellingincludes prediction inference —for pairwise links and compartments AND over time

simple scatterplots to identify and interpret compartments

that’ll be Statistical InferencePart II

CMAR-Hobart Science Seminar, March 6, 2009 10

Page 26: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

A statistician’s ideas...

Alternative Trophic Analysis:take a completely quantitative regression approach:

accounts for randomness of data!accounts for substance exchange! and other variables

proper inference possible from regression modellingincludes prediction inference —for pairwise links and compartments AND over time

simple scatterplots to identify and interpret compartments

that’ll be Statistical InferencePart II

CMAR-Hobart Science Seminar, March 6, 2009 10

Page 27: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

A statistician’s ideas...

Alternative Trophic Analysis:take a completely quantitative regression approach:

accounts for randomness of data!accounts for substance exchange! and other variables

proper inference possible from regression modellingincludes prediction inference —for pairwise links and compartments AND over time

simple scatterplots to identify and interpret compartments

that’ll be Statistical InferencePart II

CMAR-Hobart Science Seminar, March 6, 2009 10

Page 28: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Statistical Inference Part I

ENA Statistical Inference:can overcome empirical imbalance by incorporatingrandomness through Bayesian Meldingcan fill in missing quantities by prediction inference withinBayesian frameworkcan be extended to temporal model without explicitcalibration (as opposed to, e.g. morphing multiple staticanalyses into a single dynamics model)

CMAR-Hobart Science Seminar, March 6, 2009 11

Page 29: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Statistical Inference Part I

ENA Statistical Inference:can overcome empirical imbalance by incorporatingrandomness through Bayesian Meldingcan fill in missing quantities by prediction inference withinBayesian frameworkcan be extended to temporal model without explicitcalibration (as opposed to, e.g. morphing multiple staticanalyses into a single dynamics model)

CMAR-Hobart Science Seminar, March 6, 2009 11

Page 30: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Statistical Inference Part I

ENA Statistical Inference:can overcome empirical imbalance by incorporatingrandomness through Bayesian Meldingcan fill in missing quantities by prediction inference withinBayesian frameworkcan be extended to temporal model without explicitcalibration (as opposed to, e.g. morphing multiple staticanalysis into a single dynamics model)

CMAR-Hobart Science Seminar, March 6, 2009 12

Page 31: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Simple e.g. from Ulanowicz (Comput. Biol. & Chem., 2004):

Fix a transfer medium, e.g. nitrogen or heat. Let

i , j = compartment labelTij = rate of transfer of medium from i to jXi = rate of exogenous input of medium to iEi = rate of external transfer of medium from iRi = rate of dissipation of medium from i

Balance Equation:

total inflow rate = total outflow rate=⇒ Xi +

∑j

Tj i =∑

j

Ti j + Ei + Ri

Ideally, do this over all n compartments and K media.

CMAR-Hobart Science Seminar, March 6, 2009 13

Page 32: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Simple e.g. from Ulanowicz (Comput. Biol. & Chem., 2004):

Fix a transfer medium, e.g. nitrogen or heat. Let

i , j = compartment labelTij = rate of transfer of medium from i to jXi = rate of exogenous input of medium to iEi = rate of external transfer of medium from iRi = rate of dissipation of medium from i

Balance Equation:

total inflow rate = total outflow rate=⇒ Xi +

∑j

Tj i =∑

j

Ti j + Ei + Ri

Ideally, do this over all n compartments and K media.

CMAR-Hobart Science Seminar, March 6, 2009 13

Page 33: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Simple e.g. from Ulanowicz (Comput. Biol. & Chem., 2004):

Fix a transfer medium, e.g. nitrogen or heat. Let

i , j = compartment labelTij = rate of transfer of medium from i to jXi = rate of exogenous input of medium to iEi = rate of external transfer of medium from iRi = rate of dissipation of medium from i

Balance Equation:

total inflow rate = total outflow rate=⇒ Xi +

∑j

Tj i =∑

j

Ti j + Ei + Ri

Ideally, do this over all n compartments and K media.

CMAR-Hobart Science Seminar, March 6, 2009 13

Page 34: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA: Ideally

System of n × K equations:

X (1)1 + T (1)

+1 = T (1)1+ + E (1)

1 + R(1)1

...X (1)

n + T (1)+n = T (1)

n+ + E (1)n + R(1)

n

X (2)1 + T (2)

+1 = T (2)1+ + E (1)

1 + R(2)1

...X (2)

n + T (2)+n = T (2)

n+ + E (1)n + R(2)

n

...X (K )

1 + T (K )+1 = T (K )

1+ + E (K )1 + R(K )

1...

X (K )n + T (K )

+n = T (K )n+ + E (K )

n + R(K )n

Randomness =⇒ field data never satisfy equality

Worse yet, only some quantities are observable from field ...

CMAR-Hobart Science Seminar, March 6, 2009 14

Page 35: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

: Ideally

System of n × K equations:

X (1)1 + T (1)

+1 = T (1)1+ + E (1)

1 + R(1)1

...X (1)

n + T (1)+n = T (1)

n+ + E (1)n + R(1)

n

X (2)1 + T (2)

+1 = T (2)1+ + E (1)

1 + R(2)1

...X (2)

n + T (2)+n = T (2)

n+ + E (1)n + R(2)

n

...X (K )

1 + T (K )+1 = T (K )

1+ + E (K )1 + R(K )

1...

X (K )n + T (K )

+n = T (K )n+ + E (K )

n + R(K )n

Randomness =⇒ field data never satisfy equality

Worse yet, only some quantities are observable from field ...

CMAR-Hobart Science Seminar, March 6, 2009 14

Page 36: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

: Ideally

System of n × K equations:

X (1)1 + T (1)

+1 = T (1)1+ + E (1)

1 + R(1)1

...X (1)

n + T (1)+n = T (1)

n+ + E (1)n + R(1)

n

X (2)1 + T (2)

+1 = T (2)1+ + E (1)

1 + R(2)1

...X (2)

n + T (2)+n = T (2)

n+ + E (1)n + R(2)

n

...X (K )

1 + T (K )+1 = T (K )

1+ + E (K )1 + R(K )

1...

X (K )n + T (K )

+n = T (K )n+ + E (K )

n + R(K )n

Randomness =⇒ field data never satisfy equality

Worse yet, only some quantities are observable from field ...

CMAR-Hobart Science Seminar, March 6, 2009 14

Page 37: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

: Ideally

System of n × K equations:

X (1)1 + T (1)

+1 = T (1)1+ + E (1)

1 + R(1)1

...X (1)

n + T (1)+n = T (1)

n+ + E (1)n + R(1)

n

X (2)1 + T (2)

+1 = T (2)1+ + E (1)

1 + R(2)1

...X (2)

n + T (2)+n = T (2)

n+ + E (1)n + R(2)

n

...X (K )

1 + T (K )+1 = T (K )

1+ + E (K )1 + R(K )

1...

X (K )n + T (K )

+n = T (K )n+ + E (K )

n + R(K )n

Randomness =⇒ field data never satisfy equality

Worse yet, only some quantities are observable from field ...

CMAR-Hobart Science Seminar, March 6, 2009 14

Page 38: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Example for n=4, K =1Observe: Xi , Ei , Ri for all i ; Tij for all (i , j) except i=3Unknown: T31, T32, T34 =⇒ T3+

X1 + T21 + T31 + T41 = T12 + T13 + T14 + E1 + R1

X2 + T12 + T32 + T42 = T21 + T23 + T24 + E2 + R2

X3 + T13 + T23 + T43 = T31 + T32 + T34 + E3 + R3

X4 + T14 + T24 + T34 = T41 + T42 + T43 + E4 + R4

no balance =⇒ no theoretical solution for T3+

CMAR-Hobart Science Seminar, March 6, 2009 15

Page 39: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Example for n=4, K =1Observe: Xi , Ei , Ri for all i ; Tij for all (i , j) except i=3Unknown: T31, T32, T34 =⇒ T3+

X1 + T21 + T31 + T41 = T12 + T13 + T14 + E1 + R1

X2 + T12 + T32 + T42 = T21 + T23 + T24 + E2 + R2

X3 + T13 + T23 + T43 = T31 + T32 + T34 + E3 + R3

X4 + T14 + T24 + T34 = T41 + T42 + T43 + E4 + R4

no balance =⇒ no theoretical solution for T3+

CMAR-Hobart Science Seminar, March 6, 2009 15

Page 40: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Remedy: deduce T3j ’s from observable auxiliary quantities

e.g. theoretical relationship amongTijcompartment productionbiomass...

f (Pij , Bij , . . .) = Tij

even if a deduced Tij is free of uncertainty ...System of equations fails regardless ... what then?

CMAR-Hobart Science Seminar, March 6, 2009 16

Page 41: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Remedy: deduce T3j ’s from observable auxiliary quantities

e.g. theoretical relationship amongTijcompartment productionbiomass...

f (Pij , Bij , . . .) = Tij

even if a deduced Tij is free of uncertainty ...System of equations fails regardless ... what then?

CMAR-Hobart Science Seminar, March 6, 2009 16

Page 42: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Remedy: deduce T3j ’s from observable auxiliary quantities

e.g. theoretical relationship amongTijcompartment productionbiomass...

f (Pij , Bij , . . .) = Tij

even if a deduced Tij is free of uncertainty ...

System of equations fails regardless ... what then?

CMAR-Hobart Science Seminar, March 6, 2009 16

Page 43: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Remedy: deduce T3j ’s from observable auxiliary quantities

e.g. theoretical relationship amongTijcompartment productionbiomass...

f (Pij , Bij , . . .) = Tij

even if a deduced Tij is free of uncertainty ...System of equations fails regardless ... what then?

CMAR-Hobart Science Seminar, March 6, 2009 16

Page 44: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Computer software to the rescue!

tinker with quantities subject to certain criteriauntil equality (almost) holdscriteria built into software — can be mysterious to userrestrict tinkering to deduced quantities only, if possible

Lingo

(Program) Input: observed and deduced quantities(Program) Output: balanced quantities

CMAR-Hobart Science Seminar, March 6, 2009 17

Page 45: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Computer software to the rescue!

tinker with quantities subject to certain criteriauntil equality (almost) holdscriteria built into software — can be mysterious to userrestrict tinkering to deduced quantities only, if possible

Lingo

(Program) Input: observed and deduced quantities(Program) Output: balanced quantities

CMAR-Hobart Science Seminar, March 6, 2009 17

Page 46: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

Computer software to the rescue!

tinker with quantities subject to certain criteriauntil equality (almost) holdscriteria built into software — can be mysterious to userrestrict tinkering to deduced quantities only, if possible

Lingo

(Program) Input: observed and deduced quantities(Program) Output: balanced quantities

CMAR-Hobart Science Seminar, March 6, 2009 17

Page 47: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

In light ofim

(possible)

balancetheory-based deductioncoerced balance ...

Million $ question:How confident are we in the numbers??

CMAR-Hobart Science Seminar, March 6, 2009 18

Page 48: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

In light ofim(possible)balancetheory-based deductioncoerced balance ...

Million $ question:How confident are we in the numbers??

CMAR-Hobart Science Seminar, March 6, 2009 18

Page 49: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA

In light ofim(possible)balancetheory-based deductioncoerced balance ...

Million $ question:How confident are we in the numbers??

CMAR-Hobart Science Seminar, March 6, 2009 18

Page 50: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA: confidence

Existing attempts: Sensitivity analysesperturb program inputmonitor behavior of program output

but ...

How to make inference for underlying network structure?

CMAR-Hobart Science Seminar, March 6, 2009 19

Page 51: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conventional ENA: confidence

Existing attempts: Sensitivity analysesperturb program inputmonitor behavior of program output

but ...

How to make inference for underlying network structure?

CMAR-Hobart Science Seminar, March 6, 2009 19

Page 52: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = outStatistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 53: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = out

Statistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 54: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = outStatistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 55: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = outStatistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 56: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = outStatistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 57: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Perspectives of Mass Balance

Physics: in = outStatistics: E( in ) = E( out )

Simplest example

Let Wi = Xi + T+i w/ mean µW

Ui = Ti+ + Ei w/ mean µU

Ri w/ mean µR

=⇒ balance model: µW = µU + µR

single balance equation of unobservable quantitiesestimation and confidence statements via statisticalinference

CMAR-Hobart Science Seminar, March 6, 2009 20

Page 58: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Elements of deterministic modelingdeterministic model M( )

model input θ

= E(observables)

model output φ

= E(unobservables)

M : θ 7−→ φ or φ := M(θ)

Rationale for choice of input/output:to make statistical inference, need assumptions aboutstatistical behavior for quantitiesexperience with observed quantities can be basis of suchassumptionsthen statistical behavior of E(unobservables) isdefined by M through those of E(observables)

CMAR-Hobart Science Seminar, March 6, 2009 21

Page 59: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Elements of deterministic modelingdeterministic model M( )

model input θ

= E(observables)

model output φ

= E(unobservables)

M : θ 7−→ φ or φ := M(θ)

Rationale for choice of input/output:to make statistical inference, need assumptions aboutstatistical behavior for quantitiesexperience with observed quantities can be basis of suchassumptionsthen statistical behavior of E(unobservables) isdefined by M through those of E(observables)

CMAR-Hobart Science Seminar, March 6, 2009 21

Page 60: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Elements of deterministic modelingdeterministic model M( )

model input θ

= E(observables)

model output φ

= E(unobservables)

M : θ 7−→ φ or φ := M(θ)

Rationale for choice of input/output:to make statistical inference, need assumptions aboutstatistical behavior for quantitiesexperience with observed quantities can be basis of suchassumptionsthen statistical behavior of E(unobservables) isdefined by M through those of E(observables)

CMAR-Hobart Science Seminar, March 6, 2009 21

Page 61: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Elements of deterministic modelingdeterministic model M( )

model input θ = E(observables)model output φ = E(unobservables)

M : θ 7−→ φ or φ := M(θ)

Rationale for choice of input/output:

to make statistical inference, need assumptions aboutstatistical behavior for quantitiesexperience with observed quantities can be basis of suchassumptionsthen statistical behavior of E(unobservables) isdefined by M through those of E(observables)

CMAR-Hobart Science Seminar, March 6, 2009 21

Page 62: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Elements of deterministic modelingdeterministic model M( )

model input θ = E(observables)model output φ = E(unobservables)

M : θ 7−→ φ or φ := M(θ)

Rationale for choice of input/output:to make statistical inference, need assumptions aboutstatistical behavior for quantitiesexperience with observed quantities can be basis of suchassumptionsthen statistical behavior of E(unobservables) isdefined by M through those of E(observables)

CMAR-Hobart Science Seminar, March 6, 2009 21

Page 63: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Among Wi , Ui , Ri , suppose Ri is unobservable

=⇒ rewrite balance model as

µR = µW − µU

or φ = M(θ)

where φ = µR model output

θ = (µW , µU)′ model input

M(θ) = (1,−1)θ the model M : θ → φ

CMAR-Hobart Science Seminar, March 6, 2009 22

Page 64: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Among Wi , Ui , Ri , suppose Ri is unobservable=⇒ rewrite balance model as

µR = µW − µU

or φ = M(θ)

where φ = µR model output

θ = (µW , µU)′ model input

M(θ) = (1,−1)θ the model M : θ → φ

CMAR-Hobart Science Seminar, March 6, 2009 22

Page 65: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Among Wi , Ui , Ri , suppose Ri is unobservable=⇒ rewrite balance model as

µR = µW − µU

or φ = M(θ)

where φ = µR model output

θ = (µW , µU)′ model input

M(θ) = (1,−1)θ the model M : θ → φ

CMAR-Hobart Science Seminar, March 6, 2009 22

Page 66: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inference

specify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inference

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 23

Page 67: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inference

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 23

Page 68: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inference

Bayesian Melding (due to Poole & Raftery, 2000)

two priors for φ:specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 23

Page 69: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inference

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 23

Page 70: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

g(θ) h∗(φ)input prior induced output prior

θ(1) → M(θ(1)) = φ(1)

...θ(m) → M(θ(m)) = φ(m)

CMAR-Hobart Science Seminar, March 6, 2009 24

Page 71: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 25

Page 72: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, h(φ)induced prior, h∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 25

Page 73: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Melded prior for φ is

q̃(φ) ∝ h∗(φ)γ h(φ)1−γ

for some γ ∈ (0,1).

What’s γ?arbitrary in principlecan be specified to reflect expert opinions on relativereliability between h and h∗ (or M)

CMAR-Hobart Science Seminar, March 6, 2009 26

Page 74: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Melded prior for φ is

q̃(φ) ∝ h∗(φ)γ h(φ)1−γ

for some γ ∈ (0,1).

What’s γ?arbitrary in principlecan be specified to reflect expert opinions on relativereliability between h and h∗ (or M)

CMAR-Hobart Science Seminar, March 6, 2009 26

Page 75: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, f (φ)induced prior, f ∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 27

Page 76: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, f (φ)induced prior, f ∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of M

CMAR-Hobart Science Seminar, March 6, 2009 27

Page 77: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, f (φ)induced prior, f ∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of MCMAR-Hobart Science Seminar, March 6, 2009 27

Page 78: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

Bayesian Inferencespecify prior and likelihood for φ,θ

obtain posterior for φ,θ =⇒ posterior inferencepredictions for “missing” T3i ’s via posterior predictive

Bayesian Melding (due to Poole & Raftery, 2000)two priors for φ:

specified prior, f (φ)induced prior, f ∗(φ), from cranking prior for θ through M

combine both priors =⇒ melded prior for φ, q̃(φ)

crank melded prior q̃(φ) through M−1

=⇒ melded prior for θ, p̃(θ)

posterior inference based on p̃ and M

there are tricks to overcome non-invertibility of MCMAR-Hobart Science Seminar, March 6, 2009 27

Page 79: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

posterior for θ: πθ(θ) ∝ p̃(θ) Lθ(θ) Lφ

(M(θ)

)

posterior for φ: M : πθ(θ) → πφ(φ)

Hallelujah!

CMAR-Hobart Science Seminar, March 6, 2009 28

Page 80: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

posterior for θ: πθ(θ) ∝ p̃(θ) Lθ(θ) Lφ

(M(θ)

)posterior for φ: M : πθ(θ) → πφ(φ)

Hallelujah!

CMAR-Hobart Science Seminar, March 6, 2009 28

Page 81: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Bayesian Melding for ENA Inference

posterior for θ: πθ(θ) ∝ p̃(θ) Lθ(θ) Lφ

(M(θ)

)posterior for φ: M : πθ(θ) → πφ(φ)

Hallelujah!

CMAR-Hobart Science Seminar, March 6, 2009 28

Page 82: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

based on

Baird & Ulanowicz (1989), Ecological Monographs 59, 329–364

and

http://www.cbl.umces.edu/˜ulan/ntwk/datall.zip

CMAR-Hobart Science Seminar, March 6, 2009 29

Page 83: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

CMAR-Hobart Science Seminar, March 6, 2009 29

Page 84: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

CMAR-Hobart Science Seminar, March 6, 2009 29

Page 85: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

transfer medium: carbon (g/m2/summer)i=1,. . . , 36 compartments

Elements of Bayesian inferenceLikelihood:

Wi , Ui , Ri |θ, φ ∼ independent exponentials

specified prior:

(θ, φ)′ ∼ trivariate log-normal

=⇒ Wi , Ui , Ri are marginally dependent(as would be necessary due to theoretical balance)

CMAR-Hobart Science Seminar, March 6, 2009 30

Page 86: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

transfer medium: carbon (g/m2/summer)i=1,. . . , 36 compartments

Elements of Bayesian inferenceLikelihood:

Wi , Ui , Ri |θ, φ ∼ independent exponentials

specified prior:

(θ, φ)′ ∼ trivariate log-normal

=⇒ Wi , Ui , Ri are marginally dependent(as would be necessary due to theoretical balance)

CMAR-Hobart Science Seminar, March 6, 2009 30

Page 87: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

transfer medium: carbon (g/m2/summer)i=1,. . . , 36 compartments

Elements of Bayesian inferenceLikelihood:

Wi , Ui , Ri |θ, φ ∼ independent exponentials

specified prior:

(θ, φ)′ ∼ trivariate log-normal

=⇒ Wi , Ui , Ri are marginally dependent(as would be necessary due to theoretical balance)

CMAR-Hobart Science Seminar, March 6, 2009 30

Page 88: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

NOTE: Instead of painstaking extraction of (unbalanced) datafrom the flow diagram, we adopted the online data (alreadybalanced) — would ideally use former.

CMAR-Hobart Science Seminar, March 6, 2009 31

Page 89: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

W

0 100 300 500

0.00

00.

004

0.00

80.

012

U

0 100 300 500

0.00

00.

005

0.01

00.

015

R

0 50 100 150 200 250

0.00

0.02

0.04

0.06

θθ1

0 20 40 60 80 100

0.00

00.

015

0.03

00.

045

θθ2

0 20 40 60 80 100

0.00

0.02

0.04

φφ0 10 20 30 40 50 60

0.00

0.02

0.04

0.06

0.08

0.10

Data:

Specified prior ( —— ) and Melded Posterior ( —— ):

CMAR-Hobart Science Seminar, March 6, 2009 31

Page 90: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

Estimates and 95% Confidence intervals:

θ1 = µW θ2 = µU φ = µRMelding

Posterior Mean 89.03 64.11 24.92HPD interval (72.69, 107.26) (47.99, 80.84) (17.57, 33.23)

ClassicalCLT interval (33.24, 146.06) (20.70, 110.56) (4.24, 43.80)

Classical intervals are MUCH WIDER!

CMAR-Hobart Science Seminar, March 6, 2009 32

Page 91: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

Estimates and 95% Confidence intervals:

θ1 = µW θ2 = µU φ = µRMelding

Posterior Mean 89.03 64.11 24.92HPD interval (72.69, 107.26) (47.99, 80.84) (17.57, 33.23)

ClassicalCLT interval (33.24, 146.06) (20.70, 110.56) (4.24, 43.80)

Classical intervals are MUCH WIDER!

CMAR-Hobart Science Seminar, March 6, 2009 32

Page 92: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

Dependence among θ1, θ2, φ:

60 70 80 90 100 110 120

4050

6070

8090

100

θθ1

θθ 2

60 70 80 90 100 110 120

010

2030

4050

60

θθ1

φφ

40 50 60 70 80 90 100

010

2030

4050

60

θθ2

φφ

High dependence is presumed among all 3 due totheoretical balance.Inference indicates dependence is only high betweenµW and µU =⇒ new insight!Note: inference on dependence structure NOT possiblewith classical inference (which treats µ’s as constants).

CMAR-Hobart Science Seminar, March 6, 2009 33

Page 93: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Application: Chesapeake Bay Summer Network

Dependence among θ1, θ2, φ:

60 70 80 90 100 110 120

4050

6070

8090

100

θθ1

θθ 2

60 70 80 90 100 110 120

010

2030

4050

60

θθ1

φφ

40 50 60 70 80 90 100

010

2030

4050

60

θθ2

φφ

High dependence is presumed among all 3 due totheoretical balance.Inference indicates dependence is only high betweenµW and µU =⇒ new insight!Note: inference on dependence structure NOT possiblewith classical inference (which treats µ’s as constants).

CMAR-Hobart Science Seminar, March 6, 2009 33

Page 94: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Summary

Physics Statistics(1) each quantity (variable) • no random variable needs

must satisfy within- to satisfy balancecompartment balance =⇒ no compartment needs=⇒ collapse compart- to satisfy balance§

ments to allow balance • random variables have=⇒ wrong biology expectations that satisfy

within-system balance=⇒ the more compartments(i.e. data) the better!

§ can be a need as long as replicated observations areavailable per compartment

CMAR-Hobart Science Seminar, March 6, 2009 34

Page 95: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Summary

Physics Statistics(1) each quantity (variable) • no random variable needs

must satisfy within- to satisfy balancecompartment balance =⇒ no compartment needs=⇒ collapse compart- to satisfy balance§

ments to allow balance • random variables have=⇒ wrong biology expectations that satisfy

within-system balance=⇒ the more compartments(i.e. data) the better!

§ can be a need as long as replicated observations areavailable per compartment

CMAR-Hobart Science Seminar, March 6, 2009 34

Page 96: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Summary

Physics Statistics(2) unobservable variables statistical prediction

are deduced from (inferential) possibleauxiliary theory in certain scenarios

e.g. variable observed forsome compartments

e.g. deduce unobservedthrough formal regression(both in progress)

(3) no formal inference / possible forconfidence statements (a) any quantity infor any quantity system-balance equation

(b) unobservable variablein some cases (see (2))

(4) multiple media on perceivably straight-same system hard forwardto impossible (in progress)

CMAR-Hobart Science Seminar, March 6, 2009 35

Page 97: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conclusion

So why statistical inference for food webs?statistical models are more honest:

properly acknowledge uncertaintystatistical inference-based techniques are tractableproper prediction inference is possible

(straightforward within Bayesian framework)ENA with Bayesian melding additionally

overcomes empirical imbalance under theoretical balancesoundly integrates statistical practice with physical theory

— often preferred by scientists over purely empirically drivenapproaches

CMAR-Hobart Science Seminar, March 6, 2009 36

Page 98: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conclusion

So why statistical inference for food webs?

statistical models are more honest:properly acknowledge uncertainty

statistical inference-based techniques are tractableproper prediction inference is possible

(straightforward within Bayesian framework)ENA with Bayesian melding additionally

overcomes empirical imbalance under theoretical balancesoundly integrates statistical practice with physical theory

— often preferred by scientists over purely empirically drivenapproaches

CMAR-Hobart Science Seminar, March 6, 2009 36

Page 99: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conclusion

So why statistical inference for food webs?statistical models are more honest:

properly acknowledge uncertaintystatistical inference-based techniques are tractableproper prediction inference is possible

(straightforward within Bayesian framework)

ENA with Bayesian melding additionallyovercomes empirical imbalance under theoretical balancesoundly integrates statistical practice with physical theory

— often preferred by scientists over purely empirically drivenapproaches

CMAR-Hobart Science Seminar, March 6, 2009 36

Page 100: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Conclusion

So why statistical inference for food webs?statistical models are more honest:

properly acknowledge uncertaintystatistical inference-based techniques are tractableproper prediction inference is possible

(straightforward within Bayesian framework)ENA with Bayesian melding additionally

overcomes empirical imbalance under theoretical balancesoundly integrates statistical practice with physical theory

— often preferred by scientists over purely empirically drivenapproaches

CMAR-Hobart Science Seminar, March 6, 2009 36

Page 101: Statistical Inference for Food Websfaculty.washington.edu/gchiu/Talks/bio08.pdf · 2009-10-04 · Statistical Inference for Food Webs Part I: Bayesian Melding Grace Chiu∗ and Josh

Thank you!

This presentation is available from:http://www.stats.uwaterloo.ca/˜gchiu/Talks/csiro-hobart09.pdf

Articles:Chiu & Gould (submitted).Chiu & Gould (2008),U of Waterloo Working Paper #2008-07.

www.stats.uwaterloo.ca/stats navigation/techreports/08WorkingPapers/08-07.pdf

CMAR-Hobart Science Seminar, March 6, 2009 37