This is a dataset is an example of a distribution of 20 correlated Bernoulli random variables.
Q_joint ... is 5 cells each consists of the joint distributions of 4,8,12,16,20 bits, respectively. The dimension of each cell is 2^n X 1, .e., a vertical column and n=4,8,12,16,20.
Q_conditional... is 5 cells each consists of the conditional distributions of 4 bits given 0, 4, 8,12,16 bits, respectively. In other words, 1:4 bits, 5:8 bits given 1:4 bits, 9:12 bits given 1:8 bits, 13:16 bits given 1:12 bits, 17:20 given 1:16 bits. The dimension of each cell is 2^4=16 X 2^n, i.e., a vertical column and n=4,8,12,16.
Q_ marginal... is 5 cells each consists of the marginal distributions of each 4 consecutive bits, i.e., 1:4 - 5:8 - 9:12 - 13:16 - 17:20, respectively. The dimension of each cell is 16 X 1, i.e., q vertical column.
Also, a MATLAB code is uploaded to extract conditional and marginal distributions from any given discrete distribution.