% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{confint.lgspline}
\alias{confint.lgspline}
\title{Confidence Intervals for lgspline Coefficients}
\usage{
\method{confint}{lgspline}(object, parm, level = 0.95, ...)
}
\arguments{
\item{object}{A fitted lgspline object with \code{return_varcovmat = TRUE}.}

\item{parm}{Optional vector of parameter indices or names. Default returns
all regression parameters; working-scale correlation parameters are
appended when available.}

\item{level}{Confidence level. Default 0.95.}

\item{...}{Additional arguments passed to \code{\link{wald_univariate}}.}
}
\value{
A matrix with columns giving lower and upper confidence limits,
  named e.g. \code{2.5 \%} and \code{97.5 \%} for 95\% intervals.
  When available, rows for working-scale correlation parameters are
  appended after the regression coefficients.
}
\description{
Wald-based confidence intervals for regression coefficients and, when
available, correlation parameters (on the working scale).
}
\details{
For Gaussian identity-link models, t-distribution quantiles are used with
effective degrees of freedom
\eqn{N - \mathrm{trace}(\mathbf{XUGX}^\top)}.
All other families use normal quantiles.

Correlation parameter intervals (if \code{VhalfInv_params_estimates} and
\code{VhalfInv_params_vcov} are present) are computed on the unbounded
working scale via a Wald interval.
}
