+ Reply to Thread
Results 1 to 6 of 6

Thread: How to get distribution of X1/(X1+X2+...Xn)

Hybrid View

  1. #1
    Points: 1,413, Level: 21
    Level completed: 13%, Points required for next Level: 87

    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get distribution of X1/(X1+X2+...Xn)

    Hi Everyone,
    I've got a problem on how to find the pdf and cdf for X1/(X1+X2+...Xn) , where xi is iid exponential(1, 1/s)?
    I read something about that using the fact that x2+...Xn is gamma(n-1,s), but I don't know what to do next. I think it may be associated with transformation, but I don't know how to do it?

    Anyone can provide some suggestion? Really appreciated.

  2. #2
    RotParaTon
    Points: 46,151, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,064
    Thanks
    211
    Thanked 1,605 Times in 1,375 Posts

    Re: How to get distribution of X1/(X1+X2+...Xn)

    It's been a while since I've done that problem but let's see... We did it for the general case of gamma distributions (which the exponential is a special case). I think we only had two gammas though (say X and Y). We can reduce your case down to this by realizing that the sum of exponentials is gamma and since X_i are independent then X_1 and \sum_{i=2}^n X_i are independent. Then I think it's just a simple bivariate transformation to get the result you want. (Hint: you might be shooting for a beta...)

  3. #3
    TS Contributor
    Points: 14,811, Level: 78
    Level completed: 91%, Points required for next Level: 39

    Posts
    2,295
    Thanks
    8
    Thanked 371 Times in 351 Posts

    Re: How to get distribution of X1/(X1+X2+...Xn)

    So let X = X_1, Y = X_2 + X_3 + ... + X_n
    Z = \frac {X} {X + Y}

    Since the support of X, Y are (0, +\infty),
    the support of Z is (0, 1)

    One common way:
    Since you know the pdf of the exponential distribution and the gamma
    distribution, the joint pdf of X and Y are known. Then you can consider
    an auxillary random variable W = X, and then you can determine the
    joint pdf of Z and W by taking the two-variables jacobian transformation.
    After this, you integrate over all the support of W to obtain
    back the marginal pdf of Z

    Another way:
    Note \forall z \in (0, 1), F_Z(z) = 
\Pr\left\{\frac {X} {X+Y} \leq z \right\}
= \Pr\{X \leq zX + zY \}
= \Pr\{(1 - z)X \leq zY \}
    = \Pr\left\{X \leq \frac {zY} {1 - z} \right\}

    Then F_Z(z) = \int_0^{+\infty} 
F_X \left(\frac {zy} {1 - z} \right) f_Y(y) dy
    by the independence of X and Y

    Differentiating both sides with respect to z, we have
    f_Z(z) = \frac {\partial F_Z(z)} {\partial z}
= \int_0^{+\infty} \frac {y} {(1 - z)^2}
f_X \left(\frac {zy} {1 - z} \right) f_Y(y) dy

    Subsitute all the known pdf inside with your parameterization, then
    do the gamma integral.

  4. #4
    Ninja say what!?!
    Points: 8,297, Level: 61
    Level completed: 49%, Points required for next Level: 153
    Link's Avatar
    Posts
    1,165
    Thanks
    37
    Thanked 82 Times in 75 Posts

    Re: How to get distribution of X1/(X1+X2+...Xn)

    Thank you for posting BMG. That second solution was what I was thinking of, but was too lazy to post it up.

  5. #5
    Points: 2,198, Level: 28
    Level completed: 32%, Points required for next Level: 102

    Posts
    275
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How to get distribution of X1/(X1+X2+...Xn)

    Quote Originally Posted by hslinhc View Post
    ...where xi is iid exponential(1, 1/s)?
    The exponential distribution only has one parameter. Did you mean Gamma(1,1/s)?

  6. #6
    Points: 1,413, Level: 21
    Level completed: 13%, Points required for next Level: 87

    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to get distribution of X1/(X1+X2+...Xn)

    Thank you Dason.
    And thank you BGM. Your second solution is cool.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 05-11-2011, 01:35 PM
  2. Data distribution versus sample distribution
    By mazatlan in forum Statistics
    Replies: 0
    Last Post: 03-30-2011, 04:17 PM
  3. Replies: 0
    Last Post: 06-24-2009, 08:01 AM
  4. approximating binomial distribution w/ normal distribution
    By fiddlestix327 in forum Probability
    Replies: 2
    Last Post: 06-25-2008, 06:45 PM
  5. Replies: 0
    Last Post: 01-23-2008, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats