{"action":"created","issue":{"url":"https://api.github.com/repos/aimalz/prob-z/issues/22","labels_url":"https://api.github.com/repos/aimalz/prob-z/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/aimalz/prob-z/issues/22/comments","events_url":"https://api.github.com/repos/aimalz/prob-z/issues/22/events","html_url":"https://github.com/aimalz/prob-z/issues/22","id":89385426,"number":22,"title":"show dwh a set of galaxy LFs and the posterior n(z)","user":{"login":"davidwhogg","id":710750,"avatar_url":"https://avatars.githubusercontent.com/u/710750?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwhogg","html_url":"https://github.com/davidwhogg","followers_url":"https://api.github.com/users/davidwhogg/followers","following_url":"https://api.github.com/users/davidwhogg/following{/other_user}","gists_url":"https://api.github.com/users/davidwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwhogg/subscriptions","organizations_url":"https://api.github.com/users/davidwhogg/orgs","repos_url":"https://api.github.com/users/davidwhogg/repos","events_url":"https://api.github.com/users/davidwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/davidwhogg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-18T20:08:36Z","updated_at":"2015-06-25T22:03:52Z","closed_at":null,"body":"As he requested last friday:\r\n\r\n- A set of galaxy LFs visualized\r\n- A set of draws (8?) from the prior on n(z) or p(z)\r\n- A set of draws (8?) from the posterior on n(z) or p(z)\r\n- The true n(z).\r\n\r\nDo this for a small sample (like 20 galaxies) and a crazy true n(z) (like a delta function).  I think you said you already had this, so this ticket will be easy to close!"},"comment":{"url":"https://api.github.com/repos/aimalz/prob-z/issues/comments/115414065","html_url":"https://github.com/aimalz/prob-z/issues/22#issuecomment-115414065","issue_url":"https://api.github.com/repos/aimalz/prob-z/issues/22","id":115414065,"user":{"login":"aimalz","id":8606810,"avatar_url":"https://avatars.githubusercontent.com/u/8606810?v=3","gravatar_id":"","url":"https://api.github.com/users/aimalz","html_url":"https://github.com/aimalz","followers_url":"https://api.github.com/users/aimalz/followers","following_url":"https://api.github.com/users/aimalz/following{/other_user}","gists_url":"https://api.github.com/users/aimalz/gists{/gist_id}","starred_url":"https://api.github.com/users/aimalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aimalz/subscriptions","organizations_url":"https://api.github.com/users/aimalz/orgs","repos_url":"https://api.github.com/users/aimalz/repos","events_url":"https://api.github.com/users/aimalz/events{/privacy}","received_events_url":"https://api.github.com/users/aimalz/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T22:03:52Z","updated_at":"2015-06-25T22:03:52Z","body":"The plot I showed you after yesterday's group meeting was for a test case where the individual galaxy posteriors were all identical and centered at the redshift corresponding to the location of the delta function N(z) peak.  We discussed changing that, so here are the items you requested for a test with galaxy posteriors centered at positions shifted from the true redshift and with non-uniform variances.  \r\n\r\nDraws from the prior look essentially the same:\r\n![priorsamps](https://cloud.githubusercontent.com/assets/8606810/8366425/ecfc70dc-1b62-11e5-8cd7-644b4985fb01.png)\r\n\r\nThe individual galaxy posteriors are less uniform:\r\n![samplepzs](https://cloud.githubusercontent.com/assets/8606810/8366352/53f0eff8-1b62-11e5-9d89-977bb76d07de.png)\r\n\r\nSamples of the full posterior, with the true N(z) and summed posteriors shown:\r\n![results](https://cloud.githubusercontent.com/assets/8606810/8366398/bee62a4e-1b62-11e5-82d3-55864fc537ec.png)\r\n\r\nSince this all looks good to me, I'm going to quantify the goodness of fit via variance of samples from the true value before testing performance with a more realistic true N(z) and/or more realistic galaxy posteriors, so stay tuned for that."}}