Timeline for Bug in density function
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31, 2021 at 18:49 | answer | added | JimB | timeline score: 7 | |
Jul 30, 2021 at 5:07 | vote | accept | user64494 | ||
Jul 29, 2021 at 18:57 | answer | added | bRost03 | timeline score: 17 | |
Jul 29, 2021 at 8:09 | comment | added | Szabolcs | If you found an obvious bug, you should report it to Wolfram Support. | |
Jul 28, 2021 at 21:00 | history | tweeted | twitter.com/StackMma/status/1420489251452604420 | ||
Jul 28, 2021 at 14:46 | history | edited | user64494 |
edited tags
|
|
Jul 28, 2021 at 11:37 | comment | added | user64494 |
The results of b = CDF[TransformedDistribution[ x^2 + y^2 + z^2, {x \[Distributed] UniformDistribution[{-1, 2}], y \[Distributed] UniformDistribution[{-1, 2}], z \[Distributed] UniformDistribution[{-1, 2}]}], t] in 10571. sec and Plot[b, {t,-1,13},PlotStyle->Thick] are even worse.
|
|
Jul 28, 2021 at 10:39 | comment | added | user64494 |
@flinty: Thank you for your interest to the question. Indeed, the plot should be similar to the histgram of Norm[#]^2 & /@RandomVariate[UniformDistribution[{{-1, 2}, {-1, 2}, {-1, 2}}], 10000000] . Yes, Mathematica produces the correct result in two dimensions.
|
|
Jul 28, 2021 at 9:59 | comment | added | flinty | Also worth noting that removing a dimension (e.g z) produces a correct result for 2D. | |
Jul 28, 2021 at 9:54 | comment | added | flinty |
What it should look like for reference: dist = HistogramDistribution[ Norm[#]^2 & /@ RandomVariate[UniformDistribution[{{-1, 2}, {-1, 2}, {-1, 2}}], 10000000] , 250]; Plot[PDF[dist, t], {t, -1, 13}, PlotStyle -> Thick, Exclusions -> None, PlotRange -> All]
|
|
Jul 28, 2021 at 6:51 | history | asked | user64494 | CC BY-SA 4.0 |