Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Characteristics of a TransformedDistribution
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
leigh pascoe

Posts: 30
Registered: 3/2/10
Characteristics of a TransformedDistribution
Posted: Nov 21, 2012 7:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Could someone please help me to plot a transformed distribution?

Assuming we have 2 independent random variables, x1 and x2, distributed
as Binomial[n,p],

We would like to plot the pdf of the distribution of the random variable


for various values of N (large) and p. This is a discrete distribution
with n2 possible values.

I have tried this numerous times, but always encounter either a syntax
error or a calculation that times out, even for small values of n.

I have defined the transformed distribution as follows.

or[n_, p_] :=
TransformedDistribution[(y1/(n - y1))/(y2/(n -
y2)), {y1 \[Distributed] BinomialDistribution[n, p],
y2 \[Distributed] BinomialDistribution[n, p]}]

but have been unsuccessful trying to plot it, or determine its PDF, CDF,
Mean, Variance etc.

Any suggestions appreciated.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.