# Computation of Power and Level Tables for Hypothesis Tests

## Documentation for package ‘PoweR’ version 1.0.5

- DESCRIPTION file.

## Help Pages

C D G H I L M N P R S U

## -- C --

calcFx | Empirical distribution function of p-values.
checklaw | Check proper behaviour of a random generator
compquant | Computation of the quantile values only for one test statistic.
create.alter | Create a list giving the type of test statistics.

## -- D --

Distributions | Distributions in the PoweR package
dlaw1 | Density function
dlaw10 | Density function
dlaw11 | Density function
dlaw12 | Density function
dlaw13 | Density function
dlaw14 | Density function
dlaw15 | Density function
dlaw16 | Density function
dlaw17 | Density function
dlaw18 | Density function
dlaw19 | Density function
dlaw2 | Density function
dlaw20 | Density function
dlaw21 | Density function
dlaw22 | Density function
dlaw23 | Density function
dlaw24 | Density function
dlaw25 | Density function
dlaw26 | Density function
dlaw27 | Density function
dlaw28 | Density function
dlaw29 | Density function
dlaw3 | Density function
dlaw30 | Density function
dlaw31 | Density function
dlaw32 | Density function
dlaw33 | Density function
dlaw34 | Density function
dlaw35 | Density function
dlaw36 | Density function
dlaw37 | Density function
dlaw38 | Density function
dlaw39 | Density function
dlaw4 | Density function
dlaw5 | Density function
dlaw6 | Density function
dlaw7 | Density function
dlaw8 | Density function
dlaw9 | Density function

## -- G --

gensample | Generate random samples from a law added in the package.
getindex | Get indices of laws and statistics functions.
getnbparlaws | Retrieve the default number of parameters of some laws.
getnbparstats | Get numbers of parameters of test statistics.
graph | p-value plot, p-value discrepancy plot and size-power curves.

## -- H --

help.law | Help Law
help.stat | Help Stat

## -- I --

indicator | Density function

## -- L --

