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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-1-4842-0373-6_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0374-3
Online ISBN: 978-1-4842-0373-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books