-
Notifications
You must be signed in to change notification settings - Fork 47
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
[ENH] explicit/analytic form of energy function for log-normal distribution #219
Comments
For the cross-Energy, when using limits x=0--->inf, it seems to evaluate to 0 except when c=0. |
That cannot be, you must be making an error of sign or similar... There exists no distribution for which the cross-term is almost always 0. |
same thoughts but rechecking gives me the same answer, to confirm: as x-->inf erf functions in the expression become -1 because of the (-logx) term and similarly become 1 when x-->0, right? |
yes, but the (what bothers me is that cancellation seems to occur for update, sorry, I think I'm wrong above. The sign swaps thrice:
So it cancels to zero? That cannot be right. |
There might be sth going on with the wolfram heuristic being buggy. What is that strange "plus zero" in the sign function? I would suggest taking the Wolfram guess and computing its derivative. Then see what matches up or not. |
There does not seem to exist a literature reference for the energy functionals of the log-normal distribution, we should try to derive it, or find a reference.
Collecting discussion below, from #214.
Current state:
@bhavikar04 used Wolfram Alpha to derive the following indefinite integral related to the cross-term$\mathbb{E}[X-c]$ :
My reply:
this looks correct. Now you need to add the limits. That should be an easy substitution, no? I recommend, do that manually. Use that
The number 0.707 etc should be$\frac{1}{2} \sqrt{2}$ , but it doesn't matter for the limits.
The text was updated successfully, but these errors were encountered: