Bayesian Modeling - Student
Bayesian Modeling - Student
Goal
Notes
It cannot be answered
Notes
Drawing conclusions
1. Look at posteriors directly (not utility-based estimates)
2. Run several models, and see how conclusions change
3. Posterior conclusion already assumed in the prior model?
— The common approach by scientific R-INLA users!
Waypoint
Notes
Probability: Objective
Notes
Probability: Subjective
Notes
If you believe ”this” before you see data, you must believe ”that”
after you see the data.
Notes
No choices to be made
Notes
The posterior is a direct result of the prior
I You can extract [thing] from your prior that you did not
explicitly model!
I You do not need [thing] explicitly in your prior model to find it
in the posterior
Example:
I E.g. A factor for car type
I Extract: Di↵erence between two car types
Notes
Utility functions
Notes
Part 5: Just because it is not right does not mean that it is wrong.
1 ⇠ N (0, 1000)
Notes
You suspect your friend has a cheating die, giving too many 6’s.
You plan to roll six hundred times to check. Set up any reasonable
model ⇡(y ).
8
0.025
6
0.020
Density
Density
0.015
4
0.010
2
0.005
0.000
0 100 200 300 400 500 0.0 0.5 1.0 1.5 2.0
Precision Distance
u ⇠ N (0, ⌧u 1 ⌃) = N (0, 2
u ⌃)
⇡( u) = e u
Where you set the so that your median takes a reasonable value.
Or, as in the paper, you set a di↵erent quantile. Or, you ensure the
probability decay is reasonable.
Notes
People my one day loose their health, life or job based on one of
your statistical analyses.
I did a model and got p=0.01
Practical example 2
Notes
Di↵erent priors for range gives di↵erent significance of random e↵ects
Exercises
Notes
I You are only cheating if you remove good models from your
analysis!
I Consider di↵erent observation likelihoods
I Consider the sampling cheme
I Consider how you borrow information/strength
I Consider where you assume additivity
I Consider type of random e↵ect
I Consider hyper-priors
From individual to population
Notes
Data gathered
I Go to some seal ”homes” (haul-out sites) and tag seals
I Track their GPS position every 15 minutes
Goal
I Where (in space) are the seals
Problem
I False: ”The more you measure, the more you know”
I The seal is not representative for the population, and it
becomes less representative the more data you have.
Solution:
I Information is sub-linear in the number of measurements
Why can they do this? This gives sensible results.
Notes
Information as a function of observations.
Conclusion
I Describing how you sample is more important than the exact
level of credibility/confidence of your result
Thank you!
Notes