Solved

plot distributions

Posted on 2014-11-17
4
124 Views
Last Modified: 2014-12-06
Hi,

I am generation two random number series. Normal and t distribution.
I use the following to generate random numbers
rnorm(20,0,1)
 rt(20,5)
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.

Thanks
0
Comment
Question by:camper12
4 Comments
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 40449521
if you have excel 2010 then this is the function you can use =T.DIST.2T
0
 
LVL 27

Accepted Solution

by:
d-glitch earned 500 total points
ID: 40450058
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.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question