pvarfeols: Fixed Effects Estimator for PVAR Model

View source: R/pvar_fe_ols.R

pvarfeolsR Documentation

Fixed Effects Estimator for PVAR Model

Description

This function estimates a stationary PVAR with fixed effects.

Usage

pvarfeols(
  dependent_vars,
  lags,
  exog_vars,
  transformation = c("demean"),
  data,
  panel_identifier = c(1, 2)
)

Arguments

dependent_vars

Dependent variables

lags

Number of lags of dependent variables

exog_vars

Exogenous variables

transformation

Demeaning "demean"

data

Data set

panel_identifier

Vector of panel identifiers

Examples

data(Cigar)
ex1_feols <-
pvarfeols(dependent_vars = c("log_sales", "log_price"),
          lags = 1,
          exog_vars = c("cpi"),
          transformation = "demean",
          data = Cigar,
          panel_identifier= c("state", "year"))
          
summary(ex1_feols)         

panelvar documentation built on Jan. 6, 2023, 1:17 a.m.

Related to pvarfeols in panelvar...