Laplace.tests | Goodness-of-fit tests for the Laplace distribution
law.cstr | Gives information about a given law.
law0001 | The Laplace Distribution
law0001.Laplace | The Laplace Distribution
law0002 | The Normal Distribution
law0002.Normal | The Normal Distribution
law0003 | The Cauchy Distribution
law0003.Cauchy | The Cauchy Distribution
law0004 | The Logistic Distribution
law0004.Logistic | The Logistic Distribution
law0005 | The Gamma Distribution
law0005.Gamma | The Gamma Distribution
law0006 | The Beta Distribution
law0006.Beta | The Beta Distribution
law0007 | The Uniform Distribution
law0007.Uniform | The Uniform Distribution
law0008 | The Student t Distribution
law0008.Student | The Student t Distribution
law0009 | The Chi-Squared Distribution
law0009.Chisquared | The Chi-Squared Distribution
law0010 | The Log Normal Distribution
law0010.LogNormal | The Log Normal Distribution
law0011 | The Weibull Distribution
law0011.Weibull | The Weibull Distribution
law0012 | The Shifted Exponential Distribution
law0012.ShiftedExp | The Shifted Exponential Distribution
law0013 | The Power Uniform Distribution
law0013.PowerUnif | The Power Uniform Distribution
law0014 | The Average Uniform Distribution
law0014.AverageUnif | The Average Uniform Distribution
law0015 | The UUniform Distribution
law0015.UUnif | The UUniform Distribution
law0016 | The VUniform Distribution
law0016.VUnif | The VUniform Distribution
law0017 | The Johnson SU Distribution
law0017.JohnsonSU | The Johnson SU Distribution
law0018 | The Tukey Distribution
law0018.Tukey | The Tukey Distribution
law0019 | The Location Contaminated Distribution
law0019.LocationCont | The Location Contaminated Distribution
law0020 | The Johnson SB Distribution
law0020.JohnsonSB | The Johnson SB Distribution
law0021 | The Skew Normal Distribution
law0021.SkewNormal | The Skew Normal Distribution
law0022 | The Scale Contaminated Distribution
law0022.ScaleCont | The Scale Contaminated Distribution
law0023.GeneralizedPareto | The Generalized Pareto Distribution
law0024 | The Generalized Error Distribution
law0024.GeneralizedError | The Generalized Error Distribution
law0025 | The Stable Distribution
law0025.Stable | The Stable Distribution
law0026 | The Gumbel Distribution
law0026.Gumbel | The Gumbel Distribution
law0027 | The Frechet Distribution
law0027.Frechet | The Frechet Distribution
law0028 | The Generalized Extreme Value Distribution
law0028.GeneralizedExtValue | The Generalized Extreme Value Distribution
law0029 | The Generalized Arcsine Distribution
law0029.GeneralizedArcsine | The Generalized Arcsine Distribution
law0030 | The Folded Normal Distribution
law0030.FoldedNormal | The Folded Normal Distribution
law0031 | The Mixture Normal Distribution
law0031.MixtureNormal | The Mixture Normal Distribution
law0032 | The Truncated Normal Distribution
law0032.TruncatedNormal | The Truncated Normal Distribution
law0033 | The Normal with outliers Distribution
law0033.Nout | The Normal with outliers Distribution
law0034 | The Generalized Exponential Power Distribution
law0034.GeneralizedExpPower | The Generalized Exponential Power Distribution
law0035 | The Exponential Distribution
law0035.Exponential | The Exponential Distribution
law0036 | The Asymmetric Laplace Distribution
law0036.AsymmetricLaplace | The Asymmetric Laplace Distribution
law0037 | The Normal-inverse Gaussian Distribution
law0037.NormalInvGaussian | The Normal-inverse Gaussian Distribution
law0038 | The Asymmetric Power Distribution
law0038.AsymmetricPowerDistribution | The Asymmetric Power Distribution
law0039 | The modified Asymmetric Power Distribution
law0039.modifiedAsymmetricPowerDistribution | The modified Asymmetric Power Distribution
law023 | The Generalized Pareto Distribution

## -- M --

many.crit | Computation of critical values for several test statistics
many.pval | Computes several p-values for many test statistics.
moments1 | Expectation and variance.
moments10 | Expectation and variance.
moments11 | Expectation and variance.
moments12 | Expectation and variance.
moments13 | Expectation and variance.
moments14 | Expectation and variance.
moments15 | Expectation and variance.
moments16 | Expectation and variance.
moments17 | Expectation and variance.
moments18 | Expectation and variance.
moments19 | Expectation and variance.
moments2 | Expectation and variance.
moments20 | Expectation and variance.
moments21 | Expectation and variance.
moments22 | Expectation and variance.
moments23 | Expectation and variance.
moments24 | Expectation and variance.
moments25 | Expectation and variance.
moments26 | Expectation and variance.
moments27 | Expectation and variance.
moments28 | Expectation and variance.
moments29 | Expectation and variance.
moments3 | Expectation and variance.
moments30 | Expectation and variance.
moments31 | Expectation and variance.
moments32 | Expectation and variance.
moments33 | Expectation and variance.
moments34 | Expectation and variance.
moments35 | Expectation and variance.
moments36 | Expectation and variance.
moments37 | Expectation and variance.
moments38 | Expectation and variance.
moments39 | Expectation and variance.
moments4 | Expectation and variance.
moments5 | Expectation and variance.
moments6 | Expectation and variance.
moments7 | Expectation and variance.
moments8 | Expectation and variance.
moments9 | Expectation and variance.

## -- N --

Normality.tests | Goodness-of-fit tests for normality.

## -- P --

