Skip to contents

Funtions for working with panel data

make_balanced_panel()
Balance a Panel Data Set
panel2cs()
Panel Data to Repeated Cross Sections
panel2cs2()
Panel Data to Repeated Cross Sections
ids2rownum()
Convert Vector of ids into Vector of Row Numbers
cs2panel()
Cross Section to Panel
subsample()
Subsample of Observations from Panel Data
block_boot_sample()
Block Bootstrap
multiplier_bootstrap()
multiplier_bootstrap
get_group()
get_group
get_YiGmin1()
get_YiGmin1
get_Yi1()
get_Yi1
get_Yibar()
get_Yibar
get_Yit()
get_Yit
get_first_difference()
get_first_difference
get_lagYi()
get_lagYi
get_Yibar_pre()
get_Yibar_pre
get_principal_components()
get_principal_components
orig2t()
orig2t
t2orig()
t2orig
check_staggered()
check_staggered
time_invariant_to_panel()
time_invariant_to_panel

Functions for working with distributions

make_dist()
Make a Distribution Function
combine_ecdfs()
Combine Two Distribution Functions
invert_ecdf()
Invert Ecdf
checkfun()
Check Function
weighted_checkfun()
Weighted Check Function
weighted_quantile()
weighted_quantile
weighted_mean()
Weighted Mean
weighted_ecdf()
Weighted Distribution Function

Functions for creating summary statistics

compare_binary()
Compare Variables across Groups

Functions for working with formulas

drop_cov_from_formula()
Drop a Covariate from a Formula
add_cov_to_formula()
Add a Covariate to a Formula
lhs_vars()
Left-hand Side Variables
rhs()
Right-hand Side of Formula
rhs_vars()
Right-hand Side Variables
toformula()
Variable Names to Formula

Other miscellaneous functions

get_list_element()
Return Particular Element from Each Element in a List
source_all()
source_all
TorF()
TorF
element_wise_mult()
element_wise_mult
mv_mult()
Matrix-Vector Multiplication
drop_collinear()
drop_collinear
weighted_combine_list()
weighted_combine_list

Package documentation