+ Reply to Thread
Results 1 to 8 of 8

Thread: Negative binomial distribution

  1. #1
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Negative binomial distribution




    Hello,

    I am a student at the university of Hasselt (Belgium) in management, and I had to follow a statistical course. It is for me very difficult since I simply don't have any background in mathematics and statistics.

    I am struggling with an exercise that might be easy but I really don't know where to start and so what to do. I know how to answer question b) but I don't know what are the mean and variance of Y. And I just don't know how to do a), which , I suppose, will help me to do b)

    So if some could help me, I would be grateful!
    Attached Images  

  2. #2
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Negative binomial distribution

    hi,
    first of all I would say that this is an amazing exercise for someone studying management - anyone expecting future managers to be fluent in higher mathematics has not seen many people in this role :P. Nevertheless, a few hints:

    I do not think you need point a) to solve b). a) is talking about the distribution of X, you only need the mean and the variance of Y to solve b).

    Concerning point a) you just need to apply the total probability formula to calculate the distribution of x - which reduces to calculating a nice integral, once you substituted the formulas for the conditional probalty of x|y and y. Good luck !

    regards
    rogojel

  3. #3
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Negative binomial distribution

    Hi! Thanks for your answer. Yes I must admit at first I hated the course but now that I get 90% of it, I just like it haha.

    So for a), you mean that P(X) = ∑ P(X|Y)P(Y)
    And I already have P(X|Y), right. P(Y) is supposed to have a gamma distribution, but don't I need to have the value for alpha and beta ? for both a) and b) ? Sorry if it's obvious I don't get it

  4. #4
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Negative binomial distribution

    hi,
    yes, except that you will have an integral instead of a sum. The way the problem is formulated, unless the alpha and beta were specified earlier, you just have to keep them as constants. Question a) only asks you to prove that the distribution of X is negative binomial, so having an alpha and a beta in the formula is no problem.

    I guess the same will have to do for b) as well.

    regards
    rogojel

  5. #5
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Negative binomial distribution

    Does it mean the distribution of Y that I have to plug in my formula is the following with a Y instead of the X ? http://paulbourke.net/miscellaneous/...gammadist2.gif

  6. #6
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Negative binomial distribution

    yepp, then do the integral p(x|y)f(y)dy where f is the formula for the gamma distribution.

    regards
    rogojel

  7. #7
    Points: 37, Level: 1
    Level completed: 74%, Points required for next Level: 13

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Negative binomial distribution

    Erf, even with that i can't do it, i must be terrible at statistics / mathematics xD

    The whole part without "y" can go outside the integral right ? But what do I do with the "x!" within the integral ?

    Does Γ(alpha) = (1 - alpha)! ?

    Also I usually have limits, like Y lies within a and b, here is it infinity ? Or is an integral without doing this substition at the end ?

  8. #8
    TS Contributor
    Points: 7,081, Level: 55
    Level completed: 66%, Points required for next Level: 69

    Location
    Copenhagen , Denmark
    Posts
    515
    Thanks
    71
    Thanked 123 Times in 116 Posts

    Re: Negative binomial distribution


    1) take constant outside integral (yes...The whole part without "y")
    2) Then use that \int_0^\infty y^{\alpha-1}\exp(-\beta y) dy = \frac{\Gamma(\alpha)}{\beta^\alpha} ... this is probably proven in curriculum... or you can derive it yourself from definition of gammafunction and a simple substitution...
    3) you then get something with some Gammafunctions and x! and (1+\beta)^\alpha and some other stuff.... it does not look like the negative binomial but will apparently be when reparameterized



    and by the way you are not necessarily bad at math.... the integral is in a sense not really "solved" since the gammafunction just is an integral so if you are staring at the integral thinking OMG it just shows you have never learned to manipulate and utilize the gammafunction...but hey youre learning now

    PS... \Gamma(\alpha) = (\alpha-1)!

    also if you have any reference for an example of actually applying this model I would be very interested...??
    Last edited by JesperHP; 06-02-2014 at 07:13 PM.

+ Reply to Thread

           




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