% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/est_amg.R
\name{.amg_common_dynamic_process}
\alias{.amg_common_dynamic_process}
\title{Compute the Common Dynamic Process from a pooled FD regression}
\usage{
.amg_common_dynamic_process(panel, y_name, x_names)
}
\arguments{
\item{panel}{A panel data.frame from \code{.make_panel()}.}

\item{y_name}{Character: dependent variable name.}

\item{x_names}{Character: regressor names (level variables).}
}
\value{
A two-column data frame: \code{time} and \code{cdp}.
}
\description{
Runs a pooled first-difference regression with time dummies and returns
a two-column data.frame mapping each time period to its estimated
common dynamic process value. The reference time period (the first
one after differencing) has CDP 0.
}
\keyword{internal}
