setup_pte: Setup panel treatment effects parameters

View source: R/pte_params.R

setup_pteR Documentation

Setup panel treatment effects parameters

Description

This is a function for how to setup the data to be used in the pte package.

The setup_pte function builds on setup_pte_basic and attempts to provide a general purpose function (with error handling) to arrange the data in a way that can be processed by subset_fun and attgt_fun in the next steps.

Usage

setup_pte(
  yname,
  gname,
  tname,
  idname,
  data,
  required_pre_periods = 1,
  anticipation = 0,
  base_period = "varying",
  cband = TRUE,
  alp = 0.05,
  boot_type = "multiplier",
  weightsname = NULL,
  gt_type = "att",
  ret_quantile = 0.5,
  biters = 100,
  cl = 1,
  ...
)

Value

pte_params object


bcallaway11/pte documentation built on June 6, 2024, 1:41 p.m.