printWaldCI: Confidence Wald confidence interval for a given effect

View source: R/printWaldCI.R

printWaldCIR Documentation

Confidence Wald confidence interval for a given effect

Description

Takes an effect and its standard error to calculate the Wald confidence interval and the p-value.

Usage

printWaldCI(theta, se.theta, conf.level = 0.95, FUN = identity, digits = 3)

Arguments

theta

the effect size.

se.theta

the standard error.

conf.level

Confidence level. Default is 95%.

FUN

Transformation to applied to effect size and confidence interval. Default is the identity function.

digits

number of digits for the effect.

Value

Prints and invisiblie returns the effect, the Wald confidence interval, and the p-value.

Author(s)

Leonhard Held

Examples


printWaldCI(theta = 1.7, se.theta = 2.1)
printWaldCI(theta = 1.7, se.theta = 2.1, FUN = exp)


felix-hof/biostatUZH documentation built on Sept. 27, 2024, 1:48 p.m.