pt_deviation_histograms: View histograms of deviations from parallel trends in...

View source: R/plots.R

pt_deviation_histogramsR Documentation

View histograms of deviations from parallel trends in simulated data

Description

View histograms of deviations from parallel trends in simulated data

Usage

pt_deviation_histograms(df_po, Tt, k = NULL, link_fun = NULL)

Arguments

df_po

Dataset generated using generate_data(potential_outcomes=TRUE)

Tt

int. max period.

k

int. period index in conditioning event. If null, all periods are show.

link

function. Corresponds to the scale of parallel trends. Typically either I (identity-scale) or qlogis (logit-scale)


audreyrenson/didgformula documentation built on Oct. 9, 2022, 11:45 a.m.