pies {behaviorchange}R Documentation

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
)

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.

Value

A dataframe with all values.

Examples

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

[Package behaviorchange version 0.5.5 Index]