treynkens / reins Goto Github PK
View Code? Open in Web Editor NEWFunctions from the book "Reinsurance: Actuarial and Statistical Aspects"
Home Page: http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470772689.html
Functions from the book "Reinsurance: Actuarial and Statistical Aspects"
Home Page: http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470772689.html
Hey @TReynkens,
I've noticed in practice that some data sets and splicing point settings can lead to an invalid estimate of the upper truncation point for the spliced mixed Erlang and truncated Pareto distribution.
Here demonstrated with some generated data:
library(ReIns)
# Pareto random sample
set.seed(123)
X <- rpareto(500, shape = 2)
# Splice ME and Pareto
splicefit <- SpliceFitPareto(X, const = 0.9, EVTtruncation = TRUE, M = 5, s = 1)
#> Error in if (endpoint <= scale) {: missing value where TRUE/FALSE needed
Created on 2023-11-02 with reprex v2.0.2
Rcpp will by default define STRICT_R_HEADERS
in September 2019, see email Dirk Eddelbuettel on 18/09/2018 and RcppCore/Rcpp#898.
For ReIns, DBL_MAX
is causing a problem.
Hi, I am impatient to see this book published... Btw, I was wondering wether there are any plan to implement a function for the Gertensgarbe-Werner estimator. Once I was given a matlab code that I attach
GartensGarbe.m.txt that migth be helpful
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.