+ Reply to Thread
Results 1 to 2 of 2

Thread: Generateing a random variable

  1. #1
    Points: 4, Level: 1
    Level completed: 7%, Points required for next Level: 46

    Thanked 0 Times in 0 Posts

    Generateing a random variable

    Hi, I have a problem on how to start the following problem:

    Suppose that X and Y are discrete random variables with a joint probability
    mass function p_XY (x, y).

    Procedure is the following:
    a. Generate X ∼ p_X (x).
    b. Accept X with probability p(y|X).
    c. If X is accepted, terminate and return X. Otherwise go to Step a.

    Show that this procedure generates a random variable X ∼ p_X|Y (x|y).

    I would've been grateful for any help. Tnx

  2. #2
    Devorador de queso
    Points: 95,819, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Tampa, FL
    Thanked 2,629 Times in 2,245 Posts

    Re: Generateing a random variable

    Hi! We are glad that you posted here! This looks like a homework question though. Our homework help policy can be found here. We mainly just want to see what you have tried so far and that you have put some effort into the problem. I would also suggest checking out this thread for some guidelines on smart posting behavior that can help you get answers that are better much more quickly.
    I don't have emotions and sometimes that makes me very sad.

+ 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