Hello,

I have to generate a couple of random datasets to validate an actuarial
software.
Each set has to contain at least two columns: (1) Date of the loss events
occurrence; (2) Severity of loss

I'm generating the dates on a monthly basis by, for example:
        ts(matrix(rpois(36,10)), start=c(2003, 1), frequency=12).
>From that output I generate dates "by hand", what is REALLY time consuming
:-(.

I think it should be possible to get a direct output in "real" dates
(dd.mm.yyyy). The day of occurence doesn't matter,it can be chosen randomly,
too. Important is only, that the MONTHLY simulated frequency follows the
chosen distribution.
Any ideas?

Thank you very much,

Carsten

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to