coins.Rd
Demo distribution with three variables ${X, Y, Z}$ representing three fair coins, i.e. all variables are binary with values ${0,1}$, and consider the following random experiment: two coins are randomly tossed and the third one is laid on a table in the way that the number of '\,$1$\!' is odd. This experiment is fully described by probability distribution, values of which are in the following table
X | Y | Z | MUDIM.frequency |
0 | 0 | 1 | 0.25 |
0 | 1 | 0 | 0.25 |
1 | 0 | 0 | 0.25 |
1 | 1 | 1 | 0.25 |
data(Kappa)
An object of class Distribution
;
#> [1] "X" "Y" "Z"dim(coins)#> [1] 3dTable(coins)#> X Y Z MUDIM.frequency #> 1: 0 0 1 0.25 #> 2: 0 1 0 0.25 #> 3: 1 0 0 0.25 #> 4: 1 1 1 0.25