I run the following:
library(actuar)
x <- seq(0, 22, 0.5)
fl <- discretize(plnorm(x, 2.1), from = 0, to = 22, step = 0.5, method
="lower")
Fs <- aggregateDist("recursive", model.freq = "poisson",model.sev = fl,
lambda = 10, x.scale = 0.5)
Warning message:
In panjer(fx = model.sev, dist = dist, p0 =
On Jun 27, 2013, at 4:14 AM, Charles Thuo wrote:
> I run the following in the "actuar" package while trying to discretize the
> lognormal distribution which i had fitted using the "fitdistrplus" package.
>
> fx <- discretize(plnorm(11.69,2.1),from = 0, to = 22, step = 0.5, method =
> "upper")
I run the following in the "actuar" package while trying to discretize the
lognormal distribution which i had fitted using the "fitdistrplus" package.
fx <- discretize(plnorm(11.69,2.1),from = 0, to = 22, step = 0.5, method =
"upper")
Error in discretize(plnorm(11.69, 2.1), from = 0, to = 22, st
3 matches
Mail list logo