Learn R Programming

ExprNet (version 1.0.0)

pirwin.hall: Distribution function of the Irwin-Hall distribution

Description

Computes the distribution function of Irwin-Hall with parameter n. This function is NOT vectorized.

Usage

pirwin.hall(x, n)

Value

The CDF of the Irwin-Hall(n) at x.

Arguments

x

A number between 0 and n.

n

The number of i.i.d. U(0,1) to sum. It should be an integer.

References

Irwin-Hall Distribution. (n.d.). Randomservices.org. Retrieved May 8, 2023, from https://www.randomservices.org/random/special/IrwinHall.html

Examples

Run this code
pirwin.hall(1, 2)
pirwin.hall(2.5, 4)

Run the code above in your browser using DataLab