compute_ci function

Compute confidence intervals

Compute confidence intervals

This helper function computes confidence intervals for the estimates of an fHMM_model object using the inverse Fisher information.

compute_ci(x, alpha = 0.05)

Arguments

  • x: An object of class fHMM_model.
  • alpha: A numeric between 0 and 1, the alpha level for the confidence interval. By default, alpha = 0.05, which computes a 95% confidence interval.

Returns

A list containing the following elements:

  • lb: lower bound of confidence
  • estimate: point estimate
  • ub: upper bound of confidence
  • Maintainer: Lennart Oelschläger
  • License: GPL-3
  • Last published: 2025-03-24