Man pages for PanelMatch
Matching Methods for Causal Inference with Time-Series Cross-Sectional Data

build_maha_matsbuild_maha_mats Builds the matrices that we will then use to...
build_ps_databuild_ps_data
calculate_estimatescalculate_estimates
calculate_placebo_estimatescalculate_placebo_estimates
calculate_point_estimatescalculate_point_estimates Helper function that calculates the...
check_time_datacheck_time_data
clean_leadsclean_leads Function to check the lead windows in treated and...
demCountry-year level democratization data
DisplayTreatmentVisualize the treatment distribution across units and time in...
distancesGet distances See distances.matched.set method
distances.matched.setExtract the distances of matched control units
enforce_lead_restrictionsenforce_lead_restrictions check treatment and control units...
equality_fourequality_four Small helper function implementing estimation...
equality_four_placeboequality_four_placebo
expand_treated_tsexpand_treated_ts Builds a list that contains all times in a...
extractExtract matched.set objects from PanelMatch results
extract_differencesextract_differences This function calculates the differences...
extract.PanelMatchExtract matched.set objects from PanelMatch results
findBinaryTreatedfindBinaryTreated
find_psfind_ps
get_covariate_balanceCalculate covariate balance measures for refined and...
getDitsgetDits returns a vector of Dit values, as defined in the...
get.matchedsetsget.matchedsets
get_set_treatment_effectsCalculate matched set level treatment effects
get_unrefined_balanceExtract just the unrefined covariate balance results, if they...
get_unrefined_balance.PanelBalanceExtract unrefined covariate balance results, if they exist
getWitsgetWits returns a vector of Wits, as defined in the paper...
handle_bootstraphandle_bootstrap
handle_bootstrap_parallelhandle_bootstrap_parallel
handle_bootstrap_placebohandle_bootstrap_placebo
handle_bootstrap_placebo_parallelhandle_bootstrap_placebo_parallel
handle_conditional_sehandle_conditional_se Calculates conditional standard errors...
handle_mahalanobis_calculationshandle_mahalanobis_calculations Returns a matched.set object...
handle_missing_datahandle_missing_data
handle_moderating_variablehandle_moderating_variable
handle_ps_matchhandle_ps_match Returns a matched.set object with weights for...
handle_ps_weightedhandle_ps_weighted
handle_unconditional_sehandle_conditional_se Calculates conditional standard errors...
identifyDirectionalChangesidentifyDirectionalChanges Identifies changes in treatment...
lwd_refinementlwd_refinement master function that performs refinement with...
lwd_unitslwd_units helper function that actually subsets sets down to...
matched_setA constructor for the matched.set class.
merge_formulamerge_formula
PanelDataPre-process and balance panel data
PanelEstimateEstimate a causal quantity of interest
PanelMatchCreate and refine sets of matched treated and control...
PanelMatch-packageMatching Methods for Causal Inference with Time-Series...
parse_and_prepparse_and_prep
pcsPrepare Control Units pcs and pts create data frames with the...
perform_refinementperform_refinement Performs refinement of matched sets,...
perunitSumperunitSum This is a low level function that is used to...
perunitSum_DitperunitSum_Dit Similar to perunitSum, this is a low level...
placebo_testConduct a placebo test
plot_matched_setHelper function for plotting the distribution of matched set...
plot.matched.setPlot the distribution of control unit weights
plot.PanelBalancePlot covariate balance results Create figures displaying...
plot.PanelDataCreate basic plots of PanelData objects
plot.PanelEstimatePlot point estimates and standard errors from a PanelEstimate...
plot.PanelMatchPlot the distribution of the sizes of matched sets.
prepare_dataprepare_data The calculation of point estimates and standard...
print.matched.setPrint matched.set objects.
print.PanelBalancePrint basic information about PanelBalance objects
print.PanelDataPrint PanelData objects and basic metadata
print.PanelEstimatePrint point estimates and standard errors
print.PanelMatchPrint PanelMatch objects.
set_lwd_refinementset_lwd_refinement Performs the set-level operations for...
sub-.matched.setSubset matched.set object
sub-.PanelBalanceSubset PanelBalance objects
summary.matched.setSummarize information about a matched.set object and the...
summary.PanelBalanceSummarize covariate balance over time
summary.PanelDataSummarize the number of unique units and time periods in a...
summary.PanelEstimateGet summaries of PanelEstimate objects and calculations
summary.PanelMatchSummarize information about a PanelMatch object and the...
weightsGet weights of matched control units See weights.matched.set...
weights.matched.setExtract the weights of matched control units
PanelMatch documentation built on April 3, 2025, 6:34 p.m.