0
$\begingroup$

I would like to sample from a bivariate conditional distribution $F(y_1, y_2 |X_1 = x_1, ..., X_p=x_p)$, where the distribution is determined non-parametrically. How can I sample from such a distribution?

$\endgroup$
0

1 Answer 1

1
$\begingroup$

Once one observes the realisation $$X_1 = x_1, ..., X_o=x_o$$ the values $x_1,\ldots,x_o$ are fixed and known. Hence the conditional cdf (I assume this is a cdf) $$F(y_1, y_2 |X_1 = x_1, ..., X_o=x_o)$$ is a function of $(y_1,y_2)$ only and a regular cdf, for which standard simulation techniques apply.

$\endgroup$
2
  • $\begingroup$ Thank you! But if the cdf $F$ is an empirical distribution (non-differentiable), this standard simulation technique does not work in my opinion. That's what I am struggeling with. $\endgroup$
    – anjo1659
    Commented Jul 1, 2022 at 9:47
  • $\begingroup$ @anjo1659: The question does not mention anything like this so you should rephrase it to reflect on your actual difficulties and repost it as another question. $\endgroup$
    – Xi'an
    Commented Jul 1, 2022 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.