ci_t: Calculate confidence intervals using the t-distribution

View source: R/ExtraFunctions.R

ci_tR Documentation

Calculate confidence intervals using the t-distribution

Description

Internal function for calculating confidence intervals using the t-distribution.

Usage

ci_t(type, mean, se, df, alpha)

Arguments

type

"l" for lower, "u" for upper.

mean

Causal estimate.

se

Standard error of estimate.

df

Number of degrees of freedom.

alpha

Significance level.

Details

None.

Value

Numeric value of confidence interval limit.

Examples

ci_t(type = "l", mean = 0, se = 1, df = 8, alpha = 0.05)


MendelianRandomization documentation built on May 29, 2024, 11:36 a.m.