bday: Birthday Solver

Description Usage Arguments Details Value References Examples

Description

Calcuates the probability of at least two out of 'n' people in a room having the same birthday, assuming that birthdays are equilikely throughout the year.

Usage

1
bday(n = 0)

Arguments

n

Sample size of the number of people in a room

Details

Computes the solution to Example 1.3.3 (8th Edition)

Value

The probability bday of at least two people having the same birthdays

References

Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.

Examples

1
2
bday(2)
bday(10)

austinragotzy/mathstat documentation built on May 13, 2019, 11:30 a.m.