ci_t function

Calculate confidence intervals using the t-distribution

Calculate confidence intervals using the t-distribution

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

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.

Returns

Numeric value of confidence interval limit.

Details

None.

Examples

ci_t(type = "l", mean = 0, se = 1, df = 8, alpha = 0.05)
  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12

Useful links