% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ci_gau.R
\name{ci_gau}
\alias{ci_gau}
\title{Confidence intervals for fitted Gaussian AD models}
\usage{
ci_gau(fit, level = 0.95, parameters = "all")
}
\arguments{
\item{fit}{A fitted model object returned by \code{\link{fit_gau}}.}

\item{level}{Confidence level between 0 and 1.}

\item{parameters}{Which parameters to include: \code{"all"} (default),
\code{"mu"}, \code{"phi"}, or \code{"sigma"}.}
}
\value{
An object of class \code{gau_ci}, a list with elements
\code{settings}, \code{level}, \code{mu}, \code{phi}, and \code{sigma}.
Each non-NULL element is a data frame with columns \code{param},
\code{est}, \code{se}, \code{lower}, \code{upper}, and \code{level}.
}
\description{
Computes approximate Wald confidence intervals for selected parameters from a
fitted Gaussian AD model.
}
\details{
This helper currently supports complete-data Gaussian AD fits.

Standard errors are based on large-sample approximations:
\itemize{
\item \eqn{SE(\hat{\mu}_t) \approx \hat{\sigma}_t / \sqrt{n}}
\item \eqn{SE(\hat{\sigma}_t) \approx \hat{\sigma}_t / \sqrt{2n}}
\item \eqn{SE(\hat{\phi}) \approx \sqrt{(1-\hat{\phi}^2)/n}} for free \eqn{\phi} entries
}
}
\examples{
\donttest{
y <- simulate_gau(n_subjects = 80, n_time = 6, order = 1, phi = 0.4)
fit <- fit_gau(y, order = 1)
ci <- ci_gau(fit)
ci$mu
ci$phi
ci$sigma
}

}
\seealso{
\code{\link{fit_gau}}, \code{\link{ci_cat}}, \code{\link{ci_inad}}
}
