+ Reply to Thread
Results 1 to 3 of 3

Thread: binomial distribution with random p?

  1. #1
    Points: 2,940, Level: 33
    Level completed: 27%, Points required for next Level: 110

    Location
    Washington, DC
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts

    binomial distribution with random p?



    I haven't much training in statistics or math in general, but I was playing around with a signalling model I'm building, mostly for fun, and ran into this issue:

    An individual i has a type X(i). X is distributed in some way on the unit interval. Then, a payoff accrues to the individual with probability X.

    So, the payoffs for all i have a binomial distribution where p=X, but X is itself a random variable. I haven't chosen the exact distribution of X yet, mostly because I won't even know what to do when I have it. Eventually I want to evaluate the density function of the payoffs, but I don't have a clue how to do that.

    Could someone direct me to resources that deal with this sort of problem, if anyone knows of any?


    Separately, but as part of the same model, I'm also wondering what happens when a random variable is raised to the power of another random variable. Again, no specific distributions here--the concept itself is eluding me. Any explanations? Thanks.

  2. #2
    Points: 2,828, Level: 32
    Level completed: 52%, Points required for next Level: 72

    Location
    st. john's, newfoundland
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the way i usually hear of this done is via a beta-binomial mixture distribution. it's a bit advanced, but i'll outline the concept anyway. you're going to want to hunt for a beta-binomial package in R or something to actually evaluate probabilities.

    given probability p, X follows a binomial distribution. the beta distribution is continuous and assigns probability to a variable on the unit interval (0,1), so it's a popular choice for modeling probabilities (and can be used to model the probability P in this case).

    for
    X|P=p ~ bin(n, p)
    P ~ beta(a, b),

    the density of X, after removing the condition on knowing p, is a tad complex:

    f(x) = nCx * beta(a+x, b+n-x) / beta(a, b)

    where
    - nCx is a binomial coefficient
    - beta(a, b) is a beta function, using the form beta(a, b) = gamma(a)gamma(b)/gamma(a + b)
    - and gamma(a) is a gamma function

    you can use maximum likelihood estimates of a and b (when estimating p), and then your density is simply a function of x. a and b carry all the information about the beta-modeled binomial probability p.

    if you have limited exposure to math/stats, i'm aware this might look a bit daunting. but with some experience it's really not too bad, and like i said the applied work could be as easy as finding the correct package in R.
    the little heart beats so fast (8)

  3. #3
    Points: 2,828, Level: 32
    Level completed: 52%, Points required for next Level: 72

    Location
    st. john's, newfoundland
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Separately, but as part of the same model, I'm also wondering what happens when a random variable is raised to the power of another random variable. Again, no specific distributions here--the concept itself is eluding me. Any explanations? Thanks.
    nothing set in stone happens here, it depends on the random variables themselves. you might wanna google some lecture notes on 'bivariate transformation of random variables', for some background on the general idea.
    the little heart beats so fast (8)

+ Reply to Thread

Similar Threads

  1. Random Binomial Distribution - A quick question
    By michonamona in forum Statistics
    Replies: 0
    Last Post: 03-16-2010, 11:09 AM
  2. Binomial random variable question
    By disgurl in forum Probability
    Replies: 5
    Last Post: 06-16-2009, 09:34 PM
  3. Binomial Random Variable
    By n77ler in forum Probability
    Replies: 1
    Last Post: 10-18-2008, 06:54 PM
  4. Replies: 0
    Last Post: 05-05-2008, 10:11 PM
  5. Binomial random variable help
    By abe_cooldude in forum Statistics
    Replies: 1
    Last Post: 12-04-2006, 06:29 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