Learn R Programming

Estimating power and required sample size in QCA

The qcapower package for R allows researchers working with Qualitative Comparative Analysis (QCA) to

  • estimate power using permutation tests and create diagnostic plots;
  • estimate the required sample size for a target power level.

Please see the vignette for more information on the package. The current development version can be installed from Github.

devtools::install_github("ingorohlfing/qcapower")
library(qcapower)

Copy Link

Version

Install

install.packages('qcapower')

Monthly Downloads

188

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ingo Rohlfing

Last Published

March 2nd, 2020

Functions in qcapower (0.1.0)

qp_run_plot

Plot of power estimate against the number of simulations
qp_cases

Calculte the number of cases for a particular case target based on simulated data
qp_cases_brute

Calculate the number of cases for a particular case target with iterative simulations (brute force)
qp_sina_data

Data simulated power estimates for plotting of 5%-quantiles
qcapower

qcapower returns a power estimate with regard to the consistency of a term, given information about the required parameters
qp_quant_plot

Sina plot of 5 distributions
qp_sim_power

Data simulated power estimates