printResults {biostatUZH}R Documentation

Confidence interval for a given effect

Description

Prints the Wald confidence interval and the p-value for a given effect and standard error.

Usage

printResults(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 effect and associated Wald confidence interval and p-value.

Author(s)

Leonhard Held

Examples

printResults(1.7, 2.1)
printResults(1.7, 2.1, FUN=exp)

[Package biostatUZH version 1.8.0 Index]