Learn R Programming

simts (version 0.2.2)

format_ci: Format the Confidence Interval for Estimates

Description

Creates hi and lo confidence based on SE and alpha.

Usage

format_ci(theta, se, alpha)

Value

A mat that has:

  • Column 1: Lo CI

  • Column 2: Hi CI

  • Column 3: SE

Arguments

theta

A vec containing the estimates

se

A vec containing the standard error

alpha

A double that contains the confidence level.