Introduction to Distributions in R

Offered By
Coursera Project Network
In this Free Guided Project, you will:

 Draw random numbers from various types of distributions

Plot random number distributions and understand how changes to the various distribution parameters affect their shape and characteristics

Showcase this hands-on experience in an interview

Clock1 hour
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

This project is aimed at beginners who have a basic familiarity with the statistical programming language R and the RStudio environment, or people with a small amount of experience who would like to review the fundamentals of generating random numerical data from distributions in R.


Basic familiarity with R recommended but not necessary

Skills you will develop

query documentationgenerate sampling distributiondraw random numbers from distributionrun for loopplot histogram

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Draw random numbers from a uniform distribution and plot them in a histogram. Learn how to use the Set Seed function to recover previously generated random numbers for replicability.

  2. Draw random numbers from a binomial distribution, as well and use a binomial to draw random numbers from a Bernoulli distribution.

  3. Draw random numbers from the Poisson distribution.

  4. Draw random numbers from the Normal distribution and from multiple normal distributions simultaneously by using a vector of values for the distribution parameter arguments rather than a single value.

  5. Use random number drawing from a distribution to solve a real world question.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.