Man pages for audreyrenson/didgformula
The difference-in-differences g-formula

append_lagsAppend n lags of a group of variables to a dataset
bootstrap_seBootstrap standard error estimates for didgformula estimators
calc_weightsCalculate inverse probability of treatment weights
calc_ydiffsCalculate Y_t - Y_t-1
combine_estimatesCombine estimates from different pipelines for comparison
densEvaluate data against the implied density from a fitted 'glm'...
estimate_bias_varianceEstimate the bias and variance of DID g-formula estimators
estimate_ci_coverageEstimate confidence interval coverage for a...
estimate_truthEstimate true values of the parameters from the simulated...
expand_formulaCreate formulas by expanding out string vector arguments
fit_outer_exp_modelFit outer moderls for ICE using 'lm'
fit_treatment_modelsFit treatment models for IPTW
fit_two_outcome_modelsFit outcome models using 'glm' at t and t-1 for ICE and...
generate_dataGenerate simulated data that meets the parallel trends...
generate_parametersPick parameter values for simulation, from a normal...
get_densfunGenerate a function that looks up a density in accordance...
get_simfunGenerate a function that simulates data in accordance with...
glue_formulaCreate formulas using 'glue' syntax
ice_pipelineIterated conditional DID g-formula estimator
ice_pipeline_longIterated conditional DID g-formula estimator
iptw_pipelineEstimate the DID g-formula using...
iptw_pipeline_longEstimate the DID g-formula using...
make_time_dummiesAdd time dummy variables to a long dataset with a numeric...
or_pipelineOutcome regression DID g-formula estimator
pipePipe operator
pred_treatment_modelsGet predictions from a list of treatment models
pt_deviation_histogramsView histograms of deviations from parallel trends in...
recursive_iceRecursively apply the ICE algorithm
recursive_ice_longRecursively apply the ICE algorithm for a long dataset
results_histogramsGet histograms of DID g-formula results
simSimulate from a fitted 'glm' object based on new data, with...
stayathome2020U.S. state-level stay-at-home and shelter-in-place orders...
audreyrenson/didgformula documentation built on Oct. 9, 2022, 11:45 a.m.