retro_design_closed_form.numeric {retrodesign}R Documentation

Numeric retro_design_closed_form

Description

retro_design_closed_form.numeric is the S3 method of the generic retro_design_closed_form() function, used when a single numeric is passed for A.

Usage

## S3 method for class 'numeric'
retro_design_closed_form(A, s, alpha = 0.05)

Arguments

A

a numeric, an estimate of the true effect size

s

a numeric, standard error of the estimate

alpha

a numeric, the statistical significance threshold

Value

A list of length 3 containing the power, type s, and type M error.

Examples

retrodesign(1,3.28)
retrodesign(2,8.1)

[Package retrodesign version 0.2.2 Index]