sc_placebo_test: Placebo Test for Synthetic Control

View source: R/synthetic_control.R

sc_placebo_testR Documentation

Placebo Test for Synthetic Control

Description

Performs a placebo (permutation) test by re-estimating the synthetic control for each donor unit as a pseudo-treated unit. The p-value is the rank of the treated unit's RMSPE ratio among all units.

Usage

sc_placebo_test(task, n_placebo = NULL)

Arguments

task

A SyntheticControlTask with results.

n_placebo

Number of placebo units to use. Default NULL (all donors).

Value

The task with results$placebo populated, a list containing rmspe_ratios, p_value, and placebo_gaps.

See Also

Other eventstudy-tasks: IntradayEventStudyTask, PanelEventStudyTask, SyntheticControlTask, estimate_panel_event_study(), estimate_synthetic_control(), nonparametric_intraday_test(), plot_panel_event_study(), plot_synthetic_control(), prepare_intraday_event_study()


EventStudy documentation built on Oct. 31, 2026, 1:07 a.m.