Learn R Programming

behaviorchange (version 0.5.5)

pies: Practically Important Effect Sizes

Description

Practically Important Effect Sizes

Usage

pies(
  data = NULL,
  controlCol = NULL,
  expCol = NULL,
  d = NULL,
  cer = NULL,
  r = 1,
  n = NULL,
  threshold = NULL,
  mean = 0,
  sd = 1,
  bootstrapA = FALSE,
  conf.level = 0.95
)

Value

A dataframe with all values.

Arguments

data

Optionally, if you want to get A, a data frame.

controlCol, expCol

Optionally, if you want to get A, the names of the columns with control and experimental data.

d

Cohen's d.

cer

The control even rate (see nnt()).

r, threshold, mean, sd

Arguments for the nnt() function.

n

The sample size.

bootstrapA

Whether to use bootstrapping to compute A.

conf.level

The confidence level of confidence intervals.

Examples

Run this code
pies(d = .5, n = 100, cer = .2, threshold = 2);

Run the code above in your browser using DataLab