Internal function. Please refer to run_synthetic_forecast documentation.

compute_result_tables(
  df,
  synthetic_control_output,
  col_unit_name,
  unit_of_interest,
  serie_of_interest,
  max_time_unit_of_interest,
  periods_to_forecast,
  col_time
)

Arguments

df

Main DataFrame.

synthetic_control_output

Output from compute_synthetic_control().

col_unit_name

String with column name of the column with the units names.

unit_of_interest

Value of the col_unit_name that is of interest.

serie_of_interest

Column name os the serie to be projected.

max_time_unit_of_interest

Outout from intern_get_max_time_unit_of_interest().

periods_to_forecast

(Integer) Number of periods to forecast.

col_time

String with the column name of the time column.

Value

List with result tables.