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

Chi^2 distribution clarifications #1

Open
DWesl opened this issue May 30, 2020 · 0 comments
Open

Chi^2 distribution clarifications #1

DWesl opened this issue May 30, 2020 · 0 comments

Comments

@DWesl
Copy link

DWesl commented May 30, 2020

The paper referencing this code mentions that
X2 = spriorT B-1 sprior + zT R-1 z
is distributed as a χ2 variable on ν = Nobservations + Nfluxes. This is true.

The paper then goes on to generate an ensemble of pseudo-observations, calculate X2/ν for each member, and states that the expected value of this latter quantity is one. This is also true.

The difficulty I am having is that I can decompose X2 into two random variables:
Xflux2 = spriorT B-1 sprior
and
Xobs2 = zT R-1 z,
which are distributed as χ2 variables on Nfluxes and Nobservations, respectively. The ensemble in the paper generates multiple realizations of the second variable, but I only see one realization of the first.
E(X2 / ν) is still one;
E(E(X2 | Xflux2)) is also one;
E(X2 | Xflux2) is a function of Xflux2 and is what I think the paper has.

Is this an accurate description of what is going on? Is this a known and intended behavior of this package? It is entirely possible I just missed this section of the paper while reading. If that is th case, a pointer to the section of the paper where this is described would be welcome.

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

No branches or pull requests

1 participant