Package gpdtest. February 19, 2015

Similar documents
Package spd. R topics documented: August 29, Type Package Title Semi Parametric Distribution Version Date

Package RYoudaoTranslate

Package gsalib. R topics documented: February 20, Type Package. Title Utility Functions For GATK. Version 2.1.

Package datasets.load

Package eulerian. February 19, Index 5

Package SPIn. R topics documented: February 19, Type Package

Package capwire. February 19, 2015

Package ETC. February 19, 2015

Package ssd. February 20, Index 5

Package samplesizelogisticcasecontrol

Package ThreeArmedTrials

Package genelistpie. February 19, 2015

Package truncgof. R topics documented: February 20, 2015

Package ECctmc. May 1, 2018

Package bayesdccgarch

Package extweibquant

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package BayesCR. September 11, 2017

Package sbf. R topics documented: February 20, Type Package Title Smooth Backfitting Version Date Author A. Arcagni, L.

Package Density.T.HoldOut

Package kirby21.base

Package rngsetseed. February 20, 2015

Package ercv. July 17, 2017

Package frt. R topics documented: February 19, 2015

Package Storm. February 19, 2015

Package Ridit. February 19, 2015

Package globalgsa. February 19, 2015

Package desirability

Package MicroStrategyR

Package cgh. R topics documented: February 19, 2015

Package RCA. R topics documented: February 29, 2016

Package assortnet. January 18, 2016

Package npcp. August 23, 2017

Package imgur. R topics documented: December 20, Type Package. Title Share plots using the imgur.com image hosting service. Version 0.1.

Package rococo. August 29, 2013

Package sglr. February 20, 2015

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package distance.sample.size

Package deductive. June 2, 2017

Package rococo. October 12, 2018

Package egonet. February 19, 2015

Package keep. R topics documented: December 16, 2015

Package svapls. February 20, 2015

Package FrF2.catlg128

Package ParetoPosStable

Package PCGSE. March 31, 2017

Package CvM2SL2Test. February 15, 2013

Package gwrr. February 20, 2015

Package qlearn. R topics documented: February 20, Type Package Title Estimation and inference for Q-learning Version 1.

Package CINID. February 19, 2015

Package smoothmest. February 20, 2015

Package infutil. R topics documented: February 20, Version 1.0 Date Title Information Utility Author Kristian E.

Package NetCluster. R topics documented: February 19, Type Package Version 0.2 Date Title Clustering for networks

Package orqa. R topics documented: February 20, Type Package

Package StagedChoiceSplineMix

Package rpst. June 6, 2017

Package spark. July 21, 2017

Package PSTR. September 25, 2017

Package MDSGUI. February 19, 2015

Package treedater. R topics documented: May 4, Type Package

Package smoother. April 16, 2015

Package jmetrik. March 15, 2015

Package CuCubes. December 9, 2016

Package CONOR. August 29, 2013

Package lclgwas. February 21, Type Package

Package missforest. February 15, 2013

Package BlakerCI. August 20, 2015

Package libstabler. June 1, 2017

Package spatialtaildep

Package RaPKod. February 5, 2018

Package flsa. February 19, 2015

Package UnivRNG. R topics documented: January 10, Type Package

Package merror. November 3, 2015

Package lmesplines. R topics documented: February 20, Version

Package subrank. June 24, 2018

Package curry. September 28, 2016

Package hsiccca. February 20, 2015

Package vines. July 28, 2016

Use of Extreme Value Statistics in Modeling Biometric Systems

Package datamap. February 19, 2015

Package catenary. May 4, 2018

Package longclust. March 18, 2018

Package sfa. R topics documented: February 20, 2015

Package Conake. R topics documented: March 1, 2015

Package LGRF. September 13, 2015

Package FastKNN. February 19, 2015

Package ProgGUIinR. February 19, 2015

Package binmto. February 19, 2015

Package NB. R topics documented: February 19, Type Package

Package midastouch. February 7, 2016

Package madsim. December 7, 2016

Package OLScurve. August 29, 2016

Package gpr. February 20, 2015

Package synchronicity

Package spikes. September 22, 2016

Package shinyhelper. June 21, 2018

Package fastdummies. January 8, 2018

Package dkdna. June 1, Description Compute diffusion kernels on DNA polymorphisms, including SNP and bi-allelic genotypes.

Package CatEncoders. March 8, 2017

Package gridgraphics

Transcription:

