Description Usage Arguments Methods (by class) Examples
Compute the probability of exeeding a given point.
1 2 3 4 5 6 7 8 9 10 |
object |
an object of class gauss_fit, gev_fit, gpd_fit. |
... |
Arguments to be passed to methods, |
pnt |
a point which consists of a line of data.frame containing the same variables used for the fit. It can bet set using the function |
under_threshold |
used for gpd_fit. It tells whether it provides an estimated when the point is under the GPD threshold. In which case, gives the empirical probability obtained by quantile regression. |
gauss_fit
: for a gaussian fit.
gpd_fit
: for a GPD fit.
gev_fit
: for a GEV fit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data(tas)
ge_fit <- gev_fit(eur_tas, data=tas, mu_mod=~gbl_tas, sig_mod=~gbl_tas, time_var="year")
gp_fit <- gpd_fit(eur_tas, data=tas, mu_mod=~gbl_tas, sig_mod=~gbl_tas, time_var="year", qthreshold=0.9)
ga_fit <- gauss_fit(eur_tas, data=tas, mu_mod=~gbl_tas, sig_mod=~gbl_tas, time_var="year")
t1 <- 2003
t0 <- 1990
xp <- 1.6
pnt1 <- set_pnt(t1, xp, time_var="year", tas)
pnt0 <- set_pnt(t0, xp, time_var="year", tas)
get_p(ga_fit ,pnt1)
get_far(ga_fit, pnt0, pnt1)
get_p(gp_fit, pnt1)
get_far(gp_fit, pnt0, pnt1)
get_p(ge_fit, pnt1)
get_far(ge_fit, pnt0, pnt1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.