Learn R Programming

dcce (version 0.4.2)

.amg_common_dynamic_process: Compute the Common Dynamic Process from a pooled FD regression

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.

Usage

.amg_common_dynamic_process(panel, y_name, x_names)

Value

A two-column data frame: time and cdp.

Arguments

panel

A panel data.frame from .make_panel().

y_name

Character: dependent variable name.

x_names

Character: regressor names (level variables).