Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toy Problem: 1D Gaussian Width #1

Open
2 of 4 tasks
drphilmarshall opened this issue Feb 11, 2015 · 3 comments
Open
2 of 4 tasks

Toy Problem: 1D Gaussian Width #1

drphilmarshall opened this issue Feb 11, 2015 · 3 comments

Comments

@drphilmarshall
Copy link
Owner

Things to do:

  • Write down problem, ABC solution, and program of testing in the markdown doc
  • Implement in the simplest possible ipython notebook, whose nbviewer visualistion is linked from the markdown doc
  • Or, do the equivalent in some other language. Like R, for example.
  • Explore how to carry out ABC to give accurate inference of the Gaussian width.
@drphilmarshall
Copy link
Owner Author

Alright! Looks like @abmantz did this little exercise, but in R instead. In this simplest possible case, the population variance is a sufficient statistic, so ABC can work exactly - and indeed, Adam gets a nice posterior (from the histogram of accepted prior samples). Could be interesting to see if other summary statistics (something KS-related?) give similar results. Otherwise: suggestions for the next example problem?

@abmantz
Copy link
Collaborator

abmantz commented Mar 5, 2015

I was thinking the next simple problem would be joint constraints on the mean and width of a Gaussian. That way, we would have a slightly meatier case (still with an exact solution) to test methods other than rejection on.

But already it's pretty clear that the hurdle to using ABC in practice will be finding the best summary statistic, and figuring out whether the results can be trusted if it is not sufficient.

@abmantz
Copy link
Collaborator

abmantz commented Mar 6, 2015

I went ahead and implemented the 2-parameter fit to a 1D Gaussian here. This officially exceeds my procrastination quotient for the month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants