sumdistSelf: Sum of distribution with itself

Description Usage Arguments Value

Description

Computes the sum of the distribution of N iid discrete random variables

Usage

1
sumdistSelf(dist, N = 2)

Arguments

dist

Input distribution. Vector where position i corresponds to the probability that the random variable is i-1

N

Number of times to add

Value

Distribution of the sum. Vector where position i corresponds to the probability that the random variable is i-1


jc-castillo/vaccineEarlyInvest documentation built on Sept. 29, 2020, 12:48 p.m.