Investigate the use of limited information posterior/likelihood for inference #1547
ben18785
started this conversation in
Ideas/Science
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
If we have a normal sampling model of the form,
then, if we assume a uniform prior for sigma ~ U(0, upper), then if the
sum of squared errors (SSE) = sum_i=1^n (y(t) - f(theta, t))^2, then the analytic posterior is given by,where
Gamma(a,b)is the incomplete gamma function (scipy.special.gammaincc(a,b)in Python), andp(theta)is the prior over the model parameters.This means that these types of normal sampling problems can be written as an inference/optimisation problem with one fewer dimensions. Whether or not this is useful generally, I don't know. It depends how correlated sigma is with elements of theta, I suppose?
It does, however, make it feasible to use deterministic numerical integration for the logistic equation to numerically determine the marginal likelihood for small enough datasets, which is useful.
Note to self: the above logic still holds for a few other select
p(sigma), albeit with different algebraic results. For example,p(sigma) ~ (1/sigma^2) exp(-1/sigma^2)yields an analytic form for the posterior. Thesep(sigma)could be used for more informative priors.All reactions