SofIID: Sum of iid RVs

Description Usage Arguments Examples

Description

Create a random variable that is the sum of independent and identically distributed random variables.

Usage

1
  SofIID(X, n = 2)

Arguments

X

A random variable that has the distribution of interest

n

The number of Xs to sum

Examples

1
2
fair.die <- make.RV(1:6, rep(1/6, 6))
SofIID(fair.die, n = 3)

Dasonk/drvc documentation built on May 6, 2019, 1:37 p.m.