ife_setup_pte: ife_setup_pte

View source: R/ife_setup_data.R

ife_setup_pteR Documentation

ife_setup_pte

Description

Setup panel treatment effects parameters

Usage

ife_setup_pte(
  yname,
  gname,
  tname,
  idname,
  data,
  nife,
  anticipation = 0,
  alp = 0.05,
  biters = 100,
  cl = 1,
  ...
)

Arguments

yname

Name of outcome in data

gname

Name of group in data

tname

Name of time period in data

idname

Name of id in data

data

balanced panel data

nife

the number of interactive fixed effects to include in the model

anticipation

Number of periods that treatment is anticipated. Default is 0. This is in “periods”; e.g., code will work in time periods are equally spaced but 2 years apart. In this case, to allow for treatment anticipation of 2 year (<=> 1 period), set anticipation = 1.

alp

significance level; default is 0.05

biters

number of bootstrap iterations; default is 100

cl

number of clusters to be used when bootstrapping; default is 1

...

extra arguments


bcallaway11/ife documentation built on Sept. 15, 2023, 12:33 a.m.