We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When rereserving = FALSE is specifying , summary.tweedie does not work.
rereserving = FALSE is specifying
This is due to the fact that in the second part of the code of the summary.tweedie function (this part is applied if rereserving = FALSE) we have
rereserving = FALSE
else{ out<- list( Reserve=data.frame( IBNR=c(mean(res$distr.res_ult), sd(res$distr.res_ult), #sd(res$distr.res_ult)/mean(res$distr.res_ult), quantile(res$distr.res_ult,q) ) ), Diagnostic=c(GLMReserve=res$GLMReserve, "mean(IBNR)"=mean(res$distr.res_ult)) ) } rownames(out$Prediction) <- c("mean", "sd", paste0(q*100, "%")) print(out) }
Therefore there is an error because out$Prediction does not exist.
out$Prediction
It is easily fixed by changing for example :
Reserve=data.frame( IBNR=c(mean(res$distr.res_ult), sd(res$distr.res_ult), #sd(res$distr.res_ult)/mean(res$distr.res_ult), quantile(res$distr.res_ult,q) )
by
Prediction=data.frame( IBNR=c(mean(res$distr.res_ult), sd(res$distr.res_ult), #sd(res$distr.res_ult)/mean(res$distr.res_ult), quantile(res$distr.res_ult,q) )
Thank you in advance for your opinion.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
When
rereserving = FALSE is specifying
, summary.tweedie does not work.This is due to the fact that in the second part of the code of the summary.tweedie function (this part is applied if
rereserving = FALSE
) we haveTherefore there is an error because
out$Prediction
does not exist.It is easily fixed by changing for example :
by
Thank you in advance for your opinion.
The text was updated successfully, but these errors were encountered: