Learn R Programming

MRZero (version 0.2.0)

ci_t: 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)

Value

Numeric value of confidence interval limit.

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.

Examples

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

Run the code above in your browser using DataLab