Learn R Programming

dcce (version 0.4.2)

.build_unit_X: Build the regressor matrix for a single unit

Description

Build the regressor matrix for a single unit

Usage

.build_unit_X(panel, idx, x_names, csa_colnames, include_constant, unit_trend)

Value

A numeric matrix.

Arguments

panel

Panel data.frame.

idx

Integer indices for this unit.

x_names

Character: structural regressor names.

csa_colnames

Character: CSA column names (or NULL).

include_constant

Logical: include intercept?

unit_trend

Logical: include time trend?