% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{compute_rho_metrics}
\alias{compute_rho_metrics}
\title{Compute rho trajectory recovery metrics}
\usage{
compute_rho_metrics(rho_true, rho_est, rho_lower, rho_upper)
}
\arguments{
\item{rho_true}{Numeric vector of true rho values (length T-1).}

\item{rho_est}{Numeric vector of estimated rho (posterior mean).}

\item{rho_lower}{Numeric vector of lower CI bounds (2.5\%).}

\item{rho_upper}{Numeric vector of upper CI bounds (97.5\%).}
}
\value{
A named list with:
\itemize{
\item \code{bias}: mean bias
\item \code{relative_bias}: mean relative bias (\%)
\item \code{coverage}: proportion of CIs containing true value
\item \code{interval_width}: mean CI width
\item \code{correlation}: Pearson correlation between true and estimated
\item \code{bias_start}, \code{bias_end}: bias at first/last time point
\item \code{coverage_start}, \code{coverage_end}: coverage at endpoints
}
}
\description{
Evaluates how well the estimated rho trajectory recovers the true values.
}
