simulator: Simulator of random numbers from some not-so-common...

Description Usage Arguments Value Note

View source: R/Approx.R

Description

The function simulates random numbers from some distributions

Usage

1

Arguments

dist

distribution from which to simulate c("Pareto", "TruncWeibull", TruncLogNormal")

par

parameters of the distribution chosen.

n

the number of simulations.

Value

The function returns the simulations of Y. If you want to compute the probability P(Y<m) you can simply run the following command mean(Y<m)

Note

Confidence intervals still to be added (along with more distributions)


lucazama/CollectiveRisk documentation built on July 25, 2020, 7:22 a.m.