estimate_model_plm: Estimate model, plm

Description Usage Arguments Details Value

Description

Similar to eviews with "Fixed effects" for the intercept. So this uses separate fixed effects estimate of intercept for each metro

Usage

1
estimate_model_plm(working_df, df_use)

Arguments

working_df

a dataframe that contains the equations specs, etc. It needs to have a column with train_end_date that will used to filter the data as well as a spec column that can be used to generate the equation specification

df_use

a dataframe with the historical data on the markets. It needs to have an area_sh column and a data column to be used in creating the panel dataframe

Details

The result will be to add

Value

Original dataframe, with addition of a train_panel column and a model column.


aranryan/arfredpack documentation built on May 10, 2019, 12:46 p.m.