Learn R Programming

PoweR (version 1.0.7)

Computation of Power and Level Tables for Hypothesis Tests

Description

Functions for the computation of power and level tables for hypothesis tests, in Latex format, functions to build explanatory graphs for studying power of test statistics.

Copy Link

Version

Install

install.packages('PoweR')

Version

1.0.7

License

GPL (>= 2)

Maintainer

Last Published

August 28th, 2018

Functions in PoweR (1.0.7)

Laplace.tests

Goodness-of-fit tests for the Laplace distribution
law.cstr

Gives information about a given law.
law0002.Normal

The Normal Distribution
law0016.VUnif

The VUniform Distribution
law0005.Gamma

The Gamma Distribution
law0004.Logistic

The Logistic Distribution
law0003.Cauchy

The Cauchy Distribution
law0017.JohnsonSU

The Johnson SU Distribution
law0013.PowerUnif

The Power Uniform Distribution
law0012.ShiftedExp

The Shifted Exponential Distribution
help.law

Help Law
law0030.FoldedNormal

The Folded Normal Distribution
law0021.SkewNormal

The Skew Normal Distribution
law0020.JohnsonSB

The Johnson SB Distribution
help.stat

Help Stat
law0006.Beta

The Beta Distribution
law0007.Uniform

The Uniform Distribution
law0022.ScaleCont

The Scale Contaminated Distribution
law0023.GeneralizedPareto

The Generalized Pareto Distribution
getindex

Get indices of laws and statistics functions.
law0024.GeneralizedError

The Generalized Error Distribution
getnbparstats

Get numbers of parameters of test statistics.
getnbparlaws

Retrieve the default number of parameters of some laws.
graph

p-value plot, p-value discrepancy plot and size-power curves.
law0032.TruncatedNormal

The Truncated Normal Distribution
law0025.Stable

The Stable Distribution
law0008.Student

The Student t Distribution
law0031.MixtureNormal

The Mixture Normal Distribution
law0009.Chisquared

The Chi-Squared Distribution
law0034.GeneralizedExpPower

The Generalized Exponential Power Distribution
law0001.Laplace

The Laplace Distribution
law0033.Nout

The Normal with outliers Distribution
law0038.AsymmetricPowerDistribution

The Asymmetric Power Distribution
law0014.AverageUnif

The Average Uniform Distribution
law0010.LogNormal

The Log Normal Distribution
law0035.Exponential

The Exponential Distribution
law0039.modifiedAsymmetricPowerDistribution

The modified Asymmetric Power Distribution
plot.sizepower

size-power curves.
powcomp.easy

Computation of power and level tables for hypothesis tests.
stat0001.Lilliefors

The Lilliefors test for normality
stat0002.AndersonDarling

The Anderson-Darling test for normality
law0028.GeneralizedExtValue

The Generalized Extreme Value Distribution
law0040.Log-Pareto-tail-normal

The Log-Pareto-tail-normal Distribution
law0015.UUnif

The UUniform Distribution
law0011.Weibull

The Weibull Distribution
stat0015.BontempsMeddahi2

The 2nd Bontemps-Meddahi test for normality
law0018.Tukey

The Tukey Distribution
law0029.GeneralizedArcsine

The Generalized Arcsine Distribution
many.pval

Computes several \(p\)-values for many test statistics.
stat0016.BrysHubertStruyf

The Brys-Hubert-Struyf test for normality
many.crit

Computation of critical values for several test statistics
stat0023.ShapiroWilk-RG

The Shapiro-Wilk test for normality modified by Rahman-Govindarajulu
print.critvalues

Latex table for critical values
print.power

Latex table for power simulations
stat0007.JarqueBera

The Jarque-Bera test for normality
law0036.AsymmetricLaplace

The Asymmetric Laplace Distribution
law0019.LocationCont

The Location Contaminated Distribution
moments

Expectation and variance.
stat0008.DoornikHansen

The Doornik-Hansen test for normality
law0026.Gumbel

