Skip to content

Commit

Permalink
version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yelleKneK authored and cran-robot committed Jun 21, 2018
1 parent 96573fe commit e139c1e
Show file tree
Hide file tree
Showing 20 changed files with 128 additions and 112 deletions.
10 changes: 5 additions & 5 deletions DESCRIPTION
@@ -1,16 +1,16 @@
Package: BUCSS
Type: Package
Title: Bias and Uncertainty Corrected Sample Size
Version: 0.0.2
Author: Samantha F. Anderson <sander10@nd.edu>, Ken Kelley <kkelley@nd.edu>
Version: 1.0.0
Author: Samantha F. Anderson <samantha.f.anderson@asu.edu>, Ken Kelley <kkelley@nd.edu>
Maintainer: Ken Kelley <kkelley@nd.edu>
Description: Implements a method of correcting for publication bias and
uncertainty when planning sample sizes in a future study from an original study. See Anderson, Kelley, & Maxwell (submitted, revised and resubmitted).
uncertainty when planning sample sizes in a future study from an original study. See Anderson, Kelley, & Maxwell (2017; Psychological Science, 28, 1547-1562).
License: GPL (>= 3)
Imports: stats
LazyData: TRUE
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2017-04-10 13:50:17 UTC; kkelley
Packaged: 2018-06-21 19:53:44 UTC; kkelley
Repository: CRAN
Date/Publication: 2017-04-10 14:06:06 UTC
Date/Publication: 2018-06-21 20:04:33 UTC
38 changes: 19 additions & 19 deletions MD5
@@ -1,20 +1,20 @@
db0061a08882139d2e3be284f9f54291 *DESCRIPTION
b977c55772e4fbf95c94c10bdbd238c9 *DESCRIPTION
005fc3ec5b9c4584168196044b80255a *NAMESPACE
4e2b58ac5826d53cd9383ad65ab0a09c *R/BUCSS.R
5a7f59fcb96e10ee6aac555e8cf90544 *R/ss.power.ba.R
3f08f7972781ac880504350348fa74c0 *R/ss.power.ba.general.R
5aa6ebdaaa264bbe477ab50368cd82cf *R/ss.power.dt.r
76361ed7a5d1cd8b0e2d3cfb91cdae19 *R/ss.power.it.R
c93aee92f7cfb3fd094600474b23b497 *R/ss.power.spa.general.R
a5e50695e4e513aab5eb467ac14d54e2 *R/ss.power.spa.r
0186b4e883caf1d5dc587fe3fa80493d *R/ss.power.wa.general.R
45d677aeeeb1e3948a0b2c7d37d93b92 *R/ss.power.wa.r
e496ea96bf103f5a383c962cbe133be0 *man/BUCSS-package.Rd
62230cc9329df5ab2a4b50964cdb9367 *man/ss.power.ba.Rd
322ec500565a63750d81e3b7a1523319 *man/ss.power.ba.general.Rd
49e9bddcaae1977547bc34c0e53c4e99 *man/ss.power.dt.Rd
cc248eaee1f913eb4f9bd4efafeadc71 *man/ss.power.it.Rd
81bc6fe4f41e2401b29a410a35c3256b *man/ss.power.spa.Rd
265ba62fbc77043a3e3391dbe1cd5aee *man/ss.power.spa.general.Rd
6a8a6e4eb54cff1638433e4245e8ee60 *man/ss.power.wa.Rd
87ec5dc2ba92db3c727d1e7a428eb1fa *man/ss.power.wa.general.Rd
8a9937f685d7345acfbfec1d3b1f74f7 *R/BUCSS.R
db339df25c058b5fddb7a8f731e72222 *R/ss.power.ba.R
2ea19760f5b63fa695fb0f85ee7ddb2b *R/ss.power.ba.general.R
f98691c5204ea4e57a03182bd731fc55 *R/ss.power.dt.r
dd3254a83b209a16d4399f156ec39fc4 *R/ss.power.it.R
9a480e76c6c6c08674dcf024c0cc4680 *R/ss.power.spa.general.R
6af3745b21f2d5543f4fa3aeab1f46b2 *R/ss.power.spa.r
6222830cf00155003c2d5c74e89d24cd *R/ss.power.wa.general.R
f52673c6d17e469087525c7e2b0025d5 *R/ss.power.wa.r
93cf05ef3e8dff64813d96c1abc2eab8 *man/BUCSS-package.Rd
c0c1bdedc6848dca225b9ac5e8052b18 *man/ss.power.ba.Rd
d56a8543ce4912bd4531d056947b9e40 *man/ss.power.ba.general.Rd
0cebc7360bd39b5653b37747bc00829b *man/ss.power.dt.Rd
440347209fe278f61b6b91c58d2fdb6d *man/ss.power.it.Rd
f968a996f1e5368382a68d94ef862b3a *man/ss.power.spa.Rd
9f21efc22660284ad96afc90e93af6ea *man/ss.power.spa.general.Rd
23cf5a51abefd5721268e24392f1ecb1 *man/ss.power.wa.Rd
aaa4155bf9d90ac2f2067c1f0cc8b5af *man/ss.power.wa.general.Rd
8 changes: 4 additions & 4 deletions R/BUCSS.R
Expand Up @@ -4,11 +4,11 @@
#'
#' Note that \url{https://designingexperiments.com} uses Shiny R apps that implement, via a web interface, the functions contained in BUCSS.
#'
#' @references Anderson, S. & Kelley, K., Maxwell, S. E. (revised and resubmited). Sample size planning for more accurate statistical power: A method correcting sample effect sizes for uncertainty and publication bias. \emph{Journal}, X--X.
#' @references Anderson, S. & Kelley, K., Maxwell, S. E. (2017). Sample size planning for more accurate statistical power: A method correcting sample effect sizes for uncertainty and publication bias. \emph{Psychological Science}, \emph{28}, 1547--1562.
#'
#' See the web page that accompanies the book here: \url{https://designingexperiments.com/}.
#' See \url{https://designingexperiments.com/} for Shiny R implementation of the functions.
#'
#' For suggested updates, please email Samantha Anderson \email{kkelley@nd.edu} or Ken Kelley \email{kkelley@nd.edu}.
#' @author Samantha Anderson \email{Samantha.F.Anderson.350@nd.edu} and Ken Kelley \email{kkelley@nd.edu}
#' For suggested updates, please email Samantha Anderson \email{samantha.f.anderson@asu.edu} or Ken Kelley \email{kkelley@nd.edu}.
#' @author Samantha Anderson \email{samantha.f.anderson@asu.edu} and Ken Kelley \email{kkelley@nd.edu}
#'
"_PACKAGE"
11 changes: 6 additions & 5 deletions R/ss.power.ba.R
Expand Up @@ -113,17 +113,18 @@
#' ss.power.ba(F.observed=5, N=120, levels.A=2, levels.B=3, effect="factor.B",
#' alpha.prior=.05, alpha.planned=.05, assurance=.80, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.ba.general.R
Expand Up @@ -114,17 +114,18 @@
#' df.denominator=117, alpha.prior=.05, alpha.planned=.05, assurance=.80,
#' power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.dt.r
Expand Up @@ -94,17 +94,18 @@
#' ss.power.dt(t.observed=3, N=40, alpha.prior=.05, alpha.planned=.05,
#' assurance=.80, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.it.R
Expand Up @@ -114,17 +114,18 @@
#' ss.power.it(t.observed=3, n=20, alpha.prior=.05, alpha.planned=.05,
#' assurance=.80, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.spa.general.R
Expand Up @@ -122,17 +122,18 @@
#' effect="between.only", df.num.within=3, alpha.prior=.05, alpha.planned=.05,
#' assurance=.80, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.spa.r
Expand Up @@ -112,17 +112,18 @@
#' effect="within", alpha.prior=.05, alpha.planned=.05, assurance=.80,
#' power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.wa.general.R
Expand Up @@ -100,17 +100,18 @@
#' @examples ss.power.wa.general(F.observed=6.5, N=80, df.numerator=1,
#' alpha.prior=.05, alpha.planned=.05, assurance=.50, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
11 changes: 6 additions & 5 deletions R/ss.power.wa.r
Expand Up @@ -104,17 +104,18 @@
#' ss.power.wa(F.observed=5, N=60, levels.A=2, levels.B=3, effect="factor.B",
#' alpha.prior=.05, alpha.planned=.05, assurance=.80, power=.80, step=.001)
#'
#' @author Samantha F. Anderson \email{sander10@nd.edu},
#' @author Samantha F. Anderson \email{samantha.f.anderson@asu.edu},
#' Ken Kelley \email{kkelley@@nd.edu}
#'
#' @references Anderson, S. F., & Maxwell, S. E. (in press).
#' @references Anderson, S. F., & Maxwell, S. E. (2017).
#' Addressing the 'replication crisis': Using original studies to design
#' replication studies with appropriate statistical power. \emph{Multivariate
#' Behavioral Research}.
#' Behavioral Research, 52,} 305-322.
#'
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (under review). Sample size
#' Anderson, S. F., Kelley, K., & Maxwell, S. E. (2017). Sample size
#' planning for more accurate statistical power: A method correcting sample
#' effect sizes for uncertainty and publication bias.
#' effect sizes for uncertainty and publication bias. \emph{Psychological
#' Science, 28,} 1547-1562.
#'
#' Taylor, D. J., & Muller, K. E. (1996). Bias in linear model power and
#' sample size calculation due to estimating noncentrality.
Expand Down
8 changes: 4 additions & 4 deletions man/BUCSS-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions man/ss.power.ba.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions man/ss.power.ba.general.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions man/ss.power.dt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions man/ss.power.it.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e139c1e

Please sign in to comment.