% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{si_pcr_cpp}
\alias{si_pcr_cpp}
\title{SI-PCR: Synthetic Interventions via Principal Component Regression}
\usage{
si_pcr_cpp(Y_pre_co, Y_post_co, Y_pre_tr, k)
}
\arguments{
\item{Y_pre_co}{Pre-treatment control outcomes (T_pre x N_co)}

\item{Y_post_co}{Post-treatment control outcomes (T_post x N_co)}

\item{Y_pre_tr}{Pre-treatment treated outcomes (T_pre x N_tr)}

\item{k}{Number of SVD components to retain}
}
\value{
A list with:
\itemize{
\item \code{W}: Donor weight matrix (N_co x N_tr)
\item \code{Y_hat}: Counterfactual post-treatment outcomes (T_post x N_tr)
}
}
\description{
Implements the SI-PCR estimator of Agarwal et al. (2025).
Uses the top-k SVD of pre-treatment control outcomes to find donor
weights that predict each treated unit's pre-treatment trajectory,
then applies those weights to post-treatment control outcomes.
}
