Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4669
| From | paulvonhippel at yahoo <paulvonhippel@yahoo.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | TransformedDistribution |
| Date | 2011-08-31 10:10 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j3l1b9$bus$1@smc.vnet.net> (permalink) |
I am seeking the mean of a variable which includes the weighted sum of
two chi-square variables. When I ask the question the obvious way
(below), Mathematica takes a long time to return an unwieldy answer
that is undefined for most values of n1 & n2. I'd be grateful if
someone could suggest a more tractable way to pose the problem.
Here's a simplified version of the problem:
Mean[
TransformedDistribution[
Sqrt[\[FormalX]2 n2 + \[FormalX]1 n1 ], {\[FormalX]1 \[Distributed]
ChiSquareDistribution[n1], \[FormalX]2 \[Distributed]
ChiDistribution[n2]}]]
And whatI really want to do is a little more complicated:
TransformedDistribution[\[FormalX]2 Sqrt[((\[FormalX]3 +
den) n + \[FormalX]1 Subscript[n, obs])/(
den (-1 + n) n)] \[Sigma], {\[FormalX]1 \[Distributed]
ChiSquareDistribution[1], \[FormalX]2 \[Distributed]
ChiDistribution[-1 + Subscript[n,
obs]], \[FormalX]3 \[Distributed]
ChiSquareDistribution[-1 + Subscript[n, mis]]}]
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
TransformedDistribution paulvonhippel at yahoo <paulvonhippel@yahoo.com> - 2011-08-31 10:10 +0000 Re: TransformedDistribution sashap <pavlyk@gmail.com> - 2011-09-01 10:07 +0000
csiph-web