R Dataset / Package DAAG / Lottario
On this R-data statistics page, you will find information about the Lottario data set which pertains to Ontario Lottery Data. The Lottario data set is found in the DAAG R package. You can load the Lottario data set in R by issuing the following command at the console data("Lottario"). This will load the data into a variable called Lottario. If R says the Lottario data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Lottario R data set. The size of this file is about 246 bytes.
Ontario Lottery Data
Description
The data frame Lottario
is a summary of 122 weekly draws of an Ontario lottery, beginning in November, 1978. Each draw consists of 7 numbered balls, drawn without replacement from an urn consisting of balls numbered from 1 through 39.
Usage
Lottario
Format
This data frame contains the following columns:
- Number
-
the integers from 1 to 39, representing the numbered balls
- Frequency
-
the number of occurrences of each numbered ball
Source
The Ontario Lottery Corporation
References
Bellhouse, D.R. (1982). Fair is fair: new rules for Canadian lotteries. Canadian Public Policy - Analyse de Politiques 8: 311-320.
Examples
order(Lottario$Frequency)[33:39]# the 7 most frequently chosen numbers
Dataset imported from https://www.r-project.org.