The Gumbel Distribution
law0027.Frechet

The Frechet Distribution
plot.discrepancy

\(p\)-value discrepancy plot.
stat0013.Hosking4

The 4th Hosking test for normality
law0037.NormalInvGaussian

The Normal-inverse Gaussian Distribution
plot.pvalue

\(p\)-value plot.
stat0024.DAgostino

The D'Agostino test for normality
stat0040.Rayner2

The Rayner-Best statistic for the Laplace distribution
pvalueMC

Monte-Carlo computation of a p-value for one single test statistic.
stat0010.Hosking1

The 1st Hosking test for normality
stat0039.Rayner1

The Rayner-Best statistic for the Laplace distribution
stat0009.GelGastwirth

The Gel-Gastwirth test for normality
stat0005.GlenLeemisBarr

The Glen-Leemis-Barr test for normality
stat0006.DAgostinoPearson

The D'Agostino-Pearson test for normality
stat0011.Hosking2

The 2nd Hosking test for normality
stat.cstr

Gives information about a test statistic.
powcomp.fast

Computation of power and level tables for hypothesis tests.
power.gui

PoweR GUI
stat0045.KolmogorovSmirnov

The Kolmogorov-Smirnov test for the Laplace distribution
stat0003.ZhangWu1

The 1st Zhang-Wu test for normality
stat0046.Kuiper

The Kuiper test for the Laplace distribution
stat0014.BontempsMeddahi1

The 1st Bontemps-Meddahi test for normality
stat0017.BonettSeier

The Bonett-Seier test for normality
stat0012.Hosking3

The 3rd Hosking test for normality
stat0025.Filliben

The Filliben test for normality
stat0069.HegazyGreen2

The 2nd Hegazy-Green test for uniformity
stat0029.BarrioCuestaMatranRodriguez

The Barrio-Cuesta-Matran-Rodriguez test for normality
stat0026.ChenShapiro

The Chen-Shapiro test for normality
stat0030.Coin

The Coin test for normality
stat0018.BrysHubertStruyf-BonettSeier

The Brys-Hubert-Struyf & Bonett-Seier test for normality
stat0004.ZhangWu2

The 2nd Zhang-Wu test for normality
stat0031.EppsPulley

The Epps-Pulley test for normality
stat0032.MartinezIglewicz

The Martinez-Iglewicz test for normality
stat0070.Greenwood

The Greenwood test for uniformity
stat0043.CramervonMises

The Cramer-von Mises test for the Laplace distribution
stat0071.QuesenberryMiller

The Quesenberry-Miller test for uniformity
stat0044.Watson

The Watson test for the Laplace distribution
stat0019.CabanaCabana1

The 1st Cabana-Cabana test for normality
stat0035.DesgagneLafayeDeMicheauxLeblanc-Rn

The \(R_n\) test for normality
stat0020.CabanaCabana2

The 2nd Cabana-Cabana test for normality
stat0059.Gulati

The Gulati test for the Laplace distribution
stat0033.GelMiaoGastwirth

The Gel-Miao-Gastwirth test for normality
stat0062.DesgagneMicheauxLeblanc-Lap2

The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0061.DesgagneMicheauxLeblanc-Lap1

The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0034.ZhangQstar

The 2nd Zhang test for normality
stat0060.Gel

The Gel test for the Laplace distribution
stat0022.ShapiroFrancia

The Shapiro-Francia test for normality
stat0021.ShapiroWilk

The Shapiro-Wilk test for normality
stat0027.ZhangQ

The 1st Zhang test for normality
stat0083.ttests

Robustness of Student's t test for non-normality (one sample)
stat0036.DesgagneLafayeDeMicheaux-XAPD

The \(X_{APD}\) test for normality
stat0047.Meintanis1MO

The 1st Meintanis test with moment estimators for the Laplace distribution
stat0085.DesgagneMicheauxLeblanc-Lap3

The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0037.DesgagneLafayeDeMicheaux-ZEPD

