Description Usage Arguments Details Value Examples
Add a single term to either mu, sigma, and xi based on criterion Likelihood ratio test, AIC, or the Wald test
1 2 | add1_gevreg(fit, parameter = "mu", alpha = 0.05,
criterion = "pvalue")
|
fit |
An object of class |
parameter |
A specified parameter that needs to add one covariate.
Equals |
alpha |
Significance level if criterion equals pvalue or LRT. Default value is 0.05. |
criterion |
Either based |
When a new model is fitted in which an extra covariate is added, we use starting values based on the fit of the smaller model. The start value for the new added variable will be set to be zero.
An object (a list) of class c("gev", "evreg")
summarising
the new model fit (which may be the same as fit
) and containing the
following additional components
Input_fit |
The input object of the class |
Note |
A message that tells if a covariate has been added or not. |
Output_fit |
A list that contains formulae for the parameter,
and the output object of the class |
added_covariate |
A character vector shows added covariate |
criterion_value |
criterion value for if both input model and output model are different. |
1 2 3 4 | ### Annual Maximum and Minimum Temperature
P0 <- gevreg(y = TMX1, data = PORTw[, -1])
add1_gevreg(P0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.