| Author |
Comment/Response |
Sinval Santos
|
03/14/12 07:03am
Values of Z
zz = {0, 1/3, 1/2, 2/3, 1, 3/2, 2, 3};
Probability of Z
pz = {1/8, 1/8, 1/4, 1/8, 1/4, 0, 0, 1/8}
Pairs formed with Z and the probability
Diz = Table[{zz[[i]], pz[[i]]}, {i, Length[zz]}]
Histogram[Diz, 8]
I to construct a histogram of values in the x-axis and Z probability on the y axis. I could not. Can you help?
URL: , |
|