Skip to main content

Chapter 6: Probability Distributions

  • Chapter
  • 6846 Accesses

Abstract

In Chapter 6, you will learn how to use R for several important probability distributions. We cover the binomial distribution, the Poisson distribution, the normal distribution, the t distribution, the F distribution, and the chi-square distribution. R uses a standardized method for naming the functions associated with each of these, so that it is easy to remember them. We use the letters d (for density), p (for probability), q (for quantile), and r (for random) to preface the function, so for the normal distribution, dnorm returns the density, pnorm returns the probability associated with an area under the curve, qnorm returns the score associated with a given probability, and rnorm produces the desired number of randomly generated scores from a normal distribution with a given mean and standard deviation.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Dr. Joshua F. Wiley and the estate of Larry A. Pace

About this chapter

Cite this chapter

Wiley, J.F., Pace, L.A. (2015). Chapter 6: Probability Distributions. In: Beginning R. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0373-6_6

Download citation

Publish with us

Policies and ethics