Package: PoweR 1.1.4

PoweR: Computation of Power and Level Tables for Hypothesis Tests

Computes power and level tables for goodness-of-fit tests for the normal, Laplace, and uniform distributions. Generates output in 'LaTeX' format to facilitate reporting and reproducibility. Explanatory graphs help visualize the statistical power of test statistics under various alternatives. For more details, see Lafaye De Micheaux and Tran (2016) <doi:10.18637/jss.v069.i03>.

Authors:Pierre Lafaye De Micheaux [aut, cre], Viet Anh Tran [aut], Alain Desgagne [aut], Frederic Ouimet [aut], Steven G. Johnson [aut]

PoweR_1.1.4.tar.gz
PoweR_1.1.4.zip(r-4.7)PoweR_1.1.4.zip(r-4.6)PoweR_1.1.4.zip(r-4.5)
PoweR_1.1.4.tgz(r-4.6-x86_64)PoweR_1.1.4.tgz(r-4.6-arm64)PoweR_1.1.4.tgz(r-4.5-x86_64)PoweR_1.1.4.tgz(r-4.5-arm64)
PoweR_1.1.4.tar.gz(r-4.7-arm64)PoweR_1.1.4.tar.gz(r-4.7-x86_64)PoweR_1.1.4.tar.gz(r-4.6-arm64)PoweR_1.1.4.tar.gz(r-4.6-x86_64)
PoweR_1.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
PoweR/json (API)