The \(Z_{EPD}\) test for normality
stat0072.ReadCressie

The Read-Cressie test for uniformity
stat0048.Meintanis1ML

The 1st Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0081.Zhang1

The 1st Zhang test for uniformity
stat0057.LangholzKronmal

The Langholz-Kronmal test for the Laplace distribution
stat0028.ZhangQQstar

The 3rd Zhang test for normality
stat0058.Kundu

The Kundu test for the Laplace distribution
stat0051.ChoiKim1

The 1st Choi-Kim test for the Laplace distribution
stat0052.ChoiKim2

The 2nd Choi-Kim test for the Laplace distribution
stat0067.Kuiper

The Kuiper test for uniformity
stat0049.Meintanis2MO

The 2nd Meintanis test with moment estimators for the Laplace distribution
stat0050.Meintanis2ML

The 2nd Meintanis test with maximum likelihood estimators for the Laplace distribution
stat0038.Glen

The Glen-Leemis-Barr test for the Laplace distribution
stat0053.ChoiKim3

The 3rd Choi-Kim test for the Laplace distribution
stat0068.HegazyGreen1

The 1st Hegazy-Green test for uniformity
stat0065.AndersonDarling

The Anderson-Darling test for uniformity
stat0066.Durbin

The Durbin test for uniformity
stat0041.Spiegelhalter

The Spiegelhalter test for normality
stat0054.DesgagneMicheauxLeblanc-Gn

The Desgagne-Micheaux-Leblanc test for the Laplace distribution
stat0075.Cressie2

The 2nd Cressie test for uniformity
stat0042.AndersonDarling

The Anderson-Darling test for the Laplace distribution
stat0082.Zhang2

The 2nd Zhang test for uniformity
stat0076.Vasicek

The Vasicek test for uniformity
stat0090.Lafaye5

The volcano test of normality
stat0091.Gonzales1

A ratio goodness-of-fit test for the Laplace distribution
stat0092.Gonzales2

A ratio goodness-of-fit test for the Laplace distribution
stat0093.Hogg1

More Light on the Kurtosis and Related Statistics (for the Laplace distribution)
stat0055.RaynerBest1

The 1st Rayner-Best test for the Laplace distribution
stat0063.Kolmogorov

The Kolmogorov test for uniformity
stat0056.RaynerBest2

The 2nd Rayner-Best test for the Laplace distribution
stat0064.CramervonMises

The Cramer-von Mises test for uniformity
stat0073.Moran

The Moran test for uniformity
stat0096.Hogg4

More Light on the Kurtosis and Related Statistics (for the Laplace distribution)
stat0080.Marhuenda

The Marhuenda test for uniformity
stat0077.Swartz

The Swartz test for uniformity
stat0079.Pardo

The Pardo test for uniformity
stat0074.Cressie1

The 1st Cressie test for uniformity
stat0086.Lafaye

The volcano test of normality
stat0087.Lafaye2

The volcano test of normality with alpha integrated out
stat0097.Rizzo

Expected distances and goodness-of-fit for the asymmetric Laplace distribution
stat0088.Lafaye3

The volcano test of normality
stat0094.Hogg2

More Light on the Kurtosis and Related Statistics (for the Laplace distribution)
stat0089.Lafaye4

The volcano test of normality
stat0078.Morales

The Morales test for uniformity
stat0095.Hogg3

More Light on the Kurtosis and Related Statistics (for the Laplace distribution)
statcompute

Performs a hypothesis test for the given value of statistic.
testsPureR

Computation of test statistic values in pure R.
Uniformity.tests

Goodness-of-fit tests for uniformity
compquant

Computation of the quantile values only for one test statistic.
create.alter

Create a list giving the type of test statistics.
checklaw

Check proper behaviour of a random generator
calcFx

Empirical distribution function of p-values.
Normality.tests

Goodness-of-fit tests for normality.
Distributions

Distributions in the PoweR package
densities

Density function
gensample

Generate random samples from a law added in the package.