- #1
Alamino
- 71
- 0
I would appreciate if someone could give me some idea about how to solve this sampling problem. I have a distribution W(x,y) of fields x and y characterized by a population of N vectors (x,y). I have to sample x and y fields according to a second distribution Q(x,y) which is related to W by:
Q(x,y) = W(x,y) F(y),
where given some y, I know how to calculate F(y). Now, I can sample from W simply by choosing a vector from my population and then, I can calculate F(y). I am hoping I can use something similar to the rejection method to sample from Q.
Does anyone has some idea about that?
Cheers,
Roberto.
Q(x,y) = W(x,y) F(y),
where given some y, I know how to calculate F(y). Now, I can sample from W simply by choosing a vector from my population and then, I can calculate F(y). I am hoping I can use something similar to the rejection method to sample from Q.
Does anyone has some idea about that?
Cheers,
Roberto.