pEdgington, powerEdgington, and sampleSizeEdgington to
design and analyze replication studies based on sum of p-values
(Edgington's) method (see https://doi.org/10.1098/rsos.240149 for details)ci2se, ci2estimate, ci2z, ci2p, z2p,
and p2z.
z <- estimate / se in case where se == 0ci2se, ci2estimate, ci2z, ci2p, z2p,
and p2z.
z <- estimate / se in case where se == 0"controlled" level"greater" and "less" in functions T1EpSceptical and
PPpSceptical.
Alternative "one.sided" now returns the T1E rate (respectively project power)
assuming both alternatives are one-sided in the same direction.hMeanChiSqCI:
level to conf.level in the new versionwGamma entirelyalternative = "none", the returned list does not contain
elements gammaMean and gammaHMean anymore.type = "liberal" in all functions that had this optionlevelEquivalent and unirootAllprotzko2020effectSizeReplicationSuccessRProjectshMeanChiSqMuunirootAllsampleSizeSignificance, powerReplicationSuccess,
sampleSizeReplicationSuccess now use analytic instead of numerical
implementation
Development version of the package migrated to GitHub
Vectorization in functions now with Vectorize instead of mapply
Unit tests migrated to testthat
Documentation migrated to roxygen2
New function T1EpSceptical
New function PPpSceptical
NEWS file added
New function Qtest
Golden threshold implemented (see https://arxiv.org/abs/2009.07782)
Recalibration of pSceptical now implemented via type argument
powerReplicationSuccess and sampleSizeReplicationSuccess now also take
type argument
pSceptical returns per default recalibrated sceptical p-value (golden
recalibration)
sampleSizeReplicationSuccess and sampleSizeSignificance can now also be
computed based on relative effect size (before only based on power)
New function effectSizeReplicationSuccess
New function effectSizeSignificance
Name of thresholdSceptical changed to levelSceptical