# [R-pkgs] prob package: elementary probability on finite sample spaces

From: G. Jay Kerns <gkerns_at_ysu.edu>
Date: Thu, 10 Jan 2008 07:40:46 -0500

Dear R Community,

I am pleased to announce the beta-release of the prob package. The source code is now on CRAN, and binaries should be generated there before long. In the meantime, you can get it with

install.packages("prob", repos = "http://r-forge.r-project.org")

The prob package gives a framework for doing elementary probability on finite sample spaces in R. The primary notion of "probability space" has been built around the data frame structure, both for simplicity and to maximize compatibility with the R Commander by John Fox.

The package addresses an ample proportion of material in a typical undergraduate course in elementary probability, or the probability material in an introductory statistics course. For details, see vignette("prob").

Since the focus is on sample/probability spaces, the prob package could be used as a precursor to the more sophisticated distrxxx-family of packages.

Topics:

• construction of sample spaces (in the sense of 'prob' ) of various kinds. Some standard sample spaces are included (toss a coin, roll a die, sample from an urn, draw cards, roulette, etc.)
• counting and the Multiplication Principle,
• subsets and events including methods for intersect, union, and setdiff extending those in the base package,
• the prob function for finding probability and conditional probability of events,
• simulation and relative frequencies,
• random variables, marginal distributions,
• extensions for more general sample spaces,
• discrete multivariate distributions with finite support,
• more...

Some discussion and examples can be found at the R-Forge prob project web page:

There are many avenues for future development/improvement; all suggestions and comments are welcomed. I would appreciate hearing about your experiences with it in the classroom and elsewhere.

The audience for this package would include teachers and students of elementary probability, or simply anyone wanting to dabble with probability on a finite sample space.

Regards,
Jay

G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail) -3302 Department
-3170 FAX
E-mail: gkerns_at_ysu.edu
http://www.cc.ysu.edu/~gjkerns/

R-packages mailing list
R-packages_at_r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages Received on Fri 11 Jan 2008 - 00:43:11 EST

This archive was generated by hypermail 2.2.0 : Fri 11 Jan 2008 - 01:00:01 EST