plot.gauss_fit: Plot diagnostics for an gauss_fit object

Description Usage Arguments Details Examples

View source: R/model_fit.R

Description

Diagnostic plots of a gaussian fit : standardized residuals plots, qqplot, density of fitted vs theorical density, times series ans return levels

Usage

1
2
## S3 method for class 'gauss_fit'
plot(x, ...)

Arguments

x

an object of class gauss_fit.

...

Arguments to be passed to methods,

Details

Diagnostic plots of the fit : standardized residuals plots, qqplot, density of fitted vs theorical density, times series ans return levels. This function is just a wrapper of plot.fevd from the extRemes packages : the gaussian is fitted again with the fevd function with initial parameters taken from the gauss_fit object and then plotted using plot.fevd.

Examples

1
2
3
4
5
6
7
data(tas)
#Example with the same covariate for the mean and variance parameter
ga_fit <- gauss_fit(eur_tas, data=tas, mu_mod=~gbl_tas, sig_mod=~gbl_tas, time_var="year")
# get the values of the mean and variance parameters of the gaussian at each time
compute_par(ga_fit, tas)
# plot diagnostic plot of the fit : standardized residuals plots, qqplot, density of fitted vs theorical density, times series ans return levels
plot(ga_fit)

thaos/FARg documentation built on May 25, 2019, 8:18 a.m.