Skip to contents

Generates a vector of i.i.d. random sums

Usage

general_sample_data(params, n)

Arguments

params

List of distributional arguments for the sum and summand distributions

n

Number of samples to generate

Value

Vector of i.i.d. random sums