# Install 'PoweR' in R:
install.packages('PoweR', repos = c('https://lafaye.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.06 score 116 scripts 223 downloads 26 exports 2 dependencies

Last updated from:c33255e305. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK161
linux-devel-x86_64OK130
source / vignettesOK150
linux-release-arm64OK117
linux-release-x86_64OK130
macos-release-arm64OK106
macos-release-x86_64OK360
macos-oldrel-arm64OK86
macos-oldrel-x86_64OK223
windows-develOK135
windows-releaseOK120
windows-oldrelOK130
wasm-releaseOK101

Exports:calcFxchecklawcompquantcreate.altergensamplegetindexgetnbparlawsgetnbparstatsgraphhelp.lawhelp.statlaw.cstrmany.critmany.pvalplot.discrepancyplot.pvalueplot.sizepowerpowcomp.easypowcomp.fastpower.guiprint.critvaluesprint.indexprint.powerpvalueMCstat.cstrstatcompute

Dependencies:RcppRcppArmadillo

Readme and manuals

Help Manual

Help pageTopics
Empirical distribution function of p-values.calcFx
Check proper behaviour of a random generatorchecklaw
Computation of the quantile values only for one test statistic.compquant
Create a list giving the type of test statistics.create.alter
Density functiondlaw1 dlaw10 dlaw11 dlaw12 dlaw13 dlaw14 dlaw15 dlaw16 dlaw17 dlaw18 dlaw19 dlaw2 dlaw20 dlaw21 dlaw22 dlaw23 dlaw24 dlaw25 dlaw26 dlaw27 dlaw28 dlaw29 dlaw3 dlaw30 dlaw31 dlaw32 dlaw33 dlaw34 dlaw35 dlaw36 dlaw37 dlaw38 dlaw39 dlaw4 dlaw40 dlaw41 dlaw42 dlaw5 dlaw6 dlaw7 dlaw8 dlaw9 indicator
Distributions in the PoweR packageDistributions
Generate random samples from a law added in the package.gensample rlaw
Get indices of laws and statistics functions.getindex print.index
Retrieve the default number of parameters of some laws.getnbparlaws
Get numbers of parameters of test statistics.getnbparstats
p-value plot, p-value discrepancy plot and size-power curves.graph
Help Lawhelp.law
Help Stathelp.stat
Goodness-of-fit tests for the Laplace distributionLaplace.tests
Gives information about a given law.law.cstr
The Laplace Distributionlaw0001 law0001.Laplace
The Normal Distributionlaw0002 law0002.Normal
The Cauchy Distributionlaw0003 law0003.Cauchy
The Logistic Distributionlaw0004 law0004.Logistic
The Gamma Distributionlaw0005 law0005.Gamma
The Beta Distributionlaw0006 law0006.Beta
The Uniform Distributionlaw0007 law0007.Uniform
The Student t Distributionlaw0008 law0008.Student
The Chi-Squared Distributionlaw0009 law0009.Chisquared
The Log Normal Distributionlaw0010 law0010.LogNormal
The Weibull Distributionlaw0011 law0011.Weibull
The Shifted Exponential Distributionlaw0012 law0012.ShiftedExp
The Power Uniform Distributionlaw0013 law0013.PowerUnif
The Average Uniform Distributionlaw0014 law0014.AverageUnif
The UUniform Distributionlaw0015 law0015.UUnif
The VUniform Distributionlaw0016 law0016.VUnif
The Johnson SU Distributionlaw0017 law0017.JohnsonSU
The Tukey Distributionlaw0018 law0018.Tukey
The Location Contaminated Distributionlaw0019 law0019.LocationCont
The Johnson SB Distributionlaw0020 law0020.JohnsonSB
The Skew Normal Distributionlaw0021 law0021.SkewNormal
The Scale Contaminated Distributionlaw0022 law0022.ScaleCont
The Generalized Pareto Distributionlaw0023 law0023.GeneralizedPareto
The Generalized Error Distributionlaw0024 law0024.GeneralizedError
The Stable Distributionlaw0025 law0025.Stable
The Gumbel Distributionlaw0026 law0026.Gumbel
The Frechet Distributionlaw0027 law0027.Frechet
The Generalized Extreme Value Distributionlaw0028 law0028.GeneralizedExtValue
The Generalized Arcsine Distributionlaw0029 law0029.GeneralizedArcsine
The Folded Normal Distributionlaw0030 law0030.FoldedNormal
The Mixture Normal Distributionlaw0031 law0031.MixtureNormal
The Truncated Normal Distributionlaw0032 law0032.TruncatedNormal
The Normal with outliers Distributionlaw0033 law0033.Nout
The Generalized Exponential Power Distributionlaw0034 law0034.GeneralizedExpPower
The Exponential Distributionlaw0035 law0035.Exponential
The Asymmetric Laplace Distributionlaw0036 law0036.AsymmetricLaplace
The Normal-inverse Gaussian Distributionlaw0037 law0037.NormalInvGaussian
The Asymmetric Power Distributionlaw0038 law0038.AsymmetricPowerDistribution
The modified Asymmetric Power Distributionlaw0039 law0039.modifiedAsymmetricPowerDistribution
The Log-Pareto-tail-normal Distributionlaw0040 law0040.Log-Pareto-tail-normal
Computation of critical values for several test statisticsmany.crit many.critR
Computes several p-values for many test statistics.many.pval
Expectation and variance.moments1 moments10 moments11 moments12 moments13 moments14 moments15 moments16 moments17 moments18 moments19 moments2 moments20 moments21 moments22 moments23 moments24 moments25 moments26 moments27 moments28 moments29 moments3 moments30 moments31 moments32 moments33 moments34 moments35 moments36 moments37 moments38 moments39 moments4 moments40 moments41 moments42 moments5 moments6 moments7 moments8 moments9
Goodness-of-fit tests for normality.Normality.tests
p-value discrepancy plot.plot.discrepancy
p-value plot.plot.pvalue
size-power curves.plot.sizepower
Computation of power and level tables for hypothesis tests.powcomp.easy
Computation of power and level tables for hypothesis tests.powcomp.fast powcomp.fastR
PoweR GUIpower.gui
Latex table for critical valuesprint.critvalues print.critvalues1
Latex table for power simulationsprint.power print.power1
Monte-Carlo computation of a p-value for one single test statistic.pvalueMC
Gives information about a test statistic.stat.cstr
The Lilliefors test for normalitystat0001 stat0001.Lilliefors
The Anderson-Darling test for normalitystat0002 stat0002.AndersonDarling
The 1st Zhang-Wu test for normalitystat0003 stat0003.ZhangWu1
The 2nd Zhang-Wu test for normalitystat0004 stat0004.ZhangWu2
The Glen-Leemis-Barr test for normalitystat0005 stat0005.GlenLeemisBarr
The D'Agostino-Pearson test for normalitystat0006 stat0006.DAgostinoPearson
The Jarque-Bera test for normalitystat0007 stat0007.JarqueBera
The Doornik-Hansen test for normalitystat0008 stat0008.DoornikHansen
The Gel-Gastwirth test for normalitystat0009 stat0009.GelGastwirth
The 1st Hosking test for normalitystat0010 stat0010.Hosking1
The 2nd Hosking test for normalitystat0011 stat0011.Hosking2
The 3rd Hosking test for normalitystat0012 stat0012.Hosking3
The 4th Hosking test for normalitystat0013 stat0013.Hosking4
The 1st Bontemps-Meddahi test for normalitystat0014 stat0014.BontempsMeddahi1
The 2nd Bontemps-Meddahi test for normalitystat0015 stat0015.BontempsMeddahi2
The Brys-Hubert-Struyf test for normalitystat0016 stat0016.BrysHubertStruyf
The Bonett-Seier test for normalitystat0017 stat0017.BonettSeier
The Brys-Hubert-Struyf & Bonett-Seier test for normalitystat0018 stat0018.BrysHubertStruyf-BonettSeier
The 1st Cabana-Cabana test for normalitystat0019 stat0019.CabanaCabana1
The 2nd Cabana-Cabana test for normalitystat0020 stat0020.CabanaCabana2
The Shapiro-Wilk test for normalitystat0021 stat0021.ShapiroWilk
The Shapiro-Francia test for normalitystat0022 stat0022.ShapiroFrancia
The Shapiro-Wilk test for normality modified by Rahman-Govindarajulustat0023 stat0023.ShapiroWilk-RG
The D'Agostino test for normalitystat0024 stat0024.DAgostino
The Filliben test for normalitystat0025 stat0025.Filliben
The Chen-Shapiro test for normalitystat0026 stat0026.ChenShapiro
The 1st Zhang test for normalitystat0027 stat0027.ZhangQ
The 3rd Zhang test for normalitystat0028 stat0028.ZhangQQstar
The Barrio-Cuesta-Matran-Rodriguez test for normalitystat0029 stat0029.BarrioCuestaMatranRodriguez
The Coin test for normalitystat0030 stat0030.Coin
The Epps-Pulley test for normalitystat0031 stat0031.EppsPulley
The Martinez-Iglewicz test for normalitystat0032 stat0032.MartinezIglewicz
The Gel-Miao-Gastwirth test for normalitystat0033 stat0033.GelMiaoGastwirth
The 2nd Zhang test for normalitystat0034 stat0034.ZhangQstar
The R_n test for normalitystat0035 stat0035.DesgagneLafayeDeMicheauxLeblanc-Rn
The X_{APD} test for normalitystat0036 stat0036.DesgagneLafayeDeMicheaux-XAPD
The Z_{EPD} test for normalitystat0037 stat0037.DesgagneLafayeDeMicheaux-ZEPD
The Glen-Leemis-Barr test for the Laplace distributionstat0038 stat0038.Glen
The Rayner-Best statistic for the Laplace distributionstat0039 stat0039.Rayner1
The Rayner-Best statistic for the Laplace distributionstat0040 stat0040.Rayner2
The Spiegelhalter test for normalitystat0041 stat0041.Spiegelhalter
The Anderson-Darling test for the Laplace distributionstat0042 stat0042.AndersonDarling
The Cramer-von Mises test for the Laplace distributionstat0043 stat0043.CramervonMises
The Watson test for the Laplace distributionstat0044 stat0044.Watson
The Kolmogorov-Smirnov test for the Laplace distributionstat0045 stat0045.KolmogorovSmirnov
The Kuiper test for the Laplace distributionstat0046 stat0046.Kuiper
The 1st Meintanis test with moment estimators for the Laplace distributionstat0047 stat0047.Meintanis1MO
The 1st Meintanis test with maximum likelihood estimators for the Laplace distributionstat0048 stat0048.Meintanis1ML
The 2nd Meintanis test with moment estimators for the Laplace distributionstat0049 stat0049.Meintanis2MO
The 2nd Meintanis test with maximum likelihood estimators for the Laplace distributionstat0050 stat0050.Meintanis2ML
The 1st Choi-Kim test for the Laplace distributionstat0051 stat0051.ChoiKim1
The 2nd Choi-Kim test for the Laplace distributionstat0052 stat0052.ChoiKim2
The 3rd Choi-Kim test for the Laplace distributionstat0053 stat0053.ChoiKim3
The Desgagne-Micheaux-Leblanc test for the Laplace distributionstat0054 stat0054.DesgagneMicheauxLeblanc-Gn
The 1st Rayner-Best test for the Laplace distributionstat0055 stat0055.RaynerBest1
The 2nd Rayner-Best test for the Laplace distributionstat0056 stat0056.RaynerBest2
The Langholz-Kronmal test for the Laplace distributionstat0057 stat0057.LangholzKronmal
The Kundu test for the Laplace distributionstat0058 stat0058.Kundu
The Gulati test for the Laplace distributionstat0059 stat0059.Gulati
The Gel test for the Laplace distributionstat0060 stat0060.Gel
The Desgagne-Micheaux-Leblanc test for the Laplace distributionstat0061 stat0061.DesgagneMicheauxLeblanc-Lap1
The Desgagne-Micheaux-Leblanc test for the Laplace distributionstat0062 stat0062.DesgagneMicheauxLeblanc-Lap2
The Kolmogorov test for uniformitystat0063 stat0063.Kolmogorov
The Cramer-von Mises test for uniformitystat0064 stat0064.CramervonMises
The Anderson-Darling test for uniformitystat0065 stat0065.AndersonDarling
The Durbin test for uniformitystat0066 stat0066.Durbin
The Kuiper test for uniformitystat0067 stat0067.Kuiper
The 1st Hegazy-Green test for uniformitystat0068 stat0068.HegazyGreen1
The 2nd Hegazy-Green test for uniformitystat0069 stat0069.HegazyGreen2
The Greenwood test for uniformitystat0070 stat0070.Greenwood
The Quesenberry-Miller test for uniformitystat0071 stat0071.QuesenberryMiller
The Read-Cressie test for uniformitystat0072 stat0072.ReadCressie
The Moran test for uniformitystat0073 stat0073.Moran
The 1st Cressie test for uniformitystat0074 stat0074.Cressie1
The 2nd Cressie test for uniformitystat0075 stat0075.Cressie2
The Vasicek test for uniformitystat0076 stat0076.Vasicek
The Swartz test for uniformitystat0077 stat0077.Swartz
The Morales test for uniformitystat0078 stat0078.Morales
The Pardo test for uniformitystat0079 stat0079.Pardo
The Marhuenda test for uniformitystat0080 stat0080.Marhuenda
The 1st Zhang test for uniformitystat0081 stat0081.Zhang1
The 2nd Zhang test for uniformitystat0082 stat0082.Zhang2
Robustness of Student's t test for non-normality (one sample)stat0083 stat0083.ttests
The Desgagne-Micheaux-Leblanc test for the Laplace distributionstat0085 stat0085.DesgagneMicheauxLeblanc-Lap3
The volcano test of normalitystat0086 stat0086.Lafaye
The volcano test of normality with alpha integrated outstat0087 stat0087.Lafaye2
The volcano test of normalitystat0088 stat0088.Lafaye3
The volcano test of normalitystat0089 stat0089.Lafaye4
The volcano test of normalitystat0090 stat0090.Lafaye5
A ratio goodness-of-fit test for the Laplace distributionstat0091 stat0091.Gonzales1
A ratio goodness-of-fit test for the Laplace distributionstat0092 stat0092.Gonzales2
More Light on the Kurtosis and Related Statistics (for the Laplace distribution)stat0093 stat0093.Hogg1
More Light on the Kurtosis and Related Statistics (for the Laplace distribution)stat0094 stat0094.Hogg2
More Light on the Kurtosis and Related Statistics (for the Laplace distribution)stat0095 stat0095.Hogg3
More Light on the Kurtosis and Related Statistics (for the Laplace distribution)stat0096 stat0096.Hogg4
Expected distances and goodness-of-fit for the asymmetric Laplace distributionstat0097 stat0097.Rizzo
Performs a hypothesis test for the given value of statistic.statcompute
Computation of test statistic values in pure R.stat1 stat10 stat100 stat101 stat102 stat103 stat104 stat105 stat106 stat107 stat108 stat11 stat12 stat13 stat14 stat15 stat16 stat17 stat18 stat19 stat2 stat20 stat21 stat22 stat23 stat24 stat25 stat26 stat27 stat28 stat29 stat3 stat30 stat31 stat32 stat33 stat34 stat35 stat36 stat37 stat38 stat39 stat4 stat40 stat41 stat42 stat43 stat44 stat45 stat46 stat47 stat48 stat49 stat5 stat50 stat51 stat52 stat53 stat54 stat55 stat56 stat57 stat58 stat59 stat6 stat60 stat61 stat62 stat63 stat64 stat65 stat66 stat67 stat68 stat69 stat7 stat70 stat71 stat72 stat73 stat74 stat75 stat76 stat77 stat78 stat79 stat8 stat80 stat81 stat82 stat83 stat84 stat85 stat86 stat87 stat88 stat89 stat9 stat90 stat91 stat92 stat93 stat94 stat95 stat96 stat97 stat98 stat99
Goodness-of-fit tests for uniformityUniformity.tests