Package gpdtest February 19, 2015 Type Package Title Bootstrap goodness-of-fit test for the generalized Pareto distribution Version 0.4 Date 2011-08-12 Author Elizabeth Gonzalez Estrada, Jose A. Villasenor Alva Maintainer Elizabeth Gonzalez Estrada <egonzalez@colpos.mx> Description This package computes the bootstrap goodness-of-fit test for the generalized Pareto distribution by Villasenor-Alva and Gonzalez-Estrada (2009). The null hypothesis includes heavy and non-heavy tailed gpd's. A function for fitting the gpd to data using the parameter estimation methods proposed in the same article is also provided. License GPL (>= 2) LazyLoad yes Repository CRAN Date/Publication 2012-10-29 08:58:48 NeedsCompilation no R topics documented: gpd.fit............................................ 2 gpd.test........................................... 3 rgp.............................................. 4 Index 6 1

2 gpd.fit gpd.fit Fitting the generalized Pareto distribution to data Description Usage This function fits a generalized Pareto distribution (gpd) to a data set using either the asymptotic maximum likelihood method (amle) or the combined method proposed by Villasenor-Alva and Gonzalez-Estrada (2009). gpd.fit(x,method) Arguments x method numeric data vector containing a random sample from a distribution function with support on the positive real numbers. a character string giving the name of the parameter estimation method to be used. There are two available methods: "combined" and "amle". Use "combined" for fitting a gpd with shape parameter <0. Use "amle" for fitting a gpd with shape parameter >= 0. Details Value The distribution function of the gpd is given in the details section of the function gpd.test. The parameter estimates. Author(s) Elizabeth Gonzalez Estrada, Jose A. Villasenor Alva References Villasenor-Alva, J.A. and Gonzalez-Estrada, E. (2009). A bootstrap goodness of fit test for the generalized Pareto distribution. Computational Statistics and Data Analysis,53,11,3835-3841. See Also gpd.test for testing the gpd hypothesis, rgp for generating gpd random numbers. Examples x <- rgp(20,shape = 1) ## Random sample of size 20 gpd.fit(x,"amle") ## Fitting a gpd to x using the "amle" method

gpd.test 3 gpd.test Bootstrap goodness-of-fit test for the generalized Pareto distribution Description Usage This function computes the bootstrap goodness-of-fit test by Villasenor-Alva and Gonzalez-Estrada (2009) for testing the null hypothesis H 0 : a random sample has a generalized Pareto distribution (gpd) with unknown shape parameter γ, which is a real number. gpd.test(x,j) Arguments x J numeric data vector containing a random sample from a distribution function with support on the positive real numbers. number of bootstrap samples. This is an optional argument. Default J=999. Details Value The bootstrap goodness-of-fit test for the gpd is an intersection-union test for the hypotheses H0 : a random sample has a gpd with γ < 0, and H 0 + : a random sample has a gpd with γ >= 0. Thus, heavy and non-heavy tailed gpd s are included in the null hypothesis. The parametric bootstrap is performed on γ for each of the two hypotheses. We consider the distribution function of the gpd with shape and scale parameters γ and σ given by [ F (x) = 1 1 + γx σ ] 1/γ where γ is a real number, σ > 0 and 1 + γx/σ > 0. When γ = 0, we have the exponential distribution with scale parameter σ: A list with the following components. boot.test F (x) = 1 exp ( x/σ) a list with class "htest" containing the p-value of the test, the name of the data set, and the character string "Bootstrap goodness-of-fit test for the generalized Pareto distribution". p.values the p-values of the tests of the hypotheses H 0 and H+ 0 Author(s) Elizabeth Gonzalez Estrada <egonzalez@colpos.mx>, Jose A. Villasenor Alva described above.

4 rgp References Villasenor-Alva, J.A. and Gonzalez-Estrada, E. (2009). A bootstrap goodness of fit test for the generalized Pareto distribution. Computational Statistics and Data Analysis,53,11,3835-3841. See Also gpd.fit for fitting a gpd to data, rgp for generating gpd random numbers. Examples x <- rgp(20,shape = 1) ## Random sample of size 20 gpd.test(x) ## Testing the gpd hypothesis on x rgp Generalized Pareto random numbers Description This function generates pseudo random numbers from a generalized Pareto distribution (gpd). Usage rgp(n,shape,scale) Arguments n shape scale sample size. shape parameter. scale parameter. Default scale=1. Details Value The distribution function of the gpd with shape and scale parameters γ and σ is [ F (x) = 1 1 + γx σ ] 1/γ where γ is a real number, σ > 0 and 1 + γx/σ > 0. When γ = 0, we have the exponential distribution with scale parameter σ. A vector of length n. Author(s) Elizabeth Gonzalez Estrada, Jose A. Villasenor Alva

rgp 5 See Also gpd.test for testing the gpd hypothesis Examples rgp(30,shape=1.5) ## Generates 30 random numbers from a gpd with shape parameter 1.5.

Index Topic distribution rgp, 4 Topic htest gpd.fit, 2 gpd.test, 3 gpd.fit, 2, 4 gpd.test, 2, 3, 5 rgp, 2, 4, 4 6