setup_cov_pre_test: Setup data for covariate pre-test

View source: R/setup_cov_pre_test.R

setup_cov_pre_testR Documentation

Setup data for covariate pre-test

Description

Sets up the data for conducting covariate pre-test

Usage

setup_cov_pre_test(
  yname,
  gname,
  tname,
  idname,
  data,
  nife = 1,
  anticipation = 0,
  ...
)

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

how many periods before the treatment actually takes place that it can have an effect on outcomes

...

extra arguments

Value

pte_params object


bcallaway11/ife documentation built on March 1, 2025, 6:56 a.m.