Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4207
| From | Paul von Hippel <paulvonhippel@yahoo.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Simplifying TransformedDistribution |
| Date | 2011-08-07 10:21 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j1loud$noe$1@smc.vnet.net> (permalink) |
| References | <201108060612.CAA13002@smc.vnet.net> <21F4E2DB-98AB-490F-ABBC-12C19828590F@mimuw.edu.pl> |
Under what circumstances will the TransformedDistribution function simplify the distribution given by a user? Is there a way to force further simplification? For example, below, both In[78] and In[79] can be simplified to the same student's t distribution -- yet TransformedDistribution simplifies only In[78]. Is there a way to get In[79]simplified as well?
In[78]:= TransformedDistribution[
Z/Sqrt[U/v], {Z \[Distributed] NormalDistribution[0, Sqrt[2]],
U \[Distributed] ChiSquareDistribution[v]}]
Out[78]= StudentTDistribution[0, Sqrt[2], v]
In[79]:= TransformedDistribution[(Z1 + Z2)/
Sqrt[U/v], {Z1 \[Distributed] NormalDistribution[0, 1],
Z2 \[Distributed] NormalDistribution[0, 1],
U \[Distributed] ChiSquareDistribution[v]}] // FullSimplify
Out[79]= TransformedDistribution[(\[FormalX]1 + \[FormalX]2)/Sqrt[\
\[FormalX]3/v], {\[FormalX]1 \[Distributed]
NormalDistribution[0, 1], \[FormalX]2 \[Distributed]
NormalDistribution[0, 1], \[FormalX]3 \[Distributed]
ChiSquareDistribution[v]}]
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Simplifying TransformedDistribution Paul von Hippel <paulvonhippel@yahoo.com> - 2011-08-07 10:21 +0000
csiph-web