SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Or how to learn what you know all over again but different
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Ronald Fisher, 1956 John Bennet Lawes: Founder Rothamsted  Experimental station 1843 Harvesting of Broadbalk field, the source of the data for Fisher’s  1921 paper on variation in crop yields.
Excerpt from  Studies in Crop Variation: An examination of the yield of dressed grain from Broadbalk  Journal of Agriculture Science , 11 107-135, 1921 Cover page from his 1925  book formalizing ANOVA  methods  Table from chapter 8 of  Statistical Methods for Research Workers , On the analysis of randomize block designs.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Adapted from Gotelli and Ellison 2004
Adapted from Gotelli and Ellison 2004 Source d.f. Sum of squares Mean square F-ratio p-value Among groups a-1 Determined from F-distribution with  (a-1),a(n-1) d.f. Within groups a(n-1) Total an-1
Adapted from Gotelli and Ellison 2004 Our statistical model
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rev. Thomas Bayes 1702-1761 Prior Likelihood
Adapted from Clark 2007 Common Risk Independent Risk Hierarchical
Adapted from Clark 2007
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
or
From Qian and Shen 2007
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Source d.f. SS MS F-ratio p-value Treatment 3 3.10 1.03 6.73 0.0068 Location 3 1.01 0.34 2.19 0.101 Treatment* Location 9 1.24 .14 .88 0.5543 Residuals 49 7.52 0.16
Source d.f. SS MS F-ratio p-value Treatment 3 3.10 1.03 6.73 0.0068 Location 3 1.01 0.34 2.19 0.101 Treatment* Location 9 1.24 .14 .88 0.5543 Residuals 49 7.52 0.16
Lines represent 95% credible intervals for Bayesian estimates and confidence intervals for frequentist.
Comparison Control v.  Foam Control v. Haliclona Control v.  Tedania Foam v. Haliclona Foam v. Tedania Orthogonal contrasts p-value 0.0397 0.002 0.0015 0.258 0.0521 Tukey’s HSD  p-value 0.16 0.01 0.00001 0.66 0.21 Bonferroni adjusted pairwise t-test p-value 0.238 0.012 0.0009 1.00 0.313 Bayesian credible interval around the difference between 2 means (-0.68 , 0.03) (-0.84 , -0.12) (-0.91 , -0.18) (-0.51 , 0.21) (-0.58, 0.14)
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],What’s up now Fisher, Neyman-Pearson null hypothesis testing!?
 
Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
model { for( i in 1:n){ y[i] ~ dnorm(y.mu[i],tau.y) y.mu[i] <- mu + delta[plottype[i]] + gamma[studyyear[i]] + nu[gens[i]] +  interact[plottype[i],gens[i]] } mu ~ dnorm(0,.0001) tau.y <- pow(sigma.y,-2) sigma.y ~ dunif(0,100) mu.adj <- mu + mean(delta[])+mean(gamma[]) +mean(nu[])+mean(interact[,]) #compute finite population standard deviation for(i in 1:n){ e.y[i] <- y[i] - y.mu[i]} s.y <- sd(e.y[]) xi.d ~dnorm(0,tau.d.xi) tau.d.xi <- pow(prior.scale.d,-2) for(k in 1:n.plottype){ delta[k] ~ dnorm(mu.d,tau.delta) d.adj[k] <- delta[k] - mean(delta[]) for(z in 1:n.gens) { interact[k,z]~dnorm(mu.inter,tau.inter) }  } Nick Gotelli  Robin Collins

Weitere Àhnliche Inhalte

Mehr von DistribEcology

The ecological and evolutionary impacts of altered
The ecological and evolutionary impacts of alteredThe ecological and evolutionary impacts of altered
The ecological and evolutionary impacts of alteredDistribEcology
 
Understanding natural populations with dynamic models
Understanding natural populations with dynamic modelsUnderstanding natural populations with dynamic models
Understanding natural populations with dynamic modelsDistribEcology
 
Population dynamics of toxic algal blooms in Lake Champlain
Population dynamics of toxic algal blooms in Lake ChamplainPopulation dynamics of toxic algal blooms in Lake Champlain
Population dynamics of toxic algal blooms in Lake ChamplainDistribEcology
 
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...DistribEcology
 
Science and social media
Science and social mediaScience and social media
Science and social mediaDistribEcology
 
Modeling Metacommunties
Modeling MetacommuntiesModeling Metacommunties
Modeling MetacommuntiesDistribEcology
 

Mehr von DistribEcology (6)

The ecological and evolutionary impacts of altered
The ecological and evolutionary impacts of alteredThe ecological and evolutionary impacts of altered
The ecological and evolutionary impacts of altered
 
Understanding natural populations with dynamic models
Understanding natural populations with dynamic modelsUnderstanding natural populations with dynamic models
Understanding natural populations with dynamic models
 
Population dynamics of toxic algal blooms in Lake Champlain
Population dynamics of toxic algal blooms in Lake ChamplainPopulation dynamics of toxic algal blooms in Lake Champlain
Population dynamics of toxic algal blooms in Lake Champlain
 
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...
Macroinvertebrate Communities in Ephemeral Ponds: Effects of Competition, Lan...
 
Science and social media
Science and social mediaScience and social media
Science and social media
 
Modeling Metacommunties
Modeling MetacommuntiesModeling Metacommunties
Modeling Metacommunties
 

KĂŒrzlich hochgeladen

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

KĂŒrzlich hochgeladen (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Bayesian anova

  • 1. Or how to learn what you know all over again but different
  • 2.
  • 3. Ronald Fisher, 1956 John Bennet Lawes: Founder Rothamsted Experimental station 1843 Harvesting of Broadbalk field, the source of the data for Fisher’s 1921 paper on variation in crop yields.
  • 4. Excerpt from Studies in Crop Variation: An examination of the yield of dressed grain from Broadbalk Journal of Agriculture Science , 11 107-135, 1921 Cover page from his 1925 book formalizing ANOVA methods Table from chapter 8 of Statistical Methods for Research Workers , On the analysis of randomize block designs.
  • 5.
  • 6. Adapted from Gotelli and Ellison 2004
  • 7. Adapted from Gotelli and Ellison 2004 Source d.f. Sum of squares Mean square F-ratio p-value Among groups a-1 Determined from F-distribution with (a-1),a(n-1) d.f. Within groups a(n-1) Total an-1
  • 8. Adapted from Gotelli and Ellison 2004 Our statistical model
  • 9.
  • 10. Rev. Thomas Bayes 1702-1761 Prior Likelihood
  • 11. Adapted from Clark 2007 Common Risk Independent Risk Hierarchical
  • 13.
  • 14. or
  • 15. From Qian and Shen 2007
  • 16.
  • 17. Source d.f. SS MS F-ratio p-value Treatment 3 3.10 1.03 6.73 0.0068 Location 3 1.01 0.34 2.19 0.101 Treatment* Location 9 1.24 .14 .88 0.5543 Residuals 49 7.52 0.16
  • 18. Source d.f. SS MS F-ratio p-value Treatment 3 3.10 1.03 6.73 0.0068 Location 3 1.01 0.34 2.19 0.101 Treatment* Location 9 1.24 .14 .88 0.5543 Residuals 49 7.52 0.16
  • 19. Lines represent 95% credible intervals for Bayesian estimates and confidence intervals for frequentist.
  • 20. Comparison Control v. Foam Control v. Haliclona Control v. Tedania Foam v. Haliclona Foam v. Tedania Orthogonal contrasts p-value 0.0397 0.002 0.0015 0.258 0.0521 Tukey’s HSD p-value 0.16 0.01 0.00001 0.66 0.21 Bonferroni adjusted pairwise t-test p-value 0.238 0.012 0.0009 1.00 0.313 Bayesian credible interval around the difference between 2 means (-0.68 , 0.03) (-0.84 , -0.12) (-0.91 , -0.18) (-0.51 , 0.21) (-0.58, 0.14)
  • 21.
  • 22.
  • 23.  
  • 24. Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
  • 25. Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
  • 26. Source d.f. SS MS F-ratio p-value Plot 2 209 154 8.9 0.0002 Genotype 6 63 10 0.6 0.72 Plot* Genotype 12 227 19 1.1 0.36 Year 1 113 113 6.5 0.012 Residuals 106 1790 17
  • 27. model { for( i in 1:n){ y[i] ~ dnorm(y.mu[i],tau.y) y.mu[i] <- mu + delta[plottype[i]] + gamma[studyyear[i]] + nu[gens[i]] + interact[plottype[i],gens[i]] } mu ~ dnorm(0,.0001) tau.y <- pow(sigma.y,-2) sigma.y ~ dunif(0,100) mu.adj <- mu + mean(delta[])+mean(gamma[]) +mean(nu[])+mean(interact[,]) #compute finite population standard deviation for(i in 1:n){ e.y[i] <- y[i] - y.mu[i]} s.y <- sd(e.y[]) xi.d ~dnorm(0,tau.d.xi) tau.d.xi <- pow(prior.scale.d,-2) for(k in 1:n.plottype){ delta[k] ~ dnorm(mu.d,tau.delta) d.adj[k] <- delta[k] - mean(delta[]) for(z in 1:n.gens) { interact[k,z]~dnorm(mu.inter,tau.inter) } } Nick Gotelli Robin Collins

Hinweis der Redaktion

  1. Developed by Fisher in 1919 during his time at Rothamsted, published in 1921