% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/est_csardl.R
\name{.csardl_unit_lr}
\alias{.csardl_unit_lr}
\title{Recover unit-level long-run coefficients and adjustment speed}
\usage{
.csardl_unit_lr(b, V, classify)
}
\arguments{
\item{b}{Numeric vector: unit-level coefficients from the ARDL regression
(must have names matching the regressor columns).}

\item{V}{Numeric matrix: unit-level variance-covariance matrix.}

\item{classify}{List returned by \code{.csardl_classify_terms()}.}
}
\value{
A list with
\describe{
\item{lr_coef}{Named numeric vector of long-run coefficients.}
\item{lr_vcov}{Variance-covariance matrix of \code{lr_coef}.}
\item{phi}{Adjustment speed \eqn{\varphi_i = -(1 - \sum \phi_p)}.}
\item{phi_se}{Delta-method SE of \code{phi}.}
}
}
\description{
For a single unit, given the ARDL coefficient vector \code{b} and its
variance \code{V}, compute the long-run coefficient on each base regressor
and the speed of adjustment, with delta-method standard errors.
}
\keyword{internal}
