type_s {retrodesign}R Documentation

type_s

Description

Calculates type s error.

Usage

type_s(A, s, alpha = 0.05)

Arguments

A

a numeric or list, estimate(s) of the true effect size

s

a numeric, standard error of the estimate

alpha

a numeric, the statistical significance threshold

Value

either the type S, a numeric if a single A is provided, or a df of length 2 by A, with the effect size and corresponding type S error in each row.

Examples

type_s(1,3.28)
type_s(list(.2,2,20),8.1)

[Package retrodesign version 0.2.2 Index]