plot.discrepancy | p-value discrepancy plot.
plot.pvalue | p-value plot.
plot.sizepower | size-power curves.
powcomp.easy | Computation of power and level tables for hypothesis tests.
powcomp.fast | Computation of power and level tables for hypothesis tests.
power.gui | PoweR GUI
print.critvalues | Latex table for critical values
print.critvalues1 | Latex table for critical values
print.index | Get indices of laws and statistics functions.
print.power | Latex table for power simulations
print.power1 | Latex table for power simulations
pvalueMC | Monte-Carlo computation of a p-value for one single test statistic.

## -- R --

rlaw | Generate random samples from a law added in the package.

## -- S --

stat.cstr | Gives information about a test statistic.
stat0001 | The Lilliefors test for normality
stat0001.Lilliefors | The Lilliefors test for normality
stat0002 | The Anderson-Darling test for normality
stat0002.AndersonDarling | The Anderson-Darling test for normality
stat0003 | The 1st Zhang-Wu test for normality
stat0003.ZhangWu1 | The 1st Zhang-Wu test for normality
stat0004 | The 2nd Zhang-Wu test for normality
stat0004.ZhangWu2 | The 2nd Zhang-Wu test for normality
stat0005 | The Glen-Leemis-Barr test for normality
stat0005.GlenLeemisBarr | The Glen-Leemis-Barr test for normality
stat0006 | The D'Agostino-Pearson test for normality
stat0006.DAgostinoPearson | The D'Agostino-Pearson test for normality
stat0007 | The Jarque-Bera test for normality
stat0007.JarqueBera | The Jarque-Bera test for normality
stat0008 | The Doornik-Hansen test for normality
stat0008.DoornikHansen | The Doornik-Hansen test for normality
stat0009 | The Gel-Gastwirth test for normality
stat0009.GelGastwirth | The Gel-Gastwirth test for normality
stat0010 | The 1st Hosking test for normality
stat0010.Hosking1 | The 1st Hosking test for normality
stat0011 | The 2nd Hosking test for normality
stat0011.Hosking2 | The 2nd Hosking test for normality
stat0012 | The 3rd Hosking test for normality
stat0012.Hosking3 | The 3rd Hosking test for normality
stat0013 | The 4th Hosking test for normality
stat0013.Hosking4 | The 4th Hosking test for normality
stat0014 | The 1st Bontemps-Meddahi test for normality
stat0014.BontempsMeddahi1 | The 1st Bontemps-Meddahi test for normality
stat0015 | The 2nd Bontemps-Meddahi test for normality
stat0015.BontempsMeddahi2 | The 2nd Bontemps-Meddahi test for normality
stat0016 | The Brys-Hubert-Struyf test for normality
stat0016.BrysHubertStruyf | The Brys-Hubert-Struyf test for normality
stat0017 | The Bonett-Seier test for normality
stat0017.BonettSeier | The Bonett-Seier test for normality
stat0018 | The Brys-Hubert-Struyf & Bonett-Seier test for normality
stat0018.BrysHubertStruyf-BonettSeier | The Brys-Hubert-Struyf & Bonett-Seier test for normality
stat0019 | The 1st Cabana-Cabana test for normality
stat0019.CabanaCabana1 | The 1st Cabana-Cabana test for normality
stat0020 | The 2nd Cabana-Cabana test for normality
stat0020.CabanaCabana2 | The 2nd Cabana-Cabana test for normality
stat0021 | The Shapiro-Wilk test for normality
stat0021.ShapiroWilk | The Shapiro-Wilk test for normality
stat0022 | The Shapiro-Francia test for normality
stat0022.ShapiroFrancia | The Shapiro-Francia test for normality
stat0023 | The Shapiro-Wilk test for normality modified by Rahman-Govindarajulu
stat0023.ShapiroWilk-RG | The Shapiro-Wilk test for normality modified by Rahman-Govindarajulu
stat0024 | The D'Agostino test for normality
stat0024.DAgostino | The D'Agostino test for normality
stat0025 | The Filliben test for normality
stat0025.Filliben | The Filliben test for normality
stat0026 | The Chen-Shapiro test for normality
stat0026.ChenShapiro | The Chen-Shapiro test for normality
stat0027 | The 1st Zhang test for normality
stat0027.ZhangQ | The 1st Zhang test for normality
stat0028 | The 3rd Zhang test for normality
stat0028.ZhangQQstar | The 3rd Zhang test for normality
stat0029 | The Barrio-Cuesta-Matran-Rodriguez test for normality
stat0029.BarrioCuestaMatranRodriguez | The Barrio-Cuesta-Matran-Rodriguez test for normality
stat0030 | The Coin test for normality
stat0030.Coin | The Coin test for normality
stat0031 | The Epps-Pulley test for normality
stat0031.EppsPulley | The Epps-Pulley test for normality
stat0032 | The Martinez-Iglewicz test for normality
stat0032.MartinezIglewicz | The Martinez-Iglewicz test for normality
stat0033 | The Gel-Miao-Gastwirth test for normality
stat0033.GelMiaoGastwirth | The Gel-Miao-Gastwirth test for normality
stat0034 | The 2nd Zhang test for normality
stat0034.ZhangQstar | The 2nd Zhang test for normality
stat0035 | The 1st Desgagne-Micheaux-Leblanc test for normality
stat0035.DesgagneMicheauxLeblanc-P1 | The 1st Desgagne-Micheaux-Leblanc test for normality
stat0036 | The 2nd Desgagne-Micheaux-Leblanc test for normality
stat0036.DesgagneMicheauxLeblanc-P2 | The 2nd Desgagne-Micheaux-Leblanc test for normality
stat0037 | The S Desgagne-Micheaux test for normality
stat0037.DesgagneMicheaux-S | The S Desgagne-Micheaux test for normality
stat0038 | The C Desgagne-Micheaux test for normality
stat0038.DesgagneMicheaux-C | The C Desgagne-Micheaux test for normality
stat0039 | The new CS Desgagne-Micheaux test for normality
stat0039.DesgagneMicheaux-CS | The new CS Desgagne-Micheaux test for normality
stat0040 | The Desgagne-Micheaux-Leblanc test for normality
stat0040.DesgagneMicheauxLeblanc-Rn | The Desgagne-Micheaux-Leblanc test for normality
stat0041 | The Spiegelhalter test for normality
stat0041.Spiegelhalter | The Spiegelhalter test for normality
stat0042 | The Anderson-Darling test for the Laplace distribution
stat0042.AndersonDarling | The Anderson-Darling test for the Laplace distribution
stat0043 | The Cramer-von Mises test for the Laplace distribution
stat0043.CramervonMises | The Cramer-von Mises test for the Laplace distribution
stat0044 | The Watson test for the Laplace distribution
stat0044.Watson | The Watson test for the Laplace distribution
stat0045 | The Kolmogorov-Smirnov test for the Laplace distribution
stat0045.KolmogorovSmirnov | The Kolmogorov-Smirnov test for the Laplace distribution
stat0046 | The Kuiper test for the Laplace distribution
stat0046.Kuiper | The Kuiper test for the Laplace distribution
stat0047 | The 1st Meintanis test with moment estimators for the Laplace distribution
stat0047.Meintanis1MO | The 1st Meintanis test with moment estimators for the Laplace distribution
stat0048 | The 1st Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0048.Meintanis1ML | The 1st Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0049 | The 2nd Meintanis test with moment estimators for the Laplace distribution
stat0049.Meintanis2MO | The 2nd Meintanis test with moment estimators for the Laplace distribution
stat0050 | The 2nd Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0050.Meintanis2ML | The 2nd Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0051 | The 1st Choi-Kim test for the Laplace distribution
stat0051.ChoiKim1 | The 1st Choi-Kim test for the Laplace distribution
stat0052 | The 2nd Choi-Kim test for the Laplace distribution
stat0052.ChoiKim2 | The 2nd Choi-Kim test for the Laplace distribution
stat0053 | The 3rd Choi-Kim test for the Laplace distribution
stat0053.ChoiKim3 | The 3rd Choi-Kim test for the Laplace distribution
stat0054 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0054.DesgagneMicheauxLeblanc-Gn | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0055 | The 1st Rayner-Best test for the Laplace distribution
stat0055.RaynerBest1 | The 1st Rayner-Best test for the Laplace distribution
stat0056 | The 2nd Rayner-Best test for the Laplace distribution
stat0056.RaynerBest2 | The 2nd Rayner-Best test for the Laplace distribution
stat0057 | The Langholz-Kronmal test for the Laplace distribution
stat0057.LangholzKronmal | The Langholz-Kronmal test for the Laplace distribution
stat0058 | The Kundu test for the Laplace distribution
stat0058.Kundu | The Kundu test for the Laplace distribution
stat0059 | The Gulati test for the Laplace distribution
stat0059.Gulati | The Gulati test for the Laplace distribution
stat0060 | The Gel test for the Laplace distribution
stat0060.Gel | The Gel test for the Laplace distribution
stat0061 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0061.DesgagneMicheauxLeblanc-Lap1 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0062 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0062.DesgagneMicheauxLeblanc-Lap2 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0063 | The Kolmogorov test for uniformity
stat0063.Kolmogorov | The Kolmogorov test for uniformity
stat0064 | The Cramer-von Mises test for uniformity
stat0064.CramervonMises | The Cramer-von Mises test for uniformity
stat0065 | The Anderson-Darling test for uniformity
stat0065.AndersonDarling | The Anderson-Darling test for uniformity
stat0066 | The Durbin test for uniformity
stat0066.Durbin | The Durbin test for uniformity
stat0067 | The Kuiper test for uniformity
stat0067.Kuiper | The Kuiper test for uniformity
stat0068 | The 1st Hegazy-Green test for uniformity
stat0068.HegazyGreen1 | The 1st Hegazy-Green test for uniformity
stat0069 | The 2nd Hegazy-Green test for uniformity
stat0069.HegazyGreen2 | The 2nd Hegazy-Green test for uniformity
stat0070 | The Greenwood test for uniformity
stat0070.Greenwood | The Greenwood test for uniformity
stat0071 | The Quesenberry-Miller test for uniformity
stat0071.QuesenberryMiller | The Quesenberry-Miller test for uniformity
stat0072 | The Read-Cressie test for uniformity
stat0072.ReadCressie | The Read-Cressie test for uniformity
stat0073 | The Moran test for uniformity
stat0073.Moran | The Moran test for uniformity
stat0074 | The 1st Cressie test for uniformity
stat0074.Cressie1 | The 1st Cressie test for uniformity
stat0075 | The 2nd Cressie test for uniformity
stat0075.Cressie2 | The 2nd Cressie test for uniformity
stat0076 | The Vasicek test for uniformity
stat0076.Vasicek | The Vasicek test for uniformity
stat0077 | The Swartz test for uniformity
stat0077.Swartz | The Swartz test for uniformity
stat0078 | The Morales test for uniformity
stat0078.Morales | The Morales test for uniformity
stat0079 | The Pardo test for uniformity
stat0079.Pardo | The Pardo test for uniformity
stat0080 | The Marhuenda test for uniformity
stat0080.Marhuenda | The Marhuenda test for uniformity
stat0081 | The 1st Zhang test for uniformity
stat0081.Zhang1 | The 1st Zhang test for uniformity
stat0082 | The 2nd Zhang test for uniformity
stat0082.Zhang2 | The 2nd Zhang test for uniformity
stat0084 | The 1st Desgagne-Micheaux-Leblanc test for normality
stat0084.DesgagneMicheauxLeblanc-nor1 | The 1st Desgagne-Micheaux-Leblanc test for normality
stat0085 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0085.DesgagneMicheauxLeblanc-Lap3 | The Desgagne-Micheaux-Leblanc test for the Laplace distribution
statcompute | Performs a hypothesis test for the given value of statistic.

## -- U --

Uniformity.tests | Goodness-of-fit tests for uniformity