search for: genins

Displaying 3 results from an estimated 3 matches for "genins".

Did you mean: genind
2008 Sep 03
0
Graphics: Improving a Lattice plot - can it be done ?
...o much to ask" question, but can I improve the Lattice plot produced by the following code? The type of figure I would like to produce in each segment of the plot appears below the code. library(reserving) # http://toolkit.pbwiki.com/RToolkit <http://toolkit.pbwiki.com/RToolkit> data(GenIns) GenInsInc <- incrementalTriangle(GenIns) basicCL <- ChainLadder(GenIns, quarterly=FALSE, usetail=FALSE, YOA=c(1997:2006)) # lattice plot by underwriting years plot(basicCL, byYOA=TRUE) Instead of the ordinary "confidence bands" produced by the re lines, I would like to display a...
2010 Nov 13
0
Clark method enhancement to ChainLadder package
...lty Actuarial Society) *Forum* paper "LDF Curve-Fitting and Stochastic Reserving: A Maximum Likelihood Approach." Clark's methods are ready to be put to use on a wide variety of "triangles". To see a demonstration of the example in Clark's paper (ChainLadder's "GenIns" is the same dataset), run > library(ChainLadder) > demo(clarkDemo) This will run the "LDF Method" with the loglogistic growth function limited to 20 years of development, per Clark's example. It will also run the "CapeCod Method" with the weibull growth functio...
2010 Jun 09
1
bug? in stats::cor for use=complete.obs with NAs
Arrrrr, I think I've found a bug in the behavior of the stats::cor function when NAs are present, but in case I'm missing something, could you look over this example and let me know what you think: > a = c(1,3,NA,1,2) > b = c(1,2,1,1,4) > cor(a,b,method="spearman", use="complete.obs") [1] 0.8164966 > cor(a,b,method="spearman",