Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Histogram' topicStudent Support Forum > General > "Histogram"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Histogram')
Author Date Posted
Histogram Sinval Santos 03/14/12 07:03am
Re: Histogram Bill Simpson 03/15/12 00:49am
Re: Histogram Bill Simpson 03/15/12 00:50am
Next Comment >Help | Reply To Topic