SLIDE 9 9
Winbugs: Bayesian Analysis of complex statistical models using MCMC Prob Lame <-1-(1-Pr DD)*(1-Pr OID)*(1-Pr HHD) 1 Pr DD = ---------------------- 1+e-(β0+βpar2+βpar3) Obs Lame ~ Bern(Prob Lame) Lameness causing diseases DD: Digital Dermatitis OID: Other Interdigital Diseases HHD: Hoof Horn Diseases
0.21 0.96 0.12 0.23 0.19
βpar3 0.17 0.12 0.12 0.23 0.18 0.03 βpar2 0.35
0.32
0.25
β0 Posterior σ
σ
Prior Posterior σ
σ
Prior Posterior σ Prior σ HHD OID DD
Prior estimate: best guess before visiting the herd under study 1) Best guess of finding DD, OID and HHD in a large herd (>180 cows), zero-grazing Prob DD=0.22 Prob of finding a lame cow: 1-(1-0.22)*(1-0.29)*(1-0.11) = 0.51 Prob OID=0.29 Prob HHD=0.10 Data to condition the prior estimates on 2) In the herd under study 60 out of the 300 observed cows were diagnosed as lame Overall lameness prevalence: 20% parity 1: 10% parity 2: 20% parity 3: 30% 1 Pr DD = ---------------------- 1+e-(β0+βpar2+βpar3)
0.14 0.94 0.21 0.96 0.08 0.23 0.12 0.23 0.14
0.19
βpar3 0.11 0.10 0.17 0.12 0.08 0.20 0.12 0.23 0.12
0.18 0.03 βpar2 0.22
0.35
0.19
0.32
0.17
0.25
β0 Posterior σ
σ
Prior Posterior σ
σ
Prior Posterior σ Prior σ HHD OID DD
Prior estimate: best guess before visiting the herd under study 1) Best guess of finding DD, OID and HHD in a large herd (>180 cows), zero-grazing Prob DD=0.22 Prob of finding a lame cow: 1-(1-0.22)*(1-0.29)*(1-0.11) = 0.51 Prob OID=0.29 Prob HHD=0.10 Data to condition the prior estimates on 2) In the herd under study 60 out of the 300 observed cows were diagnosed as lame Overall lameness prevalence: 20% parity 1: 10% parity 2: 20% parity 3: 30%
0.14 0.94 0.21 0.96 0.08 0.23 0.12 0.23 0.14
0.19
βpar3 0.11 0.10 0.17 0.12 0.08 0.20 0.12 0.23 0.12
0.18 0.03 βpar2 0.22
0.35
0.19
0.32
0.17
0.25
β0 Posterior σ
σ
Prior Posterior σ
σ
Prior Posterior σ Prior σ HHD OID DD
2) Data to condition prior estimates on: 20% prevalence Posterior estimate: Prob DD=0.15 Prob of finding a lame cow: 1-(1-0.15)*(1-0.15)*(1-0.07) = 0.33 Prob OID=0.15 Prob HHD=0.07 Prior estimate: best guess before visiting the herd under study 1) Best guess of finding DD, OID and HHD in a large herd (>180 cows), zero-grazing Prob DD=0.22 Prob of finding a lame cow: 1-(1-0.22)*(1-0.29)*(1-0.11) = 0.51 Prob OID=0.29 Prob HHD=0.10
13 vs. 78 lameness cases Costs per case: €177 SE €3
5% 27%
15 vs. 129 lameness cases Costs per case: €170 SE €8
SD 0.5
Logit values P values
Logit (P) P value