Learn R Programming

⚠️There's a newer version (1.3-0) of this package.Take me there.

pwr (version 1.2-0)

Basic Functions for Power Analysis

Description

Power analysis functions along the lines of Cohen (1988).

Copy Link

Version

Install

install.packages('pwr')

Monthly Downloads

35,091

Version

1.2-0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Last Published

August 24th, 2016

Functions in pwr (1.2-0)

pwr.2p.test

Power calculation for two proportions (same sample sizes)
pwr.anova.test

Power calculations for balanced one-way analysis of variance tests
pwr.chisq.test

power calculations for chi-squared tests
pwr.norm.test

Power calculations for the mean of a normal distribution (known variance)
pwr.f2.test

Power calculations for the general linear model
pwr.r.test

Power calculations for correlation test
pwr.t.test

Power calculations for t-tests of means (one sample, two samples and paired samples)
pwr.t2n.test

Power calculations for two samples (different sizes) t-tests of means
pwr.p.test

Power calculations for proportion tests (one sample)
pwr.2p2n.test

Power calculation for two proportions (different sample sizes)
ES.w1

Effect size calculation in the chi-squared test for goodness of fit
ES.w2

Effect size calculation in the chi-squared test for association
cohen.ES

Conventional effects size
pwr-package

Basic Functions for Power Analysis pwr
plot.power.htest

Plot diagram of sample size vs. test power
ES.h

Effect size calculation for proportions