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

Errors on MAP #165

Open
benrouse opened this issue Feb 20, 2020 · 1 comment
Open

Errors on MAP #165

benrouse opened this issue Feb 20, 2020 · 1 comment
Labels

Comments

@benrouse
Copy link

Hi,

I was wondering if there was anything built into prospector to give the errors on the MAP?

So far, I have been plotting the SED with the percentiles and MAP, but sometimes I get plots like the one below, where the MAP fits, but the percentiles and median are completely off.

Thanks in advance.
SED-0104-02273

@bd-j
Copy link
Owner

bd-j commented Mar 4, 2020

Are you taking percentiles of the individual parameters and then constructing SEDs from those? That will not work, since in the presence of parameter correlations the model described by the (say 50th) percentile of each parameter is not at all guaranteed to look anything like the data (think of a posterior that looks like a banana in two parameters; using the posterior median of each parameter would put you in a part of parameter space where there is no posterior probability!)

To get SED percentiles you have to draw some number of posterior parameter positions fairly from the chain, construct the predicted spectrum for each one, and then take the percentiles of the fluxes at each wavelength.

@bd-j bd-j added the question label Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants