Basically I'm just fitting a GP model to some data, and I'm modeling the
GP as having a constant but unknown mean (call it beta). The data were
generated from a GP with 0 mean. When I use the Uninformative prior
distribution object, I get the expected results: the marginal posterior
for beta is pretty much centered at 0 and shows support over about -2,2.
Just to try and understand how some of the other pymc distribution
objects worked, I also tried approximating a non-informative prior with
Normal(0, 0.00001) -- this should be a flat prior so I would expect it
to be a reasonable approximation to a constant prior. However, with
this prior, the marginal posterior for beta is much different, showing
support over roughly -2000,2000.
Am I missing something?
I'm attaching the code and small data file.
Thanks,
John
-2.000000 -0.416758
-1.428571 -1.562763
-0.857143 -2.934006
-0.285714 -2.772527
0.285714 -1.255265
0.857143 0.437696
1.428571 0.410467
2.000000 -0.056267
--
You received this message because you are subscribed to the Google Groups "PyMC" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pymc+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pymc?hl=en.