| Author |
Comment/Response |
Snoozer
|
07/18/05 2:02pm
Basically I have a messy integral which I am trying to get a closed form for, but mathematica returns my input and nothing else. Here is my input (integrating over b1hat) (the mathematica notebook is attached):
Needs["Statistics`ContinuousDistributions`"]
f[b1hat_] = PDF[NormalDistribution[b0, Sqrt[v0 + 2*s2/n1]], b1hat]
Integrate[Abs[(2*b0*s2 + b1hat*n1*v0)/(2*s2 + n1*v0)]*f[b1hat], {b1hat, -(2*s2*(b1T + b0) + n1*b1T*v0)/(n1*v0), (2*s2*((b1T - b0)) + n1*b1T*v0)/(n1*v0)}, Assumptions -> {Element[{b0, v0, s2, a, b, n1, b1T},Reals] && (v0 > 0) && (s2 > 0) &&(n1 > 0) && (b1T > 0)}]
This seems to have something to do with b1T, if i allow b1T to vary on the real line it gives me something to integrate in the else clause, however, it doesnt seem to make sense. In the sense that is says all the assumptions should be the negations of the ones that I have made above.
Thanks for any help
Snoozer
Attachment: I3...short.nb, URL: , |
|