Sampling from joint discrete distribution
up vote
0
down vote
favorite
I have a set of items $a_1, a_2, dots, a_n$. My aim is to generate from this set of items, a list of item tuples ${(a_i, a_j), dots}$ such that $a_ine a_j$.
The constraints are as follows. The count of occurrence of each item in the tuple set is $c_1, c_2, dots, c_n$. Furthermore, each item $a_i$ co-occurs with $d_i$ distinct elements in the tuple list. Thus, $d_1, d_2, dots, d_n$ is also provided.
probability sampling constraints
add a comment |
up vote
0
down vote
favorite
I have a set of items $a_1, a_2, dots, a_n$. My aim is to generate from this set of items, a list of item tuples ${(a_i, a_j), dots}$ such that $a_ine a_j$.
The constraints are as follows. The count of occurrence of each item in the tuple set is $c_1, c_2, dots, c_n$. Furthermore, each item $a_i$ co-occurs with $d_i$ distinct elements in the tuple list. Thus, $d_1, d_2, dots, d_n$ is also provided.
probability sampling constraints
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a set of items $a_1, a_2, dots, a_n$. My aim is to generate from this set of items, a list of item tuples ${(a_i, a_j), dots}$ such that $a_ine a_j$.
The constraints are as follows. The count of occurrence of each item in the tuple set is $c_1, c_2, dots, c_n$. Furthermore, each item $a_i$ co-occurs with $d_i$ distinct elements in the tuple list. Thus, $d_1, d_2, dots, d_n$ is also provided.
probability sampling constraints
I have a set of items $a_1, a_2, dots, a_n$. My aim is to generate from this set of items, a list of item tuples ${(a_i, a_j), dots}$ such that $a_ine a_j$.
The constraints are as follows. The count of occurrence of each item in the tuple set is $c_1, c_2, dots, c_n$. Furthermore, each item $a_i$ co-occurs with $d_i$ distinct elements in the tuple list. Thus, $d_1, d_2, dots, d_n$ is also provided.
probability sampling constraints
probability sampling constraints
asked Nov 13 at 19:43
learner
11813
11813
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2997213%2fsampling-from-joint-discrete-distribution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown