plot distributions


I am generation two random number series. Normal and t distribution.
I use the following to generate random numbers
I now want to plot the distributions on the same graph to compare the tails of the two distributions. What code should I use for this.

Who is Participating?
d-glitchConnect With a Mentor Commented:
Generate your two lists of random numbers.
Then sort them from min to max.
Then plot the two sorted lists.
This will give you an approximation of the cumulative probability function for each of the distributions.
The behavior of the tails should be clear.
if you have excel 2010 then this is the function you can use =T.DIST.2T
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.