Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.dfCorTest

Plot method for a dfCorTest object


Description

plot.dfCorTest, a method to plot the output of dfCorTest. It is designed to give a quick overview of a dfCorTest object and to check the assumption of independece between development factors.

Usage

## S3 method for class 'dfCorTest'
plot(x, type = "l", xlab = "T", ylab = "Density", 
                          main = "Development Factor Correlation", col.area = "gray",
                          border = NA, ...)

Arguments

x

output from dfCorTest

type

Default: "l". What type of plot should be drawn

xlab

Default: "Z". X axis label

ylab

Default: "Density". Y axis label

main

Default: "Development Factor Correlation". Plot title

col.area

Default: "gray". Color of the shaded area.

border

Default: NULL, the color to draw the border. Use border = NA to omit borders.

...

optional arguments. See plot.default for more details.

Details

plot.dfCorTest shows the underlying distribution, the test statistic Z and the relative Confidence Interval. If the test statistic Z is within the highlighted region the hypothesis of correlation between development factors could be rejected.

Author(s)

Marco De Virgilis devirgilis.marco@gmail.com

See Also

Examples

plot(dfCorTest(RAA))

ChainLadder

Statistical Methods and Models for Claims Reserving in General Insurance

v0.2.12
GPL (>= 2)
Authors
Markus Gesmann [aut, cre], Daniel Murphy [aut], Yanwei (Wayne) Zhang [aut], Alessandro Carrato [aut], Giuseppe Crupi [ctb], Christophe Dutang [ctb], Arnaud Lacoume [ctb], Arthur Charpentier [ctb], Mario Wuthrich [aut], Fabio Concina [aut], Eric Dal Moro [aut], Yuriy Krvavych [ctb], Vincent Goulet [ctb], Marco De Virgilis [ctb]
Initial release
2021-01-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.