compute_synthetic_control: compute_synthetic_control

View source: R/compute_synthetic_control.R

compute_synthetic_controlR Documentation

compute_synthetic_control

Description

Internal function. Please refer to run_synthetic_forecast documentation.

Usage

compute_synthetic_control(
  prepared_dataset,
  unit_of_interest,
  serie_of_interest,
  col_time,
  max_time_unit_of_interest
)

Arguments

prepared_dataset

Output from prepare_dataset().

unit_of_interest

Value of the col_unit_name that is of interest.

serie_of_interest

Column name os the serie to be projected.

col_time

String with the column name of the time column.

max_time_unit_of_interest

Outout from intern_get_max_time_unit_of_interest().

Details

Compute the synthetic control 9wraps Synth package).

Value

List with (i) Synth::dataprep() output and (ii) Synth::Synth() output.


SynthCast documentation built on March 18, 2022, 5:48 p.m.